Expand description
Model Context Protocol server interface.
Provides a synchronous JSON-RPC 2.0 server implementation for the Model Context Protocol (MCP). Exposes code graph operations as tools, resources, and prompts.
Re-exports§
pub use protocol::parse_request;pub use protocol::JsonRpcError;pub use protocol::JsonRpcRequest;pub use protocol::JsonRpcResponse;pub use server::McpServer;
Modules§
- protocol
- JSON-RPC 2.0 protocol types for the MCP server.
- server
- MCP server implementation.
- sse
- SSE transport — HTTP server with auth, multi-tenant routing, and /health.
- tenant
- Multi-tenant session registry — lazy-loads per-user graph files.
Functions§
- serve_
stdio - Run the MCP server on stdin/stdout.