haive.mcp.discovery.installed_servers¶
Discover and manage installed MCP servers.
This module provides utilities to find, check, and manage MCP servers that are already installed on the system.
Classes¶
Discover installed MCP servers on the system. |
Functions¶
|
Main entry point for CLI usage. |
Module Contents¶
- class haive.mcp.discovery.installed_servers.MCPServerDiscovery[source]¶
Discover installed MCP servers on the system.
This class provides methods to: - Find npm-installed MCP servers - Check Python-based MCP servers - Locate configuration files - Verify server functionality
Example
>>> discovery = MCPServerDiscovery() >>> installed = discovery.find_all_installed() >>> print(f"Found {len(installed)} installed servers")
Initialize the discovery system.
- export_installed_list(filename='installed_mcp_servers.json')[source]¶
Export list of installed servers to file.
- Parameters:
filename (str) – Output filename
- find_all_installed()[source]¶
Find all installed MCP servers.
- Returns:
List of dicts with server information
- Return type:
List[Dict]
- find_config_servers()[source]¶
Find servers from configuration files.
- Returns:
List of configured servers with metadata
- Return type:
List[Dict]
- find_npm_servers()[source]¶
Find npm-installed MCP servers.
- Returns:
List of npm MCP servers with metadata
- Return type:
List[Dict]