Title: 307 Temporary Redirect · Issue #732 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: 307 Temporary Redirect · Issue #732 · modelcontextprotocol/python-sdk
X Title: 307 Temporary Redirect · Issue #732 · modelcontextprotocol/python-sdk
Description: INFO: 127.0.0.1:56991 - "POST /mcp HTTP/1.1" 307 Temporary Redirect INFO: 127.0.0.1:56991 - "POST /mcp/ HTTP/1.1" 200 OK After using mcp.run(transport="streamable-http") to start the server, why does the client always redirect to '/mcp/'...
Open Graph Description: INFO: 127.0.0.1:56991 - "POST /mcp HTTP/1.1" 307 Temporary Redirect INFO: 127.0.0.1:56991 - "POST /mcp/ HTTP/1.1" 200 OK After using mcp.run(transport="streamable-http") to start the server, why do...
X Description: INFO: 127.0.0.1:56991 - "POST /mcp HTTP/1.1" 307 Temporary Redirect INFO: 127.0.0.1:56991 - "POST /mcp/ HTTP/1.1" 200 OK After using mcp.run(transport="streamable-http"...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/732
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"307 Temporary Redirect","articleBody":"INFO: 127.0.0.1:56991 - \"POST /mcp HTTP/1.1\" 307 Temporary Redirect\nINFO: 127.0.0.1:56991 - \"POST /mcp/ HTTP/1.1\" 200 OK\n\n\nAfter using \nmcp.run(transport=\"streamable-http\") \nto start the server, why does the client always redirect to '/mcp/' when requesting the server?","author":{"url":"https://github.com/2495710777","@type":"Person","name":"2495710777"},"datePublished":"2025-05-16T09:51:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/732/python-sdk/issues/732"}
| 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:2a28984c-3ab1-390e-62f9-3dcef589ac1f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E630:100D5A:B8ABCA:F1BAB2:6A5B0399 |
| html-safe-nonce | 4ff8c4463a4a38603f1b04dcbba3db4740c6f5c794a3551a6cb51c1f08fed05b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjMwOjEwMEQ1QTpCOEFCQ0E6RjFCQUIyOjZBNUIwMzk5IiwidmlzaXRvcl9pZCI6IjU4NDA0OTgyODE1NTgxODkwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fb82517a8813f7c8112f2b401df21b55c9d93828f02680a712c76c483a1dd742 |
| hovercard-subject-tag | issue:3068531890 |
| 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/732/issue_layout |
| twitter:image | https://opengraph.githubassets.com/500018619822f3f77982b6b3aad82e399afdd1787662100eb549feb9138ed906/modelcontextprotocol/python-sdk/issues/732 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/500018619822f3f77982b6b3aad82e399afdd1787662100eb549feb9138ed906/modelcontextprotocol/python-sdk/issues/732 |
| og:image:alt | INFO: 127.0.0.1:56991 - "POST /mcp HTTP/1.1" 307 Temporary Redirect INFO: 127.0.0.1:56991 - "POST /mcp/ HTTP/1.1" 200 OK After using mcp.run(transport="streamable-http") to start the server, why do... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 2495710777 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width