mcp.integration.integrated_mcp_system ===================================== .. py:module:: mcp.integration.integrated_mcp_system .. autoapi-nested-parse:: Integrated MCP Discovery & Management System. A complete end-to-end solution that combines: 1. MCP server discovery with enhanced RAG search 2. One-click installation from discovery results 3. FastMCP server management (like Claude's 'claude mcp add') 4. Live server monitoring and access This creates a seamless workflow from discovery to deployment. Attributes ---------- .. autoapisummary:: mcp.integration.integrated_mcp_system.logger Classes ------- .. autoapisummary:: mcp.integration.integrated_mcp_system.IntegratedMCPSystem mcp.integration.integrated_mcp_system.MCPServerInstaller mcp.integration.integrated_mcp_system.ServerInstallation Functions --------- .. autoapisummary:: mcp.integration.integrated_mcp_system.create_web_interface mcp.integration.integrated_mcp_system.show_analytics_tab mcp.integration.integrated_mcp_system.show_discovery_tab mcp.integration.integrated_mcp_system.show_installed_tab mcp.integration.integrated_mcp_system.show_running_tab Module Contents --------------- .. py:class:: IntegratedMCPSystem Main integrated system combining discovery and management. .. py:method:: get_fastmcp_servers() -> dict[str, Any] Get all FastMCP managed servers. .. py:method:: install_and_configure(server_name: str) -> ServerInstallation :async: Install a server and configure it in FastMCP. .. py:method:: search_servers(query: str, method: str = 'auto') -> dict[str, Any] :async: Search for MCP servers. .. py:method:: start_server(server_name: str) -> dict[str, Any] :async: Start a FastMCP server. .. py:method:: stop_server(server_name: str, pid: int) -> dict[str, Any] :async: Stop a running server. .. py:attribute:: discovery_agent .. py:attribute:: fastmcp_manager :value: None .. py:attribute:: installer .. py:attribute:: servers_data .. py:class:: MCPServerInstaller(manager_config_path: pathlib.Path | None = None) Handles server installation and setup. .. py:method:: add_to_fastmcp_manager(server_data: dict[str, Any], pkg_manager: str) :async: Add installed server to FastMCP manager configuration. .. py:method:: detect_package_manager(server_data: dict[str, Any]) -> tuple[str, str] :async: Detect appropriate package manager and command. .. py:method:: install_server(server_data: dict[str, Any]) -> ServerInstallation :async: Install an MCP server. .. py:attribute:: installations :type: dict[str, ServerInstallation] .. py:attribute:: manager_config_path .. py:class:: ServerInstallation Track server installation status. .. py:attribute:: install_command :type: str | None :value: None .. py:attribute:: installed_at :type: str | None :value: None .. py:attribute:: message :type: str .. py:attribute:: pid :type: int | None :value: None .. py:attribute:: server_name :type: str .. py:attribute:: status :type: str .. py:function:: create_web_interface() Create the integrated web interface. .. py:function:: show_analytics_tab(system) Show analytics and statistics. .. py:function:: show_discovery_tab(system) Discovery and installation tab. .. py:function:: show_installed_tab(system) Show installed servers. .. py:function:: show_running_tab(system) Show running servers. .. py:data:: logger