René's URL Explorer Experiment


Title: feat: support stderr logging in Jupyter notebook environments by BabyChrist666 · Pull Request #2020 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: feat: support stderr logging in Jupyter notebook environments by BabyChrist666 · Pull Request #2020 · modelcontextprotocol/python-sdk

X Title: feat: support stderr logging in Jupyter notebook environments by BabyChrist666 · Pull Request #2020 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - feat: support stderr logging in Jupyter notebook environments by BabyChrist666 · Pull Request #2020 · modelcontextprotocol/python-sdk

Open Graph Description: Summary Fixes #156 In Jupyter notebook environments, passing sys.stderr directly to subprocess doesn't work as expected - the stderr output is lost and users have no visibility into server erro...

X Description: Summary Fixes #156 In Jupyter notebook environments, passing sys.stderr directly to subprocess doesn't work as expected - the stderr output is lost and users have no visibility into server ...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2020

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:124a5378-1b68-e4d2-9436-610b3cb921f7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B8C:2934DF:20473BF:2E3F968:6A58E818
html-safe-nonce8e45fbd9421e559d6b43f37432fb7751e06bb6041dc63c0d4c7076f09653180a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjhDOjI5MzRERjoyMDQ3M0JGOjJFM0Y5Njg6NkE1OEU4MTgiLCJ2aXNpdG9yX2lkIjoiNjkzNjk2NjQ5NjYyODgyODE4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca9c65de18617dfae62c8dbe3bce3933d937ddfa8653205d9a330c658b81f2b4b
hovercard-subject-tagpull_request:3260762884
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2020/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9395e2ce00cc26f176dc9d03f4398d54236f317208cc40ef640c7eda08f36982/modelcontextprotocol/python-sdk/pull/2020
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9395e2ce00cc26f176dc9d03f4398d54236f317208cc40ef640c7eda08f36982/modelcontextprotocol/python-sdk/pull/2020
og:image:altSummary Fixes #156 In Jupyter notebook environments, passing sys.stderr directly to subprocess doesn't work as expected - the stderr output is lost and users have no visibility into server erro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBabyChrist666
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/2020#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2020
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2020
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2020
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2020
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/2020
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2020
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 255 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 290 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
BabyChrist666https://github.com/BabyChrist666
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
BabyChrist666:fix/jupyter-stderr-logging-156https://github.com/BabyChrist666/python-sdk/tree/fix/jupyter-stderr-logging-156
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/2020
Commits8 (8)https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/2020/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/2020/files
feat: support stderr logging in Jupyter notebook environmentshttps://github.com/modelcontextprotocol/python-sdk/pull/2020#top
BabyChrist666https://github.com/BabyChrist666
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
BabyChrist666:fix/jupyter-stderr-logging-156https://github.com/BabyChrist666/python-sdk/tree/fix/jupyter-stderr-logging-156
https://github.com/BabyChrist666
BabyChrist666https://github.com/BabyChrist666
Feb 9, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2020#issue-3913948424
#156https://github.com/modelcontextprotocol/python-sdk/issues/156
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2020
https://github.com/BabyChrist666
https://github.com/claude
feat: support stderr logging in Jupyter notebook environmentshttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/e9c5fd2f978f8fdc94832270a10dbaf5c45c7b4f
e9c5fd2https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/e9c5fd2f978f8fdc94832270a10dbaf5c45c7b4f
modelcontextprotocol#156https://github.com/modelcontextprotocol/python-sdk/issues/156
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
P3 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3AP3
Feb 10, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2020#event-22680131931
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Feb 10, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2020#issuecomment-3879281679
AI Disclaimerhttps://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2020
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Feb 11, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2020#ref-pullrequest-3923182559
fix: explicit stderr piping for Jupyter support (#156) #2030 https://github.com/modelcontextprotocol/python-sdk/pull/2030
BabyChrist666https://github.com/BabyChrist666
February 13, 2026 02:17https://github.com/modelcontextprotocol/python-sdk/pull/2020#commits-pushed-fca46fd
https://github.com/BabyChrist666
Merge branch 'main' into fix/jupyter-stderr-logging-156https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/fca46fd5065e955db7073eb5d0e6fae21af5593b
fca46fdhttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/fca46fd5065e955db7073eb5d0e6fae21af5593b
https://github.com/BabyChrist666
https://github.com/claude
Fix pre-commit formatting and add test coverage for Jupyter stderr su…https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/49e25460e137e1087cf290c9d5a41dac9b43642d
49e2546https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/49e25460e137e1087cf290c9d5a41dac9b43642d
https://github.com/BabyChrist666
https://github.com/claude
Fix remaining pre-commit issues and add missing branch coveragehttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/bad0a6ed1d221a0d20396707d1c2befc46470b6a
bad0a6ehttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/bad0a6ed1d221a0d20396707d1c2befc46470b6a
https://github.com/BabyChrist666
https://github.com/claude
Fix pyright type errors and branch coverage in testshttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/4b199bc37587e55ef82072d47c464fc030337219
4b199bchttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/4b199bc37587e55ef82072d47c464fc030337219
https://github.com/BabyChrist666
https://github.com/claude
Fix pyright errors: unused variables and __class__ assignmenthttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/39a940bf94c67d2333f62763af873d8a77a72398
39a940bhttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/39a940bf94c67d2333f62763af873d8a77a72398
https://github.com/BabyChrist666
https://github.com/claude
Fix pyright partially unknown type error for mock confighttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/f568ea144db9133601a37850878b3c3df7ddaba0
f568ea1https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/f568ea144db9133601a37850878b3c3df7ddaba0
https://github.com/BabyChrist666
https://github.com/claude
Fix pyright: annotate FakeIPython.config typehttps://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/f12a9d37314bffb5a725d99cfd52f01297565976
f12a9d3https://github.com/modelcontextprotocol/python-sdk/pull/2020/commits/f12a9d37314bffb5a725d99cfd52f01297565976
https://github.com/BabyChrist666
BabyChrist666https://github.com/BabyChrist666
Feb 16, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2020#issuecomment-3908888363
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2020
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
needs confirmation https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
Mar 6, 2026https://github.com/modelcontextprotocol/python-sdk/pull/2020#event-23329098411
https://github.com/maxisbey
maxisbeyhttps://github.com/maxisbey
Mar 24, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/2020#ref-pullrequest-3677524885
feat: support logging to stderr in Jupyter Notebook environments (#156) #1707 https://github.com/modelcontextprotocol/python-sdk/pull/1707
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2020
bug https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Abug
needs confirmation https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20confirmation%22
P3 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3AP3
support logging to stderr in Jupyter Notebook Environments. https://github.com/modelcontextprotocol/python-sdk/issues/156
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/2020
https://github.com/BabyChrist666
https://github.com/maxisbey
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.