Docs.rs
  • rust-mcp-sdk-0.5.0
    • rust-mcp-sdk 0.5.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • hashemix
    • Dependencies
      • async-trait ^0.1 normal
      • axum ^0.8 normal optional
      • axum-server ^0.7 normal optional
      • futures ^0.3 normal
      • hyper ^1.6.0 normal optional
      • rust-mcp-macros ^0.5.0 normal optional
      • rust-mcp-schema ^0.7 normal
      • rust-mcp-transport ^0.4.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • thiserror ^2.0 normal
      • tokio ^1.4 normal
      • tokio-stream ^0.1 normal optional
      • tracing ^0.1 normal
      • uuid ^1 normal optional
      • reqwest ^0.12 dev
      • tracing-subscriber ^0.3 dev
    • Versions
    • 51.61% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate rust_mcp_sdk

rust_mcp_sdk0.5.0

  • All Items

Crate Items

  • Modules
  • Macros
  • Structs
  • Enums
  • Traits
  • Type Aliases

Crates

  • rust_mcp_sdk

Crate rust_mcp_sdk

Source

Modules§

error
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§

ClientSseTransport
Client-side Server-Sent Events (SSE) transport implementation
ClientSseTransportOptions
Configuration options for the Client SSE Transport
GenericSendError
A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
GenericWatchSendError
A wrapper around a broadcast send error. This structure allows for generic error handling by boxing the underlying error into a type-erased form.
MessageDispatcher
Provides a dispatcher for sending MCP messages and handling responses.
SseTransport
StdioTransport
Implements a standard I/O transport for MCP communication.
TransportOptions
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.
TransportError

Traits§

McpClient
McpDispatch
A trait for sending MCP messages.
McpServer
Transport
A trait representing the transport layer for MCP.

Type Aliases§

SessionId
TransportResult

Results

Settings
Help
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.