René's URL Explorer Experiment


Title: Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers by tim-watcha · Pull Request #540 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers by tim-watcha · Pull Request #540 · modelcontextprotocol/python-sdk

X Title: Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers by tim-watcha · Pull Request #540 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add mount_path support for proper SSE endpoint routing with multiple FastMCP servers by tim-watcha · Pull Request #540 · modelcontextprotocol/python-sdk

Open Graph Description: Add mount_path capability to FastMCP for proper SSE endpoint handling when mounted under sub-paths Motivation and Context When multiple FastMCP servers are mounted under different sub-paths in a si...

X Description: Add mount_path capability to FastMCP for proper SSE endpoint handling when mounted under sub-paths Motivation and Context When multiple FastMCP servers are mounted under different sub-paths in a si...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:e6480226-e11f-8bcd-2542-71627188f534
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC52A:3A4C6B:7944D7:A3AED1:6A629A10
html-safe-noncefb331ce0f0947d5601ad164db05f04b5fe556a6696ee12779a9e80670bb1d71b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTJBOjNBNEM2Qjo3OTQ0RDc6QTNBRUQxOjZBNjI5QTEwIiwidmlzaXRvcl9pZCI6Ijg0NzAyNjk5ODg4MDUxODgxMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02b5b262c5b6bea00a4a15461fbada333cc96f0d23d24a30704b142c22a69c45
hovercard-subject-tagpull_request:2469354579
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/540/commits
twitter:imagehttps://opengraph.githubassets.com/cc33dac03eb9ff090991c99293182e18ef88b4d3b5ca34e3c687e320dcbb83c0/modelcontextprotocol/python-sdk/pull/540
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cc33dac03eb9ff090991c99293182e18ef88b4d3b5ca34e3c687e320dcbb83c0/modelcontextprotocol/python-sdk/pull/540
og:image:altAdd mount_path capability to FastMCP for proper SSE endpoint handling when mounted under sub-paths Motivation and Context When multiple FastMCP servers are mounted under different sub-paths in a si...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametim-watcha
hostnamegithub.com
expected-hostnamegithub.com
None10ffaff7e212112a3b4eeb224665f909dff951514db9af4f00de33b681024427
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
releasee470e2fc66e1ac7f528caec0fd8825047788d563
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F540%2Fcommits
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2F540%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits
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.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 316 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
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
tim-watcha:fix/sse-server-message-pathhttps://github.com/tim-watcha/mcp-python-sdk/tree/fix/sse-server-message-path
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/540
Commits17 (17)https://github.com/modelcontextprotocol/python-sdk/pull/540/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/540/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/540/files
Add mount_path support for proper SSE endpoint routing with multiple FastMCP servershttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits#top
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
tim-watcha:fix/sse-server-message-pathhttps://github.com/tim-watcha/mcp-python-sdk/tree/fix/sse-server-message-path
Add mount_path support to FastMCP for proper SSE endpoint handlinghttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/9325779b4eca822d036c190b0aba2652a060c78e
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
9325779https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/9325779b4eca822d036c190b0aba2652a060c78e
https://github.com/modelcontextprotocol/python-sdk/tree/9325779b4eca822d036c190b0aba2652a060c78e
Add tests for mount_path and path normalization in FastMCPhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/c4c05e1bd964fe1bbe91882ed045231b28ba4b2a
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
c4c05e1https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/c4c05e1bd964fe1bbe91882ed045231b28ba4b2a
https://github.com/modelcontextprotocol/python-sdk/tree/c4c05e1bd964fe1bbe91882ed045231b28ba4b2a
Add multi-server mounting example to READMEhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d5bd5fdb9925929b7a1694807f7ed78f71910627
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
d5bd5fdhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d5bd5fdb9925929b7a1694807f7ed78f71910627
https://github.com/modelcontextprotocol/python-sdk/tree/d5bd5fdb9925929b7a1694807f7ed78f71910627
Fix line length issue in server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/dfdf077aa985d7f20ecb0a51bdcf96c2765f4dae
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
dfdf077https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/dfdf077aa985d7f20ecb0a51bdcf96c2765f4dae
https://github.com/modelcontextprotocol/python-sdk/tree/dfdf077aa985d7f20ecb0a51bdcf96c2765f4dae
Merge branch 'main' into fix/sse-server-message-pathhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d9d6bfe5a0f50692e98fe4a60a4eec940d3b7104
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
d9d6bfehttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d9d6bfe5a0f50692e98fe4a60a4eec940d3b7104
https://github.com/modelcontextprotocol/python-sdk/tree/d9d6bfe5a0f50692e98fe4a60a4eec940d3b7104
Add mount_path parameter to sse_app methodhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/1bd89ff3497632943de84d0ac1e2455e4d19a037
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
1bd89ffhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/1bd89ff3497632943de84d0ac1e2455e4d19a037
https://github.com/modelcontextprotocol/python-sdk/tree/1bd89ff3497632943de84d0ac1e2455e4d19a037
Apply ruff formatting to test_server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/30b38f96bd2c506d2ee82a8718de76af3ca3e751
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
30b38f9https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/30b38f96bd2c506d2ee82a8718de76af3ca3e751
https://github.com/modelcontextprotocol/python-sdk/tree/30b38f96bd2c506d2ee82a8718de76af3ca3e751
Fix README.md code example formatting for CI testshttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e248cb3c9922b2d9db3771dd7da16b7c1cb0506a
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
e248cb3https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e248cb3c9922b2d9db3771dd7da16b7c1cb0506a
https://github.com/modelcontextprotocol/python-sdk/tree/e248cb3c9922b2d9db3771dd7da16b7c1cb0506a
Merge branch 'main' into fix/sse-server-message-pathhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a5bfdfa42942ab6f14a8b59c4acfd7c71275c242
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
a5bfdfahttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a5bfdfa42942ab6f14a8b59c4acfd7c71275c242
https://github.com/modelcontextprotocol/python-sdk/tree/a5bfdfa42942ab6f14a8b59c4acfd7c71275c242
Merge branch 'main' into fix/sse-server-message-pathhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e176a7b2b6d2a14781f830ff7f3a14e1bd5e56b4
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
e176a7bhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e176a7b2b6d2a14781f830ff7f3a14e1bd5e56b4
https://github.com/modelcontextprotocol/python-sdk/tree/e176a7b2b6d2a14781f830ff7f3a14e1bd5e56b4
Rename variable for clarity in message endpoint handling.https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d34f4462158d6bb0c710c076e986f95750792a98
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
d34f446https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/d34f4462158d6bb0c710c076e986f95750792a98
https://github.com/modelcontextprotocol/python-sdk/tree/d34f4462158d6bb0c710c076e986f95750792a98
Update src/mcp/server/fastmcp/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e53a22e96a4fc232e4fbd70fe7ab92a4546cceb8
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
e53a22ehttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/e53a22e96a4fc232e4fbd70fe7ab92a4546cceb8
https://github.com/modelcontextprotocol/python-sdk/tree/e53a22e96a4fc232e4fbd70fe7ab92a4546cceb8
Update src/mcp/server/fastmcp/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a4433622d76bfe5160eba60dfc7aea8203de355d
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
a443362https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a4433622d76bfe5160eba60dfc7aea8203de355d
https://github.com/modelcontextprotocol/python-sdk/tree/a4433622d76bfe5160eba60dfc7aea8203de355d
Update src/mcp/server/fastmcp/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a53a0a477054d09713d123f77349c30d32e14cd9
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
a53a0a4https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a53a0a477054d09713d123f77349c30d32e14cd9
https://github.com/modelcontextprotocol/python-sdk/tree/a53a0a477054d09713d123f77349c30d32e14cd9
Update src/mcp/server/fastmcp/server.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a40cbefab412371624f5f352255b538b3ef989ba
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
a40cbefhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a40cbefab412371624f5f352255b538b3ef989ba
https://github.com/modelcontextprotocol/python-sdk/tree/a40cbefab412371624f5f352255b538b3ef989ba
Merge branch 'main' into fix/sse-server-message-pathhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a43195736bba0813a068893430ef4c7b2116dd52
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
a431957https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/a43195736bba0813a068893430ef4c7b2116dd52
https://github.com/modelcontextprotocol/python-sdk/tree/a43195736bba0813a068893430ef4c7b2116dd52
Fix type hints for mount_path parameter in run methodhttps://github.com/modelcontextprotocol/python-sdk/pull/540/commits/0366f68491910cce84b3e694658b68ac2865fe2f
https://github.com/tim-watcha
tim-watchahttps://github.com/modelcontextprotocol/python-sdk/commits?author=tim-watcha
0366f68https://github.com/modelcontextprotocol/python-sdk/pull/540/commits/0366f68491910cce84b3e694658b68ac2865fe2f
https://github.com/modelcontextprotocol/python-sdk/tree/0366f68491910cce84b3e694658b68ac2865fe2f
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.