Modules§
- error
- event_
store - id_
generator - macros
- mcp_
client - Includes the runtimes and traits required to create a type-safe MCP client.
- mcp_
server - Includes the runtimes and traits required to create a type-safe MCP server.
- schema
Macros§
- tool_
box - Generates an enum representing a toolbox with mcp tool variants and associated functionality.
Structs§
- Client
SseTransport - Client-side Server-Sent Events (SSE) transport implementation
- Client
SseTransport Options - Configuration options for the Client SSE Transport
- Client
Streamable Transport - Generic
Send Error - A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
- Generic
Watch Send Error - A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
- Message
Dispatcher - Provides a dispatcher for sending MCP messages and handling responses.
- Request
Options - SseTransport
- Stdio
Transport - Implements a standard I/O transport for MCP communication.
- Streamable
Transport Options - Transport
Options - Configuration for the transport layer
Enums§
- IoStream
- Enum representing a stream that can either be readable or writable. This allows the reuse of the same traits for both MCP Server and MCP Client, where the data direction is reversed.
- Transport
Error
Constants§
Traits§
- McpClient
- McpDispatch
- A trait for dispatching MCP (Message Communication Protocol) messages.
- McpServer
- Transport
- A trait representing the transport layer for the MCP (Message Communication Protocol).
- Transport
Dispatcher - A composite trait that combines both transport and dispatch capabilities for the MCP protocol.