| 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:fca06480-c58f-1a3f-be18-acf20597fc7a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD68:3FF3CA:2783216:369066D:6A60B207 |
| html-safe-nonce | 50c1249eb3310dab15fe1a513249edee88c07f7f04b1771f07e30f68314047ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDY4OjNGRjNDQToyNzgzMjE2OjM2OTA2NkQ6NkE2MEIyMDciLCJ2aXNpdG9yX2lkIjoiNDQ4NzM5NjQxNDA1OTQ5MTg0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 899cdbeba10fb58279432bdbc105db4138ad43565c4444cd0414f35a42fdeefd |
| hovercard-subject-tag | pull_request:3060218210 |
| 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/1711/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fcc1ed05ef52c15f23b5ff274926eec2c2f74034bbc8d2ab6e36a9ec766c73c9/modelcontextprotocol/python-sdk/pull/1711 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcc1ed05ef52c15f23b5ff274926eec2c2f74034bbc8d2ab6e36a9ec766c73c9/modelcontextprotocol/python-sdk/pull/1711 |
| og:image:alt | Description
Implements the mcp_proxy() convenience function that enables bidirectional message forwarding between two MCP transports, porting the TypeScript proxy pattern to the Python SDK.
Changes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dgenio |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35671f8a6946a7a2a81d51ae49f5465bdc5f925c23c9cb839206b24345dbe8d9 |
| 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 | 746dc49090e6e3995bb502dce0f8807393e36eda |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/1711#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1711 |
| 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%2F1711 |
|
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/1711 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
|
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
267
| https://github.com/modelcontextprotocol/python-sdk/issues |
|
Pull requests
312
| 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 |
| dgenio | https://github.com/dgenio |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| dgenio:feature/12-mcp-proxy-pattern | https://github.com/dgenio/python-sdk/tree/feature/12-mcp-proxy-pattern |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| Commits6 (6) | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/1711/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/1711/files |
| feat: add MCP proxy pattern convenience function (#12) | https://github.com/modelcontextprotocol/python-sdk/pull/1711#top |
| dgenio | https://github.com/dgenio |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| dgenio:feature/12-mcp-proxy-pattern | https://github.com/dgenio/python-sdk/tree/feature/12-mcp-proxy-pattern |
|
| https://github.com/dgenio |
| dgenio | https://github.com/dgenio |
| Dec 1, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issue-3682060364 |
| #12 | https://github.com/modelcontextprotocol/python-sdk/issues/12 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| dgenio | https://github.com/dgenio |
| December 1, 2025 17:24 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#commits-pushed-0357258 |
|
| https://github.com/dgenio |
| feat: add MCP proxy pattern convenience function | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/03572580012098aebda4dee8c2ebc260856619cd |
| 0357258 | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/03572580012098aebda4dee8c2ebc260856619cd |
| modelcontextprotocol#12 | https://github.com/modelcontextprotocol/python-sdk/issues/12 |
|
| https://github.com/dgenio |
| fix: refactor proxy to reduce complexity and improve coverage | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/e1cff6cb0936195ddfca08af30fb67e765e71ae1 |
| e1cff6c | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/e1cff6cb0936195ddfca08af30fb67e765e71ae1 |
|
| https://github.com/dgenio |
| test: add coverage for missing exception paths | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/f740e75f2446e22dd354bd1fb53648b63c47a4b9 |
| f740e75 | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/f740e75f2446e22dd354bd1fb53648b63c47a4b9 |
|
| https://github.com/dgenio |
| fix: address CI failures - pyright and test issues | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/719c724cb27a2406f07d55ea539191f79e9d43dd |
| 719c724 | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/719c724cb27a2406f07d55ea539191f79e9d43dd |
|
| https://github.com/dgenio |
| fix: address CI failures - pyright and test issues | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/75d8114da4a24cd0a73fcbcea3d62faba8f9c1f2 |
| 75d8114 | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/75d8114da4a24cd0a73fcbcea3d62faba8f9c1f2 |
|
| https://github.com/dgenio |
| Merge branch 'feature/12-mcp-proxy-pattern' of | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/e5bdd4c93066b7138363f9d38fb5ce0dbc843d1d |
| https://github.com/dge… | https://github.com/dgenio/python-sdk |
| e5bdd4c | https://github.com/modelcontextprotocol/python-sdk/pull/1711/commits/e5bdd4c93066b7138363f9d38fb5ce0dbc843d1d |
| …nio/python-sdk | https://github.com/dgenio/python-sdk |
| https://github.com/dgenio |
| dgenio | https://github.com/dgenio |
| Dec 2, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#event-21315247574 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
| Dec 4, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issuecomment-3611679391 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| https://github.com/dgenio |
| dgenio | https://github.com/dgenio |
| Dec 4, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issuecomment-3611698276 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
| Dec 4, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issuecomment-3611715836 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| https://github.com/Kludex |
| Kludex | https://github.com/Kludex |
| Dec 4, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#event-21356973755 |
| https://github.com/jlowin |
| jlowin | https://github.com/jlowin |
| Dec 10, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issuecomment-3634894834 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| https://github.com/jlowin |
| jlowin | https://github.com/jlowin |
|
Dec 10, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1711#ref-pullrequest-3715282215 |
|
Fix CI failures for proxy tests
#1763
| https://github.com/modelcontextprotocol/python-sdk/pull/1763 |
| https://github.com/jlowin |
| jlowin | https://github.com/jlowin |
| Dec 10, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#issuecomment-3637443777 |
| @Kludex | https://github.com/Kludex |
| @dgenio | https://github.com/dgenio |
| #1763 | https://github.com/modelcontextprotocol/python-sdk/pull/1763 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| maxisbey | https://github.com/maxisbey |
|
Dec 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1711#ref-commit-53138e6 |
|
| https://github.com/maxisbey |
| Add mcp_proxy for bidirectional message forwarding | https://github.com/modelcontextprotocol/python-sdk/commit/53138e679bcb599c4c94fe62e1a8ed64bf775e3c |
| 53138e6 | https://github.com/modelcontextprotocol/python-sdk/commit/53138e679bcb599c4c94fe62e1a8ed64bf775e3c |
| #1711 | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
| #1763 | https://github.com/modelcontextprotocol/python-sdk/pull/1763 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
|
Dec 11, 2025
| https://github.com/modelcontextprotocol/python-sdk/pull/1711#ref-pullrequest-3720104858 |
|
Add mcp_proxy for bidirectional message forwarding
#1778
| https://github.com/modelcontextprotocol/python-sdk/pull/1778 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Dec 31, 2025 | https://github.com/modelcontextprotocol/python-sdk/pull/1711#event-21811570410 |
| 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%2F1711 |
|
Add conveniences for MCP proxy pattern
| https://github.com/modelcontextprotocol/python-sdk/issues/12 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/1711 |
|
| https://github.com/dgenio |
|
| https://github.com/Kludex |
|
| https://github.com/jlowin |
|
| https://github.com/maxisbey |
|
| 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 |