python-sdk
Python SDK for building MCP servers and clients. It helps apps expose tools and resources to LLM systems through a standard protocol.
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
- 24k
- Category
- AI agents and LLM tools
- Language
- Python
- License
- MIT
- Forked
- 2026-10-03
- Sync status
- In syncLast synced 2026-10-10
More in AI agents and LLM tools
An open-source curriculum for learning AI engineering by implementing model internals, retrieval pipelines, and agent runtimes. Study through lessons, interactive labs, or staged coding projects, and inspect the code and evaluation results.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
A small, hackable character-level language model that learns patterns from line-based text files and generates similar items, such as name ideas.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
uzu is an inference engine for running AI models in apps, helping developers keep inference on-device instead of relying on remote services. Use it to download a model and build chat features.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
Anti Slop gives AI coding agents rules to avoid generic UI, filler text, and AI-shaped code. Use it as a filter alongside your own design direction.
Forked 2026-10-08Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub