Title: Better CORS defaults for SSE transport · Issue #187 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Better CORS defaults for SSE transport · Issue #187 · modelcontextprotocol/python-sdk
X Title: Better CORS defaults for SSE transport · Issue #187 · modelcontextprotocol/python-sdk
Description: It's likely that most MCP servers accessible over SSE should be contactable by frontend web applications, which means the right CORS headers need to be set. The SDK should likely opt-in to this by default, with an opt-out available. See ...
Open Graph Description: It's likely that most MCP servers accessible over SSE should be contactable by frontend web applications, which means the right CORS headers need to be set. The SDK should likely opt-in to this by ...
X Description: It's likely that most MCP servers accessible over SSE should be contactable by frontend web applications, which means the right CORS headers need to be set. The SDK should likely opt-in to this...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better CORS defaults for SSE transport","articleBody":"It's likely that _most_ MCP servers accessible over SSE should be contactable by frontend web applications, which means the right CORS headers need to be set. The SDK should likely opt-in to this by default, with an opt-out available.\n\nSee also https://github.com/modelcontextprotocol/typescript-sdk/issues/143.","author":{"url":"https://github.com/jspahrsummers","@type":"Person","name":"jspahrsummers"},"datePublished":"2025-02-03T12:01:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/187/python-sdk/issues/187"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c76d749-16ee-ff93-154c-97974c40cf31 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E72:D2435:95A244:D0B34C:6A605019 |
| html-safe-nonce | a5776b46195772d46eeef3d0d10d6c5e3fb7789aaaf3d49e1c5368f859d8cdd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTcyOkQyNDM1Ojk1QTI0NDpEMEIzNEM6NkE2MDUwMTkiLCJ2aXNpdG9yX2lkIjoiNDIyNTU1MDI3MTExNTE4NjIwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 28c44912992d3da7fea879a5c47e0324628ddb5e6d8f903b471e9adb6b7a60e7 |
| hovercard-subject-tag | issue:2827313996 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1ebd510137cbf0b2afe9edc7893f9e166141690c3001292797794e0891a1e8d/modelcontextprotocol/python-sdk/issues/187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1ebd510137cbf0b2afe9edc7893f9e166141690c3001292797794e0891a1e8d/modelcontextprotocol/python-sdk/issues/187 |
| og:image:alt | It's likely that most MCP servers accessible over SSE should be contactable by frontend web applications, which means the right CORS headers need to be set. The SDK should likely opt-in to this by ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jspahrsummers |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| turbo-cache-control | no-preview |
| 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 | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width