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
Type
/
to 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.7k
Star
23.9k
Code
Issues
240
Pull requests
275
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
refactor: remove request_ctx ContextVar, thread Context explicitly
- #2203
#2203
Merged
maxisbey
merged 6 commits into
main
modelcontextprotocol/python-sdk:main
from
remove-request-ctx-contextvar
modelcontextprotocol/python-sdk:remove-request-ctx-contextvar
Copy head branch name to clipboard
Mar 4, 2026
Conversation
Commits
6
(6)
Checks
Files changed
Merged
refactor: remove request_ctx ContextVar, thread Context explicitly
#2203
maxisbey
merged 6 commits into
main
modelcontextprotocol/python-sdk:main
from
remove-request-ctx-contextvar
modelcontextprotocol/python-sdk:remove-request-ctx-contextvar
Copy head branch name to clipboard
Commits
Commits on Mar 2, 2026
refactor: remove request_ctx ContextVar, thread Context explicitly
Show description for 116fb4c
maxisbey
committed
116fb4c
View commit details
Copy full SHA for 116fb4c
Browse repository at this point
Commits on Mar 3, 2026
reword docs/migration.md to be injected instead of constructed
Show description for 87ed4b0
maxisbey
and
Kludex
authored
87ed4b0
View commit details
Copy full SHA for 87ed4b0
Browse repository at this point
refactor: make context required at internal layers, optional at MCPServer
Show description for 0f9c792
maxisbey
committed
0f9c792
View commit details
Copy full SHA for 0f9c792
Browse repository at this point
style: merge elicit_url import into single block
Show description for 40951bd
maxisbey
committed
40951bd
View commit details
Copy full SHA for 40951bd
Browse repository at this point
style: use pragma no branch instead of no cover for progress_token check
Show description for 95d5b32
maxisbey
committed
95d5b32
View commit details
Copy full SHA for 95d5b32
Browse repository at this point
Commits on Mar 4, 2026
test: cover get_prompt context=None fallback; revert no branch pragma
Show description for 56d237a
maxisbey
committed
56d237a
View commit details
Copy full SHA for 56d237a
Browse repository at this point
You can’t perform that action at this time.