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
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 }}
modelcontextprotocol
/
python-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
4k
Star
24.5k
Code
Issues
250
Pull requests
106
Actions
Projects
Security and quality
11
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
python-sdk
src
on
refs/heads/main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 2, 2026
Stop counting an interactive OAuth login against request timeouts (#3635)
maxisbey
authored
ed9b2d6
View commit details
Copy full SHA for ed9b2d6
View code at this point
Browse repository at this point
Look the tool schema up by name for Mcp-Param-* validation instead of running tools/list (#3630)
maxisbey
authored
c54075c
View commit details
Copy full SHA for c54075c
View code at this point
Browse repository at this point
Retry a tool call once after a HeaderMismatch rejection (#3627)
maxisbey
authored
9afccae
View commit details
Copy full SHA for 9afccae
View code at this point
Browse repository at this point
Record JSON-RPC error responses on the client OpenTelemetry span (#3629)
maxisbey
authored
cafa33b
View commit details
Copy full SHA for cafa33b
View code at this point
Browse repository at this point
Omit an empty _meta and empty params from outbound requests (#3628)
maxisbey
authored
0b2fd3e
View commit details
Copy full SHA for 0b2fd3e
View code at this point
Browse repository at this point
Let MCPServer opt out of serving subscriptions/listen (#3626)
maxisbey
authored
6513955
View commit details
Copy full SHA for 6513955
View code at this point
Browse repository at this point
Describe the ID-JAG confidential-client rule as SDK policy, not a SEP-990 requirement (#3622)
maxisbey
authored
19e4f2a
View commit details
Copy full SHA for 19e4f2a
View code at this point
Browse repository at this point
Keep the live Context when a prompt or template annotates Context[T] (#3624)
maxisbey
authored
afa7edc
View commit details
Copy full SHA for afa7edc
View code at this point
Browse repository at this point
Contain a raising progress callback on the in-process dispatcher (#3623)
maxisbey
authored
889a863
View commit details
Copy full SHA for 889a863
View code at this point
Browse repository at this point
Validate an explicit null structuredContent against the output schema (#3621)
maxisbey
authored
0809579
View commit details
Copy full SHA for 0809579
View code at this point
Browse repository at this point
Reject a tool with an invalid x-mcp-header annotation at registration (#3620)
maxisbey
authored
3d0c40d
View commit details
Copy full SHA for 3d0c40d
View code at this point
Browse repository at this point
Document when a caller-supplied request id can be minted again (#3619)
maxisbey
authored
c8fcfc8
View commit details
Copy full SHA for c8fcfc8
View code at this point
Browse repository at this point
Omit an unset experimental capability from the initialize result (#3614)
maxisbey
authored
449070c
View commit details
Copy full SHA for 449070c
View code at this point
Browse repository at this point
Commits on Oct 1, 2026
Expose an SSE event size limit in Streamable HTTP clients (#3600)
Kludex
authored
7fdc944
View commit details
Copy full SHA for 7fdc944
View code at this point
Browse repository at this point
Bump anyio from 4.10.0 to 4.14.2 (#3547)
Show description for 6a0fe02
dependabot[bot]
and
Kludex
authored
6a0fe02
View commit details
Copy full SHA for 6a0fe02
View code at this point
Browse repository at this point
Commits on Sep 16, 2026
Detect event-loop blocking in tests (#3510)
Kludex
authored
6affe5c
View commit details
Copy full SHA for 6affe5c
View code at this point
Browse repository at this point
Commits on Sep 7, 2026
Replace RootModel wrappers with type aliases and TypeAdapter validation (#3470)
Kludex
authored
9972c21
View commit details
Copy full SHA for 9972c21
View code at this point
Browse repository at this point
Commits on Sep 5, 2026
docs: stop presenting the in-memory client as the way to connect (#3443)
maxisbey
authored
7bb486a
View commit details
Copy full SHA for 7bb486a
View code at this point
Browse repository at this point
Add AuthSettings.validate_token_resource to check a bearer token's resource (#3447)
maxisbey
authored
0c91368
View commit details
Copy full SHA for 0c91368
View code at this point
Browse repository at this point
Keep following a relative redirect when the endpoint URL carries userinfo (#3450)
maxisbey
authored
9771e6b
View commit details
Copy full SHA for 9771e6b
View code at this point
Browse repository at this point
Commits on Sep 4, 2026
Follow redirects only within the MCP endpoint's origin (#3397)
maxisbey
authored
c6762e8
View commit details
Copy full SHA for c6762e8
View code at this point
Browse repository at this point
Deprecate constructing the pre-provisioned OAuth clients without an issuer (#3435)
maxisbey
authored
979208c
View commit details
Copy full SHA for 979208c
View code at this point
Browse repository at this point
Commits on Sep 2, 2026
Validate the authorization server metadata issuer on every discovery path (#3398)
maxisbey
authored
d060b36
View commit details
Copy full SHA for d060b36
View code at this point
Browse repository at this point
Commits on Aug 28, 2026
Expire idle Streamable HTTP sessions by default and cap concurrent sessions (#3395)
maxisbey
authored
d2290ca
View commit details
Copy full SHA for d2290ca
View code at this point
Browse repository at this point
Commits on Aug 26, 2026
Resolve tool output-schema references within the schema document only (#3394)
maxisbey
authored
6705402
View commit details
Copy full SHA for 6705402
View code at this point
Browse repository at this point
Commits on Aug 25, 2026
Point imports of mcp.server.fastmcp at the migration guide (#3388)
maxisbey
authored
0921d94
View commit details
Copy full SHA for 0921d94
View code at this point
Browse repository at this point
Commits on Aug 24, 2026
Give recursive tool return types an object-rooted output schema (#3376)
maxisbey
authored
d8b6383
View commit details
Copy full SHA for d8b6383
View code at this point
Browse repository at this point
Log MCPServer handler exceptions by kind and keep crash details off the wire (#3314)
Show description for 56af447
maxisbey
and
Kludex
authored
56af447
View commit details
Copy full SHA for 56af447
View code at this point
Browse repository at this point
Accept boolean sub-schemas in 2025-11-25 tool schema properties (#3354)
pja-ant
authored
f1c40b0
View commit details
Copy full SHA for f1c40b0
View code at this point
Browse repository at this point
Commits on Aug 20, 2026
Apply the request body limit to the SSE and OAuth endpoints (#3336)
maxisbey
authored
57394b0
View commit details
Copy full SHA for 57394b0
View code at this point
Browse repository at this point
Hand TypedDict tool results to pydantic natively (#3331)
maxisbey
authored
0cee624
View commit details
Copy full SHA for 0cee624
View code at this point
Browse repository at this point
Commits on Aug 17, 2026
Acknowledge notification POSTs with 202 on the 2026-07-28 HTTP entry (#3326)
maxisbey
authored
b2025ab
View commit details
Copy full SHA for b2025ab
View code at this point
Browse repository at this point
Let Client take StdioServerParameters directly (#3321)
maxisbey
authored
e473cca
View commit details
Copy full SHA for e473cca
View code at this point
Browse repository at this point
MCPServer: content-block returns are unstructured, prompt messages take Image/Audio (#3320)
maxisbey
authored
fb443cc
View commit details
Copy full SHA for fb443cc
View code at this point
Browse repository at this point
Commits on Aug 16, 2026
Drop later-revision cache-hint fields on pre-2026 sessions (#3223)
maxisbey
authored
31b76cb
View commit details
Copy full SHA for 31b76cb
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.