mcp.installer.bulk_installer¶
Bulk installer for MCP servers.
This module provides utilities to install multiple MCP servers based on various criteria like star count, category, or specific lists.
Attributes¶
Classes¶
Install multiple MCP servers systematically. |
Functions¶
|
Main entry point for bulk installer CLI. |
Module Contents¶
- class mcp.installer.bulk_installer.MCPBulkInstaller(data_path: str = 'mcp_servers_data.csv', dry_run: bool = False)¶
Install multiple MCP servers systematically.
This class provides methods to: - Install servers by star count threshold - Install servers by category - Track installation success/failure - Generate installation reports
- data_path¶
Path to the CSV file with server data
- install_log¶
List of installation attempts and results
- installed_servers¶
Set of successfully installed server names
Example
>>> installer = MCPBulkInstaller() >>> installer.install_by_stars(min_stars=1000) >>> installer.save_install_report()
- install_by_category(category: str) Dict ¶
Install all servers in a specific category.
- Parameters:
category – Category name (e.g., ‘ai_ml’, ‘database’, ‘utility’)
- Returns:
Summary dict with installation statistics
- install_by_stars(min_stars: int = 100, max_servers: int | None = None) Dict ¶
Install servers with minimum star count.
- Parameters:
min_stars – Minimum number of stars required
max_servers – Maximum number of servers to install (None for all)
- Returns:
Summary dict with installation statistics
- install_top_n(n: int = 10) Dict ¶
Install top N servers by star count.
- Parameters:
n – Number of top servers to install
- Returns:
Summary dict with installation statistics
- save_install_report(filename: str = None)¶
Save detailed installation report.
- Parameters:
filename – Output filename (defaults to timestamp)
- show_summary()¶
Display installation summary in console.
- data_path¶
- dry_run = False¶
- install_log: List[Dict] = []¶
- mcp.installer.bulk_installer.main()¶
Main entry point for bulk installer CLI.
- mcp.installer.bulk_installer.console¶
- mcp.installer.bulk_installer.logger¶