Skip to main content

Module server

Module server 

Source
Expand description

stdio transport setup, tool-registry wiring, and lifecycle for the MCP server. This module only wires things together (design D2): it owns no tool logic (that lives in crate::mcp::tools) and no data reads (those live in crate::mcp::query).

Structs§

GitPawMcpServer
The MCP server handler. Holds the resolved RepoContext (shared read-only by every tool) and the merged tool router.

Functions§

run
Runs the stdio MCP server until the client closes stdin.