crtx-mcp 0.1.1

MCP stdio JSON-RPC 2.0 server for Cortex — tool dispatch, ToolHandler trait, gate wiring (ADR 0045).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `cortex-mcp` — MCP stdio JSON-RPC 2.0 server for Cortex.
//!
//! - [`serve`] — the main stdio JSON-RPC 2.0 loop.
//! - [`tool_handler`] — the [`ToolHandler`] trait, [`GateId`], [`ToolError`].
//! - [`tool_registry`] — gate-wiring assertion + method dispatch.
//! - [`tools`] — concrete tool implementations.

#![deny(unsafe_code, missing_debug_implementations)]
#![warn(missing_docs)]

pub mod serve;
pub mod tool_handler;
pub mod tool_registry;
/// Concrete tool implementations (one module per tool).
pub mod tools;

pub use tool_handler::{GateId, ToolError, ToolHandler};