Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3.8k
Star
24.1k
Code
Issues
205
Pull requests
193
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Branch selector
experimental-server-card
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 3, 2026
Replace well-known server card discovery with AI Catalog discovery
Show description for dc49dd7
dsp-ant
committed
dc49dd7
View commit details
Copy full SHA for dc49dd7
Browse repository at this point
Commits on May 26, 2026
Add experimental Server Cards support (SEP-2127)
Show description for a8426fc
dsp-ant
committed
a8426fc
View commit details
Copy full SHA for a8426fc
Browse repository at this point
Add subject and claims to AccessToken (#2686)
maxisbey
authored
3eb5799
View commit details
Copy full SHA for 3eb5799
Browse repository at this point
Commits on May 20, 2026
ci: add zizmor for GitHub Actions security analysis (#2648)
Kludex
authored
e8e6484
View commit details
Copy full SHA for e8e6484
Browse repository at this point
Commits on May 18, 2026
ci: deploy docs to py.sdk.modelcontextprotocol.io via Pages artifact (v1 at /, v2 at /v2/) (#2634)
maxisbey
authored
f475344
View commit details
Copy full SHA for f475344
Browse repository at this point
Commits on May 8, 2026
refactor: import SSEError from httpx_sse public API (#2560)
maxisbey
authored
161834d
View commit details
Copy full SHA for 161834d
Browse repository at this point
fix: chain exceptions in get_prompt and read_resource handlers (#2542)
blackwell-systems
authored
bf3e001
View commit details
Copy full SHA for bf3e001
Browse repository at this point
Commits on May 7, 2026
build: pin PEP 517 build dependencies (#2547)
maxisbey
authored
2b0da56
View commit details
Copy full SHA for 2b0da56
Browse repository at this point
Commits on Apr 14, 2026
fix: align Context logging methods with MCP spec data type (#2366)
Show description for 3d7b311
3 people
authored
3d7b311
View commit details
Copy full SHA for 3d7b311
Browse repository at this point
SEP-2207: Refresh token guidance (#2039)
wdawson
authored
437d15a
View commit details
Copy full SHA for 437d15a
Browse repository at this point
Commits on Apr 13, 2026
fix: catch PydanticUserError when generating output schema (pydantic 2.13 compat) (#2434)
maxisbey
authored
5cbd259
View commit details
Copy full SHA for 5cbd259
Browse repository at this point
fix(auth): coerce empty-string optional URL fields to None in OAuthClientMetadata (#2404)
felixweinberger
authored
2dfb51a
View commit details
Copy full SHA for 2dfb51a
Browse repository at this point
docs: modernize development guidelines and rename to AGENTS.md (#2413)
maxisbey
authored
941089e
View commit details
Copy full SHA for 941089e
Browse repository at this point
Commits on Apr 12, 2026
chore(deps): bump cryptography from 46.0.5 to 46.0.7 in the uv group across 1 directory (#2406)
Show description for 8f806da
dependabot[bot]
authored
8f806da
View commit details
Copy full SHA for 8f806da
Browse repository at this point
Add `resources` parameter to `MCPServer` (#2414)
Show description for c5f12ec
mplemay
and
Kludex
authored
c5f12ec
View commit details
Copy full SHA for c5f12ec
Browse repository at this point
Commits on Apr 9, 2026
docs: fill migration guide gaps surfaced by automated upgrade eval (#2412)
maxisbey
authored
f27d2aa
View commit details
Copy full SHA for f27d2aa
Browse repository at this point
Commits on Apr 8, 2026
Use shared `is_async_callable` instead of `inspect.iscoroutinefunction` (#2389)
Kludex
authored
cf4e435
View commit details
Copy full SHA for cf4e435
Browse repository at this point
Commits on Mar 31, 2026
chore(deps): bump requests from 2.32.5 to 2.33.0 in the uv group across 1 directory (#2350)
Show description for d5b9155
dependabot[bot]
authored
d5b9155
View commit details
Copy full SHA for d5b9155
Browse repository at this point
Add basic OpenTelemetry tracing for client and server requests (#2381)
Kludex
authored
37891f4
View commit details
Copy full SHA for 37891f4
Browse repository at this point
Don't block the event loop on sync resource and prompt functions (#2380)
maxisbey
authored
3ce0f76
View commit details
Copy full SHA for 3ce0f76
Browse repository at this point
Propagate contextvars.Context through anyio streams without modifying SessionMessage (#2298)
Kludex
authored
e6235d1
View commit details
Copy full SHA for e6235d1
Browse repository at this point
Commits on Mar 27, 2026
ci: remove claude-code-review workflow (#2359)
maxisbey
authored
fb2276b
View commit details
Copy full SHA for fb2276b
Browse repository at this point
feat(server): restore `dependencies` parameter on MCPServer (#2358)
maxisbey
authored
3517a29
View commit details
Copy full SHA for 3517a29
Browse repository at this point
Commits on Mar 25, 2026
Restrict httpx version to <1.0.0 (#2345)
Show description for 98f8ef2
Kludex
and
maxisbey
authored
98f8ef2
View commit details
Copy full SHA for 98f8ef2
Browse repository at this point
Commits on Mar 24, 2026
ci: skip claude.yml when comment is '@claude review' (#2337)
felixweinberger
authored
7ba4fb8
View commit details
Copy full SHA for 7ba4fb8
Browse repository at this point
Commits on Mar 20, 2026
fix: cancel in-flight handlers when transport closes in server.run() (#2306)
maxisbey
authored
92c693b
View commit details
Copy full SHA for 92c693b
Browse repository at this point
Commits on Mar 19, 2026
test: rewrite cli.claude config tests to assert JSON output directly (#2311)
Show description for 883d893
3 people
authored
883d893
View commit details
Copy full SHA for 883d893
Browse repository at this point
Commits on Mar 18, 2026
docs: generate hierarchical per-module API reference pages (#2103)
jonathanhefner
authored
5388bea
View commit details
Copy full SHA for 5388bea
Browse repository at this point
feat(client): store InitializeResult as initialize_result (#2300)
maxisbey
authored
20dd946
View commit details
Copy full SHA for 20dd946
Browse repository at this point
test: fix WS test port race; narrow to single smoke test covering both transport ends (#2267)
maxisbey
authored
67201a9
View commit details
Copy full SHA for 67201a9
Browse repository at this point
test: convert test_integration.py to in-memory transport (fix flaky) (#2277)
maxisbey
authored
7826ade
View commit details
Copy full SHA for 7826ade
Browse repository at this point
Commits on Mar 17, 2026
ci: run strict-no-cover in scripts/test to catch stale pragmas locally (#2305)
maxisbey
authored
ff50351
View commit details
Copy full SHA for ff50351
Browse repository at this point
fix: handle non-UTF-8 bytes in stdio server stdin (#2302)
maxisbey
authored
1a2244f
View commit details
Copy full SHA for 1a2244f
Browse repository at this point
Commits on Mar 16, 2026
refactor: connect-first stream lifecycle for sse and streamable_http (#2292)
Show description for 75a80b6
maxisbey
and
Kludex
authored
75a80b6
View commit details
Copy full SHA for 75a80b6
Browse repository at this point
refactor(examples): migrate all HTTP examples to streamable_http_app() (#2291)
maxisbey
authored
abfb482
View commit details
Copy full SHA for abfb482
Browse repository at this point
Previous
Next
You can’t perform that action at this time.