python-sdk
Python SDK for building MCP servers and clients. It helps apps expose tools and resources to LLM systems through a standard protocol.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: MIT
Overview
This project is the official Python SDK for Model Context Protocol (MCP). It gives developers a standard way to build MCP servers that expose tools, resources, and prompts, and MCP clients that connect to those services. The SDK supports stdio, Streamable HTTP, and SSE transports, and is designed for Python 3.10+ projects that need to integrate LLM applications with external data and functionality in a consistent way.
Key features
- Build MCP servers that expose tools, resources, and prompts
- Build MCP clients that connect to MCP servers
- Use stdio, Streamable HTTP, and SSE transports
- Work with Python 3.10+ and the mcp CLI for local development
Best for
Developers building Python integrations for LLM applications and MCP-compatible services. It is a fit when you need a standard server/client setup without writing protocol handling yourself.
- Upstream
- modelcontextprotocol/python-sdk
- Fork on GitHub
- Guo-astro/python-sdk
- Upstream stars
- 25k
- Category
- AI agents and LLM tools
- Language
- Python
- License
- MIT
- Forked
- 2026-10-03
- Sync status
- In syncLast synced 2026-11-08
More in AI agents and LLM tools
/last30days is an AI-agent skill for researching recent discussions across social platforms, video, news, markets, and the web. It brings scattered signals together in a synthesized brief for trend research and preparation.
Forked 2026-10-22Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
A portable C99 inference engine for running Kimi K3 on a CPU without a GPU or machine-learning framework. It streams the large checkpoint from disk to support inference with limited RAM, for batch text generation or text chat.
Forked 2026-10-21Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub
LayerFS gives AI agents writable workspaces over shared history, so they can work in parallel without copying the base. Use it to checkpoint, branch, rewind, and merge agent changes.
Forked 2026-10-21Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
Magnitude runs open models locally and tunes kernels for your hardware. Use it to connect local models to supported agents or an OpenAI-compatible client.
Forked 2026-10-19Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub