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
200
Pull requests
191
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
python-sdk
src
on
import-speed
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 29, 2026
Resolve attribute chains through the four leaf sub-packages too
Show description for cb7c68c
maxisbey
committed
cb7c68c
View commit details
Copy full SHA for cb7c68c
View code at this point
Browse repository at this point
Document the prewarm recipe and the rebuild lock's terms
Show description for 008c74e
maxisbey
committed
008c74e
View commit details
Copy full SHA for 008c74e
View code at this point
Browse repository at this point
Spell warm()'s every-version flag as all_versions and return a frozen dataclass
Show description for 6da7ba4
maxisbey
committed
6da7ba4
View commit details
Copy full SHA for 6da7ba4
View code at this point
Browse repository at this point
Generate a deferred model's JSON schema under the rebuild lock too
Show description for b592f09
maxisbey
committed
b592f09
View commit details
Copy full SHA for b592f09
View code at this point
Browse repository at this point
Import the internal deferred_model decorator under a private name
Show description for 986d3b9
maxisbey
committed
986d3b9
View commit details
Copy full SHA for 986d3b9
View code at this point
Browse repository at this point
Construct DEFAULT_CLIENT_INFO without building the Implementation model
Show description for 53a46e6
maxisbey
committed
53a46e6
View commit details
Copy full SHA for 53a46e6
View code at this point
Browse repository at this point
Add mcp.warm(): opt-in prewarming for the deferred validators
Show description for 33471c7
maxisbey
committed
33471c7
View commit details
Copy full SHA for 33471c7
View code at this point
Browse repository at this point
Serialize the deferred first build of the SDK's pydantic models
Show description for 8c9f2a2
maxisbey
committed
8c9f2a2
View commit details
Copy full SHA for 8c9f2a2
View code at this point
Browse repository at this point
Defer building the SDK's own eager pydantic models and adapters
Show description for 45bb6c9
maxisbey
committed
45bb6c9
View commit details
Copy full SHA for 45bb6c9
View code at this point
Browse repository at this point
Defer building the monolith protocol models and routing adapters
Show description for 08f4385
maxisbey
committed
08f4385
View commit details
Copy full SHA for 08f4385
View code at this point
Browse repository at this point
Defer building the generated wire models and emit them in dependency order
Show description for b8bc17d
maxisbey
committed
b8bc17d
View commit details
Copy full SHA for b8bc17d
View code at this point
Browse repository at this point
Keep the wire packages statically discoverable to bundlers
Show description for 695b1ab
maxisbey
committed
695b1ab
View commit details
Copy full SHA for 695b1ab
View code at this point
Browse repository at this point
Load the OAuth provider stack and cryptography with their first user, not the server
Show description for 9ef39b6
maxisbey
committed
9ef39b6
View commit details
Copy full SHA for 9ef39b6
View code at this point
Browse repository at this point
Keep the public server signatures resolvable by typing.get_type_hints
Show description for cdc78fc
maxisbey
committed
cdc78fc
View commit details
Copy full SHA for cdc78fc
View code at this point
Browse repository at this point
Use one lazy-attribute helper for the packages, invisible to type checkers
Show description for 1f3fbc7
maxisbey
committed
1f3fbc7
View commit details
Copy full SHA for 1f3fbc7
View code at this point
Browse repository at this point
Keep PrimitiveSchemaDefinition reachable on mcp.server.elicitation
Show description for 2a7fb0c
maxisbey
committed
2a7fb0c
View commit details
Copy full SHA for 2a7fb0c
View code at this point
Browse repository at this point
Load per-version wire packages lazily from the methods surface maps
Show description for 0237ed9
maxisbey
committed
0237ed9
View commit details
Copy full SHA for 0237ed9
View code at this point
Browse repository at this point
Test HttpResource.read() instead of excluding it from coverage
Show description for 3ac881f
maxisbey
committed
3ac881f
View commit details
Copy full SHA for 3ac881f
View code at this point
Browse repository at this point
Make server-side imports pay-for-what-you-use
Show description for fcaf297
maxisbey
committed
fcaf297
View commit details
Copy full SHA for fcaf297
View code at this point
Browse repository at this point
Keep typing.get_type_hints(Client) resolvable at runtime
Show description for 5b25303
maxisbey
committed
5b25303
View commit details
Copy full SHA for 5b25303
View code at this point
Browse repository at this point
Load httpx2 with the HTTP transports only
Show description for 1e00f42
maxisbey
committed
1e00f42
View commit details
Copy full SHA for 1e00f42
View code at this point
Browse repository at this point
Stop mcp.client from importing the server stack
Show description for 1c1b7f8
maxisbey
committed
1c1b7f8
View commit details
Copy full SHA for 1c1b7f8
View code at this point
Browse repository at this point
Resolve submodules of mcp.client, mcp.server, mcp.shared and mcp.os on attribute access
Show description for 2128b57
maxisbey
committed
2128b57
View commit details
Copy full SHA for 2128b57
View code at this point
Browse repository at this point
Resolve the mcp package's exports lazily (PEP 562)
Show description for 622aed5
maxisbey
committed
622aed5
View commit details
Copy full SHA for 622aed5
View code at this point
Browse repository at this point
Commits on Jul 28, 2026
Serve v2 docs at the site root, with permanent per-major paths (#3176)
maxisbey
authored
78e6fbb
View commit details
Copy full SHA for 78e6fbb
View code at this point
Browse repository at this point
Remove unused StreamableHTTPTransport.get_session_id() (#3205)
maxisbey
authored
af06330
View commit details
Copy full SHA for af06330
View code at this point
Browse repository at this point
Expose the middleware chain on MCPServer and stop sending unrequested change notifications (#3201)
maxisbey
authored
c9c431b
View commit details
Copy full SHA for c9c431b
View code at this point
Browse repository at this point
Fail fast on server-to-client requests in JSON-response mode instead of hanging (#3195)
maxisbey
authored
528e366
View commit details
Copy full SHA for 528e366
View code at this point
Browse repository at this point
Remove unused mcpserver.exceptions.ValidationError (#3199)
maxisbey
authored
27f5cc7
View commit details
Copy full SHA for 27f5cc7
View code at this point
Browse repository at this point
Gate log notifications on the per-request log-level opt-in at 2026-07-28 (#3198)
maxisbey
authored
89c5e70
View commit details
Copy full SHA for 89c5e70
View code at this point
Browse repository at this point
Commits on Jul 27, 2026
Add mcp.types as a permanent alias for mcp_types (#3190)
maxisbey
authored
b7c9a91
View commit details
Copy full SHA for b7c9a91
View code at this point
Browse repository at this point
Stop answering cancelled requests (#3188)
maxisbey
authored
923341c
View commit details
Copy full SHA for 923341c
View code at this point
Browse repository at this point
Split the registration request model from the registered-client record (#3181)
maxisbey
authored
d3ffe87
View commit details
Copy full SHA for d3ffe87
View code at this point
Browse repository at this point
Make the per-version wire packages private (`mcp_types._v*`) (#3191)
maxisbey
authored
b9422f1
View commit details
Copy full SHA for b9422f1
View code at this point
Browse repository at this point
Commits on Jul 26, 2026
Cache compiled output-schema validators on ClientSession (#3134)
Show description for f599cdf
jlowin
and
maxisbey
authored
f599cdf
View commit details
Copy full SHA for f599cdf
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.