MCP Python SDK

The official Python library for MCP servers and clients

★ Stars24.6k24,617 on GitHub
Last commit17 Oct 2026
LicenceMITSPDX, from the repository
View on GitHub ↗

From GitHub, fetched 19 Oct 2026.

Maintained by the MCP project, with a simple decorator-based server API and client support.

At a glance

Runs asLibrary
TypeAgent tooling
Maintained byOfficial
InstallPyPI: mcp

Sources: github.com/modelcontextprotocol/python-sdk, checked 19 Oct 2026. “Runs as” is from this listing. Blank means we haven't found it in official docs yet, not that it's unsupported.

In collections

Related tools

CrewAI

Agent frameworks and SDKs

Teams of role-based agents working together

Stars
★ 59.9k
Licence
MIT
Updated
  • Agent tooling
  • Official

LangGraph

Agent frameworks and SDKs

Stateful, long-running agents as graphs

Stars
★ 43.5k
Licence
MIT
Updated
  • Agent tooling
  • Official

OpenAI Agents SDK (Python)

Agent frameworks and SDKs

OpenAI's lightweight framework for multi-agent workflows

Stars
★ 30.1k
Licence
MIT
Updated
  • Agent tooling
  • Official

smolagents

Agent frameworks and SDKs

A minimal agent library where agents write code

Stars
★ 29.9k
Licence
Apache-2.0
Updated
  • Agent tooling
  • Official

Mastra

Agent frameworks and SDKs

A TypeScript framework for agents, workflows and RAG

Stars
★ 28.9k
Licence
Apache-2.0 (outside ee/)
Updated
  • Agent tooling
  • Official

FastMCP

Agent frameworks and SDKs

A high-level Python framework for MCP servers and clients

Stars
★ 28.1k
Licence
Apache-2.0
Updated
  • Agent tooling
  • Community