Module mcp_manager

Module mcp_manager 

Source
Expand description

MCP Manager — Search, evaluate, install, and manage MCP servers

Queries the official MCP registry at https://registry.modelcontextprotocol.io/v0/servers to discover servers by keyword, evaluate them in detail, and install them into the local .mcp.json configuration (Claude Desktop / Gestura compatible format).

No dependency on gestura-core-mcp is introduced here (circular-dep prevention). Config types are defined locally and serialize to the same .mcp.json wire format.

Structs§

McpConfigEntry
A single server entry in .mcp.json.
McpJsonConfig
Root structure of a .mcp.json file.
McpManagerOutput
Unified output for all mcp_manager operations. The workflow_guidance and next_steps fields carry LLM-facing prompts that guide the agent through multi-step MCP discovery and install workflows.
RegistryEnvVar
RegistryPackage
RegistryPackageArg
RegistryRemote
RegistryRepository
RegistryServer
A server record from the registry.
RegistryTransport

Functions§

disable
Set a server’s enabled flag to false in .mcp.json.
enable
Set a server’s enabled flag to true in .mcp.json.
evaluate
Fetch detailed information about a single registry server and generate a concrete install recommendation for the agent to present to the user.
handle
Entry point called by the pipeline tool executor.
info
Detailed info — alias for evaluate with extra raw JSON.
install
Install a server into .mcp.json by looking it up in the registry and deriving the best config entry automatically.
list
List all servers configured in .mcp.json for the given scope.
remove
Remove a server entry from .mcp.json.
search
Search the MCP registry by keyword.