rust-mcp-sdk 0.9.0

An asynchronous SDK and framework for building MCP-Servers and MCP-Clients, leveraging the rust-mcp-schema for type safe MCP Schema Objects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use async_trait::async_trait;
use rust_mcp_sdk::mcp_client::ClientHandler;

pub struct ExampleClientHandler;

#[async_trait]
impl ClientHandler for ExampleClientHandler {
    // To check out a list of all the methods in the trait that you can override, take a look at
    // https://github.com/rust-mcp-stack/rust-mcp-sdk/blob/main/crates/rust-mcp-sdk/src/mcp_handlers/mcp_client_handler.rs
    //
}