Skip to main content

Crate cortex_mcp

Crate cortex_mcp 

Source
Expand description

cortex-mcp — MCP stdio JSON-RPC 2.0 server for Cortex.

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 — the rmcp 1.7 ServerHandler that exposes Cortex’s tool surface over a spec-compliant MCP 2025-06-18 stdio transport.
tool_handler
ToolHandler trait and associated types for MCP tool dispatch.
tool_registry
ToolRegistry — owns the list of registered ToolHandlers and dispatches incoming JSON-RPC method calls to the correct handler.
tools
Concrete tool implementations (one module per tool). MCP tool handler implementations.