Expand description
cortex-mcp — MCP stdio JSON-RPC 2.0 server for Cortex.
serve— the main stdio JSON-RPC 2.0 loop.tool_handler— theToolHandlertrait,GateId,ToolError.tool_registry— gate-wiring assertion + method dispatch.tools— concrete tool implementations.
Re-exports§
pub use server::serve_stdio;pub use server::CortexServer;pub use tool_handler::GateId;pub use tool_handler::ToolError;pub use tool_handler::ToolHandler;
Modules§
- serve
- Stdio JSON-RPC 2.0 loop for
cortex serve. - server
CortexServer— thermcp1.7ServerHandlerthat exposes Cortex’s tool surface over a spec-compliant MCP 2025-06-18 stdio transport.- tool_
handler ToolHandlertrait and associated types for MCP tool dispatch.- tool_
registry ToolRegistry— owns the list of registeredToolHandlers and dispatches incoming JSON-RPC method calls to the correct handler.- tools
- Concrete tool implementations (one module per tool). MCP tool handler implementations.