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 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
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.