majordomus_cli/mcp/mod.rs
1//! The MCP capability: a projection of the index into resources and tools (`surface`),
2//! the JSON-RPC and MCP method handling over it (`protocol`), the one local transport
3//! (`stdio`), and the bridge that forwards a stdio session to the shared server of
4//! another process (`bridge`). Only `protocol` knows the wire shapes; only `stdio` knows
5//! about file descriptors; `surface` knows neither.
6
7pub mod bridge;
8pub(crate) mod protocol;
9pub mod stdio;
10pub mod surface;
11
12pub use protocol::{Server, METHODS, PROTOCOL_VERSIONS, SERVER_NAME, SERVER_TITLE};
13pub use surface::Surface;