Skip to content
Project

MCP Python SDK

Official Python SDK for MCP servers and clients.

Stars
25k
Forks
4.2k
Open issues
431
Latest release
v2.3.0
License
MIT
Language
Python
Stars
latest
25k▲ 95
Forks
latest
4.2k▲ 46
Open issues + PRs
latest
431▲ 26
Merged PRs (30d)
latest
3
PR authors (90d)
latest
2
Releases (365d)
latest
9

Daily snapshots since metrics history started (8 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
5 good first issue, 1 help wanted
Merged PRs (30d)
3
Release cadence
9 in 365 daysmedian 0.8 days apart

GitHub community profile 87% · code of conduct. Maintainer response time is not collected yet.

Top ranked issues

Good first issueMCP Python SDK#22667

Improving how function docstring gets converted to tool's jsonschema for FastMCP

Is your feature request related to a problem? Please describe. Tool descriptions are not parsed as expected from the function docstring when using FastMCP. This affects tool calling performance. Currently, FastMCP does some function inspection to create the docstring here: -…

good first issue16 reactions

Demand: 16 reactions, 14 comments · Maintainer engagement: 3 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue; long discussion · Freshness: updated 17 days ago

Good first issueMCP Python SDK#133564

Using /.well-known/ OAuth endpoints behind custom path on GKE

Question I am running a simple MCP server (built with FastMCP) behind a gateway on GKE with an custom path defined by an HttpRoute. I am attempting to use the /.well-known/ endpoints for OAuth authentication and authorization. Unfortunately, it seems that the routes for the…

good first issue

Demand: 0 reactions, 5 comments · Maintainer engagement: 3 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 2 days ago

Good first issueMCP Python SDK#140162

ClientSession Error Handling

Question I work on the Strands SDK, and we have an integration with MCP where we invoke tools through an MCP client. Our design spins up a thread, creates an asyncio event loop, and schedules a task to create a session with an MCP server using the python-sdk mcp ClientSession:…

good first issue7 reactions

Demand: 7 reactions, 24 comments · Maintainer engagement: 3 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue; long discussion · Freshness: updated 23 days ago

Good first issueMCP Python SDK#15660

support logging to stderr in Jupyter Notebook Environments.

Is your feature request related to a problem? Please describe. I want to make mcp python-sdk jupyter notebook compatible. When running in a notebook environment, MCP work but do not output stderr as it does normally. For instance in jupyter notebook: python import mcp import os…

good first issue

Demand: 0 reactions, 16 comments · Maintainer engagement: 3 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue; long discussion · Freshness: updated 8 days ago

Good first issueMCP Python SDK#193358

Using transport="stdio" closes real stdio, causing ValueError after server exits

Initial Checks - [x] I confirm that I'm using the latest version of MCP Python SDK - [x] I confirm that I searched for my issue in before opening this issue Description Hi! I ran into an issue where running the server with transport="stdio" causes subsequent stdio operations to…

good first issue

Demand: 0 reactions, 11 comments · Maintainer engagement: 3 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue; long discussion · Freshness: updated 16 days ago

Opportunities

3 concerning this

Signals · 3open tab →

Recurring pain

“silently drops” in open issues of 34 projects

34 projects61 open issues
Recurring pain

“hangs forever” in open issues of 13 projects

13 projects24 open issues
Recurring pain

“nan inf” in open issues of 9 projects

9 projects10 open issues

Top contributors

14

Releases & tracking issues

10