Skip to main content

Module mcp

Module mcp 

Source

Re-exports§

pub use add::add_server;
pub use add::remove_server;

Modules§

add
MCP (Model Context Protocol) client integration — Gateway
manager_ref
Process-global handle to the McpServerManager.

Structs§

McpClient
MCP protocol client for a single server connection.
McpServerManager
Manages multiple MCP server connections.
McpToolDef
A tool definition discovered from an MCP server
McpToolResult
Result of calling an MCP tool

Enums§

ContentBlock
A content block in an MCP tool result. Per the 2025-11-25 spec, servers may return text, image, audio, resource_link (URI reference), or embedded resource content. Older servers only emit text/image.