mcp.cli.mcp_manager =================== .. py:module:: mcp.cli.mcp_manager .. autoapi-nested-parse:: Comprehensive MCP Server Manager. This script provides a complete management interface for MCP servers including: - Discovery from multiple sources - Installation using various methods - Configuration management - Health monitoring - Updates and maintenance Usage: python mcp_manager.py discover --auto-install python mcp_manager.py install --servers filesystem github postgres python mcp_manager.py install --categories official core python mcp_manager.py list --status all python mcp_manager.py health-check python mcp_manager.py update --all Attributes ---------- .. autoapisummary:: mcp.cli.mcp_manager.logger Classes ------- .. autoapisummary:: mcp.cli.mcp_manager.MCPServerManager Functions --------- .. autoapisummary:: mcp.cli.mcp_manager.cli mcp.cli.mcp_manager.config mcp.cli.mcp_manager.discover mcp.cli.mcp_manager.health_check mcp.cli.mcp_manager.install mcp.cli.mcp_manager.list_servers mcp.cli.mcp_manager.update Module Contents --------------- .. py:class:: MCPServerManager(config_file: str | None = None, install_dir: str | None = None) Comprehensive MCP Server Manager. .. py:method:: discover_all_sources(auto_install: bool = False, limit: int | None = None) -> dict :async: Discover MCP servers from all configured sources. .. py:method:: health_check(server_names: list[str] | None = None) -> dict :async: Perform health checks on servers. .. py:method:: install_discovered_servers(servers: list[dict]) -> dict :async: Install servers from discovery results. .. py:method:: install_servers(server_names: list[str] | None = None, categories: list[str] | None = None) -> dict :async: Install specific servers or categories. .. py:method:: list_servers(status_filter: str = 'all') -> dict :async: List servers with their status. .. py:method:: update_servers(server_names: list[str] | None = None, force: bool = False) -> dict :async: Update servers to latest versions. .. py:attribute:: downloader .. py:attribute:: install_dir .. py:attribute:: status_file .. py:function:: cli(ctx, config, install_dir) MCP Server Manager - Comprehensive management for Model Context Protocol servers. .. py:function:: config(ctx) Show current configuration. .. py:function:: discover(ctx, auto_install, limit) Discover MCP servers from all configured sources. .. py:function:: health_check(ctx, servers) Perform health checks on MCP servers. .. py:function:: install(ctx, servers, categories, install_all) Install MCP servers. .. py:function:: list_servers(ctx, status, output_format) List MCP servers and their status. .. py:function:: update(ctx, servers, update_all, force) Update MCP servers to latest versions. .. py:data:: logger