mcp.integration.integrated_mcp_systemΒΆ

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ΒΆ

ClassesΒΆ

IntegratedMCPSystem

Main integrated system combining discovery and management.

MCPServerInstaller

Handles server installation and setup.

ServerInstallation

Track server installation status.

FunctionsΒΆ

create_web_interface()

Create the integrated web interface.

show_analytics_tab(system)

Show analytics and statistics.

show_discovery_tab(system)

Discovery and installation tab.

show_installed_tab(system)

Show installed servers.

show_running_tab(system)

Show running servers.

Module ContentsΒΆ

class mcp.integration.integrated_mcp_system.IntegratedMCPSystemΒΆ

Main integrated system combining discovery and management.

get_fastmcp_servers() dict[str, Any]ΒΆ

Get all FastMCP managed servers.

async install_and_configure(server_name: str) ServerInstallationΒΆ

Install a server and configure it in FastMCP.

async search_servers(query: str, method: str = 'auto') dict[str, Any]ΒΆ

Search for MCP servers.

async start_server(server_name: str) dict[str, Any]ΒΆ

Start a FastMCP server.

async stop_server(server_name: str, pid: int) dict[str, Any]ΒΆ

Stop a running server.

discovery_agentΒΆ
fastmcp_manager = NoneΒΆ
installerΒΆ
servers_dataΒΆ
class mcp.integration.integrated_mcp_system.MCPServerInstaller(manager_config_path: pathlib.Path | None = None)ΒΆ

Handles server installation and setup.

async add_to_fastmcp_manager(server_data: dict[str, Any], pkg_manager: str)ΒΆ

Add installed server to FastMCP manager configuration.

async detect_package_manager(server_data: dict[str, Any]) tuple[str, str]ΒΆ

Detect appropriate package manager and command.

async install_server(server_data: dict[str, Any]) ServerInstallationΒΆ

Install an MCP server.

installations: dict[str, ServerInstallation]ΒΆ
manager_config_pathΒΆ
class mcp.integration.integrated_mcp_system.ServerInstallationΒΆ

Track server installation status.

install_command: str | None = NoneΒΆ
installed_at: str | None = NoneΒΆ
message: strΒΆ
pid: int | None = NoneΒΆ
server_name: strΒΆ
status: strΒΆ
mcp.integration.integrated_mcp_system.create_web_interface()ΒΆ

Create the integrated web interface.

mcp.integration.integrated_mcp_system.show_analytics_tab(system)ΒΆ

Show analytics and statistics.

mcp.integration.integrated_mcp_system.show_discovery_tab(system)ΒΆ

Discovery and installation tab.

mcp.integration.integrated_mcp_system.show_installed_tab(system)ΒΆ

Show installed servers.

mcp.integration.integrated_mcp_system.show_running_tab(system)ΒΆ

Show running servers.

mcp.integration.integrated_mcp_system.loggerΒΆ