| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:96a3c589-d819-05f5-3574-b1412b06cf10 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E8E:A3475:409D0A:58A72B:6A626D49 |
| html-safe-nonce | 2a9b4c51cd02b9a9dbf9b46643ee975ad9784e7e2e69f04986700bb74ebbe986 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RThFOkEzNDc1OjQwOUQwQTo1OEE3MkI6NkE2MjZENDkiLCJ2aXNpdG9yX2lkIjoiMTU3ODg5Mzk5MTk4NzAxNDk4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8cbcc1a3e14f70ba3f4f68e160888893da23e3aeaf43b363d9c9f9944c0ced9d |
| hovercard-subject-tag | pull_request:3486253268 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/2388/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/511c30d80937bddd4a14cb07c9a72804ae0a3e150690f7d1b4b3a4cbfbcc71e4/modelcontextprotocol/python-sdk/pull/2388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/511c30d80937bddd4a14cb07c9a72804ae0a3e150690f7d1b4b3a4cbfbcc71e4/modelcontextprotocol/python-sdk/pull/2388 |
| og:image:alt | Summary
add a top-level mcp_proxy() helper in mcp/proxy.py and export it from mcp
implement the proxy with the repo's generic read/write stream protocols and the reviewed on_error API
replace ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kludex |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19769ef9d383a84eeab48bb9b309078c20f4532b73eae2f9713b18406513e0ad |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 76dc6b11f13eaeec1329217c9f16c262ade27a1e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2388#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2388 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F2388 |
|
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 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://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.7k
| https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk |
|
Code
| https://github.com/modelcontextprotocol/python-sdk |
|
Issues
269
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
315
| https://github.com/modelcontextprotocol/python-sdk/pulls |
|
Actions
| https://github.com/modelcontextprotocol/python-sdk/actions |
|
Projects
| https://github.com/modelcontextprotocol/python-sdk/projects |
|
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 |
|
Security and quality
| https://github.com/modelcontextprotocol/python-sdk/security |
|
Insights
| https://github.com/modelcontextprotocol/python-sdk/pulse |
| Kludex | https://github.com/Kludex |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| fix/mcp-proxy-review-comments | https://github.com/modelcontextprotocol/python-sdk/tree/fix/mcp-proxy-review-comments |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| Commits4 (4) | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/2388/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/2388/files |
| Add MCP proxy helper | https://github.com/modelcontextprotocol/python-sdk/pull/2388#top |
| Kludex | https://github.com/Kludex |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| fix/mcp-proxy-review-comments | https://github.com/modelcontextprotocol/python-sdk/tree/fix/mcp-proxy-review-comments |
|
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#issue-4200450080 |
| #1763 | https://github.com/modelcontextprotocol/python-sdk/pull/1763 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
|
| https://github.com/Kludex |
| Add reviewed MCP proxy helper | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/3c31190dbc4493f8c1bfec6e38320cde9a900cbe |
| 3c31190 | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/3c31190dbc4493f8c1bfec6e38320cde9a900cbe |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
|
Apr 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2388#pullrequestreview-4055636540 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/3c31190dbc4493f8c1bfec6e38320cde9a900cbe |
| src/mcp/proxy.py | https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/3c31190dbc4493f8c1bfec6e38320cde9a900cbe#diff-b3b7bf1b8edfa0a15d17cd3b02b79b42e82179777dc231af9821831884821ec6 |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#discussion_r3032789836 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
|
Apr 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2388#pullrequestreview-4055640805 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/3c31190dbc4493f8c1bfec6e38320cde9a900cbe |
| src/mcp/proxy.py | https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/3c31190dbc4493f8c1bfec6e38320cde9a900cbe#diff-b3b7bf1b8edfa0a15d17cd3b02b79b42e82179777dc231af9821831884821ec6 |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#discussion_r3032794154 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#event-24176846233 |
| Kludex | https://github.com/Kludex |
| April 3, 2026 09:13 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#commits-pushed-ae20d9e |
|
| https://github.com/Kludex |
| Address proxy review feedback | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/ae20d9e77437b394a464f9b852e416c11c7d0053 |
| ae20d9e | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/ae20d9e77437b394a464f9b852e416c11c7d0053 |
|
| https://github.com/Kludex |
| Fix proxy transport semantics | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/525440c7c69987a407958b59a2c3c1adbb01e2ed |
| 525440c | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/525440c7c69987a407958b59a2c3c1adbb01e2ed |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
|
Apr 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2388#pullrequestreview-4055977996 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/525440c7c69987a407958b59a2c3c1adbb01e2ed |
| docs/proxying.md | https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/525440c7c69987a407958b59a2c3c1adbb01e2ed#diff-3a6f2d52b2cff9e0adb7a45ada902fab2cfb4d35d74fab0a16c071aaddc30140 |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#discussion_r3033111282 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
|
Apr 3, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2388#pullrequestreview-4056006993 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/525440c7c69987a407958b59a2c3c1adbb01e2ed |
| src/mcp/shared/_callable_inspection.py | https://github.com/modelcontextprotocol/python-sdk/pull/2388/files/525440c7c69987a407958b59a2c3c1adbb01e2ed#diff-704fec4fd047f987273a35638450ebeda4d498ad15d8583da671dcae4daecb7f |
| Kludex | https://github.com/Kludex |
| Apr 3, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2388#discussion_r3033140359 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
|
| https://github.com/Kludex |
| Fix proxy coverage regressions | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/df5610628cd7dcdaa29c033645ceb3081a0acbc1 |
| df56106 | https://github.com/modelcontextprotocol/python-sdk/pull/2388/commits/df5610628cd7dcdaa29c033645ceb3081a0acbc1 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2388 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2388 |
|
| https://github.com/Kludex |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |