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 }}
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.9k
Star
24.3k
Code
Issues
234
Pull requests
186
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Isolate the stdio server's stdin and stdout from handler subprocesses
- #3117
#3117
Merged
maxisbey
merged 17 commits into
main
modelcontextprotocol/python-sdk:main
from
stdio-stdin-isolation
modelcontextprotocol/python-sdk:stdio-stdin-isolation
Copy head branch name to clipboard
Jul 25, 2026
Conversation
Commits
17
(17)
Checks
Files changed
Merged
Isolate the stdio server's stdin and stdout from handler subprocesses
#3117
maxisbey
merged 17 commits into
main
modelcontextprotocol/python-sdk:main
from
stdio-stdin-isolation
modelcontextprotocol/python-sdk:stdio-stdin-isolation
Copy head branch name to clipboard
Commits
Commits on Jul 24, 2026
Isolate the stdio server's stdin from handler subprocesses
Show description for fbe9841
maxisbey
committed
fbe9841
View commit details
Copy full SHA for fbe9841
Browse repository at this point
Isolate the stdio server's stdout from handler code and subprocesses
Show description for 2b0f3ac
maxisbey
committed
2b0f3ac
View commit details
Copy full SHA for 2b0f3ac
Browse repository at this point
Refuse abnormal processes instead of repairing them in stdio isolation
Show description for 2e609e1
maxisbey
committed
2e609e1
View commit details
Copy full SHA for 2e609e1
Browse repository at this point
Replace dashes with plain punctuation in prose added by this branch
Show description for 987b691
maxisbey
committed
987b691
View commit details
Copy full SHA for 987b691
Browse repository at this point
Hold the stream claim for in-place fallbacks too
Show description for 0ba79d4
maxisbey
committed
0ba79d4
View commit details
Copy full SHA for 0ba79d4
Browse repository at this point
Add migration note for code that watches fd 0 directly
Show description for 3e321f6
maxisbey
committed
3e321f6
View commit details
Copy full SHA for 3e321f6
Browse repository at this point
Scope the fd 0 watchdog migration example to POSIX
Show description for 87dda97
maxisbey
committed
87dda97
View commit details
Copy full SHA for 87dda97
Browse repository at this point
Keep a still-diverted fd claimed when its restore fails
Show description for 6a6c544
maxisbey
committed
6a6c544
View commit details
Copy full SHA for 6a6c544
Browse repository at this point
Roll forward when a failed claim cannot be rolled back
Show description for 8a076d0
maxisbey
committed
8a076d0
View commit details
Copy full SHA for 8a076d0
Browse repository at this point
Reshape the stream claim into an explicit state machine
Show description for a45283b
maxisbey
committed
a45283b
View commit details
Copy full SHA for a45283b
Browse repository at this point
Exclude POSIX-only fcntl lines from the Windows coverage gate
Show description for cf0ba4f
maxisbey
committed
cf0ba4f
View commit details
Copy full SHA for cf0ba4f
Browse repository at this point
Open the errlog capture as UTF-8 in the noisy-child test
Show description for 6990fa6
maxisbey
committed
6990fa6
View commit details
Copy full SHA for 6990fa6
Browse repository at this point
Never close a buffer the transport does not own
Show description for 0f9695f
maxisbey
committed
0f9695f
View commit details
Copy full SHA for 0f9695f
Browse repository at this point
Correct the watchdog poll mask note and use the public get_osfhandle
Show description for ad9c115
maxisbey
committed
ad9c115
View commit details
Copy full SHA for ad9c115
Browse repository at this point
Scope the stderr-closed isolation test to POSIX
Show description for 57271c2
maxisbey
committed
57271c2
View commit details
Copy full SHA for 57271c2
Browse repository at this point
Scope the stray-output docs to flushed writes
Show description for 885c6aa
maxisbey
committed
885c6aa
View commit details
Copy full SHA for 885c6aa
Browse repository at this point
Re-point fd at the wire when a divert dup2 fails
Show description for 116a95f
maxisbey
committed
116a95f
View commit details
Copy full SHA for 116a95f
Browse repository at this point
You can’t perform that action at this time.