← all repositories

modelcontextprotocol/python-sdk

Official Python SDK enabling AI models to connect to servers, tools, resources, and prompts via the Model Context Protocol.

23.3k stars Python Coding AssistantsAgents
python-sdk
Velocity · 7d
+37
★ / day
Trend
steady
star history

The MCP Python SDK provides a complete implementation for building MCP-compatible servers and clients. It lets developers expose tools, resources, prompts, and sampling capabilities that AI assistants like Claude can invoke. The SDK supports both traditional server patterns and the FastMCP rapid-development framework, handling protocol communication, authentication, and structured outputs for agent tool-calling workflows.

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