René's URL Explorer Experiment


Title: Add CORS middleware to Starlette app for frontend support by SmartManoj · Pull Request #1201 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Add CORS middleware to Starlette app for frontend support by SmartManoj · Pull Request #1201 · modelcontextprotocol/python-sdk

X Title: Add CORS middleware to Starlette app for frontend support by SmartManoj · Pull Request #1201 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Add CORS middleware to Starlette app for frontend support by SmartManoj · Pull Request #1201 · modelcontextprotocol/python-sdk

Open Graph Description: Introduces CORS middleware to the Starlette app instances in FastMCP to allow requests from local web frontends. This enables compatibility with web clients running on localhost and related origins...

X Description: Introduces CORS middleware to the Starlette app instances in FastMCP to allow requests from local web frontends. This enables compatibility with web clients running on localhost and related origins...

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

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:d7e1edd0-9ea2-c7b6-4656-2dc334364165
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE53E:2F339:31C340:432803:6A5FF151
html-safe-noncec581e04b48885c22031fb6dce9456dc2fd48383e0cb6e9730b3ba07afe476360
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTNFOjJGMzM5OjMxQzM0MDo0MzI4MDM6NkE1RkYxNTEiLCJ2aXNpdG9yX2lkIjoiMjczMTYwOTQwNjg4Mjk2Nzg4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccde19f3a2206f55e3e0cb6fb1d4687bfa611a2fa8b4ad590e869909c367f2b89
hovercard-subject-tagpull_request:2696945910
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/1201/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/83699d4ea489ca5badad88e0633073dd60b307dc951a2dc270dc4e05af934343/modelcontextprotocol/python-sdk/pull/1201
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/83699d4ea489ca5badad88e0633073dd60b307dc951a2dc270dc4e05af934343/modelcontextprotocol/python-sdk/pull/1201
og:image:altIntroduces CORS middleware to the Starlette app instances in FastMCP to allow requests from local web frontends. This enables compatibility with web clients running on localhost and related origins...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSmartManoj
hostnamegithub.com
expected-hostnamegithub.com
Noneec26f1a08b78b3d576999ee8b45a2abc017c95dbee903a8019940cd2e9bf7b3d
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
release0a29f0b91ade2368fc0b74327c0f64ec1f98f5ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/1201#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1201
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%2F1201
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/1201
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1201
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/1201
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
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 265 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
SmartManojhttps://github.com/SmartManoj
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
SmartManoj:corshttps://github.com/SmartManoj/python-sdk/tree/cors
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/1201
Commits2 (2)https://github.com/modelcontextprotocol/python-sdk/pull/1201/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/1201/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/1201/files
Add CORS middleware to Starlette app for frontend supporthttps://github.com/modelcontextprotocol/python-sdk/pull/1201#top
SmartManojhttps://github.com/SmartManoj
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
SmartManoj:corshttps://github.com/SmartManoj/python-sdk/tree/cors
https://github.com/SmartManoj
SmartManojhttps://github.com/SmartManoj
Jul 26, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#issue-3265528778
#187 (comment)https://github.com/modelcontextprotocol/python-sdk/issues/187#issuecomment-2994114298
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/SmartManoj
Add CORS middleware to Starlette app for frontend supporthttps://github.com/modelcontextprotocol/python-sdk/pull/1201/commits/279299293778afe517b120178c488bdde9dd665d
2792992https://github.com/modelcontextprotocol/python-sdk/pull/1201/commits/279299293778afe517b120178c488bdde9dd665d
https://github.com/SmartManoj
SmartManojhttps://github.com/SmartManoj
dsp-anthttps://github.com/dsp-ant
July 26, 2025 12:27https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-18829178877
https://github.com/SmartManoj
linthttps://github.com/modelcontextprotocol/python-sdk/pull/1201/commits/a8ad68125ae064c44ccff43075e0afddbe2334fe
a8ad681https://github.com/modelcontextprotocol/python-sdk/pull/1201/commits/a8ad68125ae064c44ccff43075e0afddbe2334fe
https://github.com/dsp-ant
dsp-anthttps://github.com/dsp-ant
Aug 4, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1201#pullrequestreview-3083657508
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/1201/files/a8ad68125ae064c44ccff43075e0afddbe2334fe
dsp-anthttps://github.com/dsp-ant
https://github.com/modelcontextprotocol/python-sdk/pull/1201#pullrequestreview-3083657508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/SmartManoj
SmartManojhttps://github.com/SmartManoj
Aug 4, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#issuecomment-3150156035
punkpeye/fastmcp@fe39e7ahttps://github.com/punkpeye/fastmcp/commit/fe39e7a1d5651b0fda966177c52d18ea31cafadf
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Aug 9, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1201#ref-pullrequest-3298672064
feat: implement OPTIONS request support for Preflight checks in StreamableHTTP #1245 https://github.com/modelcontextprotocol/python-sdk/pull/1245
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#issuecomment-3321586232
punkpeye/fastmcp@fe39e7ahttps://github.com/punkpeye/fastmcp/commit/fe39e7a1d5651b0fda966177c52d18ea31cafadf
@dsp-anthttps://github.com/dsp-ant
#1245https://github.com/modelcontextprotocol/python-sdk/pull/1245
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
enhancement https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Aenhancement
v2 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Av2
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
Sep 22, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-19851353874
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/1201#ref-pullrequest-3280746218
fix: Handle SSE Disconnects Properly When use starlette middleware #1222 https://github.com/modelcontextprotocol/python-sdk/pull/1222
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Middlewarehttps://github.com/modelcontextprotocol/python-sdk/milestone/13
Sep 23, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-19863327508
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
September 30, 2025 10:46https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-20006093111
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Sep 30, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#issuecomment-3351326591
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
Middleware Supporthttps://github.com/modelcontextprotocol/python-sdk/milestone/13
Python SDK v2.0https://github.com/modelcontextprotocol/python-sdk/milestone/3
Sep 30, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-20007440176
https://github.com/felixweinberger
felixweinbergerhttps://github.com/felixweinberger
enhancement https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Aenhancement
enhancement deprecated https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22enhancement%20deprecated%22
Nov 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-20895739851
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Apr 6, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1201#event-24234424249
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Apr 6, 2026https://github.com/modelcontextprotocol/python-sdk/pull/1201#issuecomment-4194580682
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
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%2F1201
https://github.com/dsp-ant
dsp-ant https://github.com/dsp-ant
https://github.com/modelcontextprotocol/python-sdk/pull/1201/files/a8ad68125ae064c44ccff43075e0afddbe2334fe
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
enhancement https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Aenhancement
needs more work https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3A%22needs%20more%20work%22
v2 https://github.com/modelcontextprotocol/python-sdk/issues?q=state%3Aopen%20label%3Av2
Python SDK v2.0 https://github.com/modelcontextprotocol/python-sdk/milestone/3
Better CORS defaults for SSE transport https://github.com/modelcontextprotocol/python-sdk/issues/187
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/1201
https://github.com/SmartManoj
https://github.com/felixweinberger
https://github.com/Kludex
https://github.com/dsp-ant
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.