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 tool_handler::GateId;pub use tool_handler::ToolError;pub use tool_handler::ToolHandler;
Modules§
- serve
- Stdio JSON-RPC 2.0 loop for
cortex serve. - 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.