Skip to main content

mermaid_cli/mcp/
mod.rs

1/// MCP (Model Context Protocol) client integration — Gateway
2///
3/// Connects to external MCP servers and exposes their tools to the model.
4/// Servers are configured in config.toml and spawned as child processes.
5pub mod add;
6mod client;
7pub mod manager_ref;
8mod registry;
9mod server_manager;
10mod transport;
11
12pub use add::{add_server, remove_server};
13pub use client::{ContentBlock, McpClient, McpToolDef, McpToolResult};
14pub use server_manager::McpServerManager;