Title: SSE Connection Failure Described as "throw new Error("Not connected")" · Issue #433 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: SSE Connection Failure Described as "throw new Error("Not connected")" · Issue #433 · modelcontextprotocol/python-sdk
X Title: SSE Connection Failure Described as "throw new Error("Not connected")" · Issue #433 · modelcontextprotocol/python-sdk
Description: Describe the bug MCP initialization stucked at "Set up MCP Proxy" with node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103 throw new Error("Not connected") on Windows 11 24H2. I doubt that this shouldn't be a bug but could ...
Open Graph Description: Describe the bug MCP initialization stucked at "Set up MCP Proxy" with node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103 throw new Error("Not connected") on Windows 11 24H2. I doubt...
X Description: Describe the bug MCP initialization stucked at "Set up MCP Proxy" with node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103 throw new Error("Not connected") on Wind...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/433
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SSE Connection Failure Described as \"throw new Error(\"Not connected\")\"","articleBody":"**Describe the bug**\nMCP initialization stucked at \"Set up MCP Proxy\" with node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103\nthrow new Error(\"Not connected\") on Windows 11 24H2. I doubt that this shouldn't be a bug but could be misconfiguration.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Minimal walkthrough of installation.\n2. npm cache clean --force\n3. Copy\u0026Paste simple MCP server.py at QuickStart. (https://github.com/modelcontextprotocol/python-sdk?tab=readme-ov-file#quickstart)\n4. mcp dev server.py\n5. Error with SSE. Logs below:\n```\nStarting MCP inspector...\n⚙️ Proxy server listening on port 6277\n🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀\nStdio transport: command=C:\\Program Files\\Python311\\Scripts\\uv.exe, args=run,--with,mcp,mcp,run,test_server.py\nSpawned stdio transport\nConnected MCP client to backing server transport\nCreated web app transport\nCreated web app transport\nSet up MCP proxy\nfile:///C:/.../node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103\n throw new Error(\"Not connected\");\n ^\n\nError: Not connected\n at SSEServerTransport.send (file:///C:/.../node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103:19)\n at Socket.\u003canonymous\u003e (file:///C:/.../node_modules/@modelcontextprotocol/inspector/server/build/index.js:101:33)\n at Socket.emit (node:events:507:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Readable.push (node:internal/streams/readable:390:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)\n\nNode.js v23.11.0\n```\n\n**Expected behavior**\nConnection through SSE should be established.\n\n**Screenshots**\nI shall provide detailed log output and actively participating discussion. I'd be glad to hear if there's anything I could provide.\n\n**Desktop (please complete the following information):**\n - OS: Windows 11 24H2\n - Browser Thorium / Edge / Chromium\n - Version 26100.3624\n\n**Additional context**\nGratitude on active development. Shame on me triggering low-level weird bugs.\n","author":{"url":"https://github.com/Ishiharaerika","@type":"Person","name":"Ishiharaerika"},"datePublished":"2025-04-04T21:28:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/433/python-sdk/issues/433"}
| 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:61ed323c-efe6-9350-1b7e-d1e348b6a0de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CB6:45421:83FB49:BD4D6A:6A57878C |
| html-safe-nonce | 379b3d0c8f4ada262405110c489e5fa057bae47c9ce02c68b20184fb49f2128a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0I2OjQ1NDIxOjgzRkI0OTpCRDRENkE6NkE1Nzg3OEMiLCJ2aXNpdG9yX2lkIjoiMjQ1NjA2NzExMTQ0NzM5ODI4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a533cb00218079f49f652049c3a0e89e6e04ed2cdf6a78b21f50c2395a4d9b0 |
| hovercard-subject-tag | issue:2973400383 |
| 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/433/issue_layout |
| twitter:image | https://opengraph.githubassets.com/967bfbbeda947d6fd7ed2b80c2a44e68d02d3b1dc1ea67fa15668c3cb46a8c70/modelcontextprotocol/python-sdk/issues/433 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/967bfbbeda947d6fd7ed2b80c2a44e68d02d3b1dc1ea67fa15668c3cb46a8c70/modelcontextprotocol/python-sdk/issues/433 |
| og:image:alt | Describe the bug MCP initialization stucked at "Set up MCP Proxy" with node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js:103 throw new Error("Not connected") on Windows 11 24H2. I doubt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ishiharaerika |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6353e56e94423c9cd5abde7708a859afa36a0c1203c73749055bf6ee6704cd0 |
| 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 | f59ab1c46b638204e2aea09126d089be5dc773b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width