rust_mcp_sdk - Rust (original) (raw)
Includes the runtimes and traits required to create a type-safe MCP client.
Includes the runtimes and traits required to create a type-safe MCP server.
Generates an enum representing a toolbox with mcp tool variants and associated functionality.
A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
Provides a dispatcher for sending MCP messages and handling responses.
Implements a standard I/O transport for MCP communication.
Configuration for the transport layer
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.
A trait for sending MCP messages.
A trait representing the transport layer for MCP.