← all repositories

modelcontextprotocol/rust-sdk

A Rust SDK for building servers and clients that implement the Model Context Protocol for AI tool and resource access.

3.5k stars Rust Coding AssistantsAgents
rust-sdk
Velocity · 7d
+7.4
★ / day
Trend
steady
star history

This is the official Rust implementation of the Model Context Protocol (MCP), providing async runtime support via tokio. It includes a core protocol crate and a procedural macro crate for generating tool implementations. MCP is the protocol that enables AI models and agents to discover and invoke tools, access resources, handle prompts, manage sampling, and coordinate long-running tasks. The SDK is intended for developers building MCP-compatible servers that expose tools and capabilities to AI clients.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.