You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running an SSE server with the given Dockerfile in packages/markitdown/packages/markitdown-mcp and using the flags --sse --host 127.0.0.1 --port 3001.
In Docker it shows that it is running as per the logs
2025-04-25 17:45:08 INFO: Started server process [1]
2025-04-25 17:45:08 INFO: Waiting for application startup.
2025-04-25 17:45:08 INFO: Application startup complete.
2025-04-25 17:45:08 INFO: Uvicorn running on http://127.0.0.1:3001 (Press CTRL+C to quit)
But when I try to inspect the MCP server using npx @modelcontextprotocol/inspector and enter 'http://localhost:3001/sse' into the MCP server URL and clicking Connect, it shows this Connection Error, is your MCP server running? and in the logs of the inspector it shows this
Error in /sse route: SseError: SSE error: TypeError: fetch failed: other side closed
at _eventSource.onerror (file:///Users/fazasophian/.npm/_npx/5a9d879542beca3a/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js:69:31)
at EventSource.scheduleReconnect_fn (file:///Users/fazasophian/.npm/_npx/5a9d879542beca3a/node_modules/eventsource/dist/index.js:248:53)
at file:///Users/fazasophian/.npm/_npx/5a9d879542beca3a/node_modules/eventsource/dist/index.js:98:174 {
code: undefined,
event: {
type: 'error',
message: 'TypeError: fetch failed: other side closed',
code: undefined,
defaultPrevented: false,
cancelable: false,
timeStamp: 135798.814292
}
}
The text was updated successfully, but these errors were encountered:
fazaamal
changed the title
Running SSE server with Dockerfile not working
Connecting to SSE server with Dockerfile not working
Apr 25, 2025
fazaamal
changed the title
Connecting to SSE server with Dockerfile not working
Connecting to SSE server running with Dockerfile not working
Apr 25, 2025
I am running an SSE server with the given Dockerfile in
packages/markitdown/packages/markitdown-mcp
and using the flags--sse --host 127.0.0.1 --port 3001
.In Docker it shows that it is running as per the logs
2025-04-25 17:45:08 INFO: Started server process [1] 2025-04-25 17:45:08 INFO: Waiting for application startup. 2025-04-25 17:45:08 INFO: Application startup complete. 2025-04-25 17:45:08 INFO: Uvicorn running on http://127.0.0.1:3001 (Press CTRL+C to quit)
But when I try to inspect the MCP server using
npx @modelcontextprotocol/inspector
and enter 'http://localhost:3001/sse' into the MCP server URL and clicking Connect, it shows thisConnection Error, is your MCP server running?
and in the logs of the inspector it shows thisEven when I am trying to connect to it using
modelcontextprotocol
's typescript-sdk, it also is unable to connect to the MCP server.Anyone able to help?
Thanks in advance
The text was updated successfully, but these errors were encountered: