[GH-ISSUE #159] [DOCS]: Add docs for SSE and Streamable MCP transports #60

Closed
opened 2026-02-23 17:19:04 -05:00 by yindo · 1 comment
Owner

Originally created by @AlekseyKapustyanenko on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anythingllm-docs/issues/159

Add documentation for SSE and Streamable MCP transports. This issue is dependent on https://github.com/Mintplex-Labs/anything-llm/pull/3747

Originally created by @AlekseyKapustyanenko on GitHub (May 1, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anythingllm-docs/issues/159 Add documentation for SSE and Streamable MCP transports. This issue is dependent on https://github.com/Mintplex-Labs/anything-llm/pull/3747
yindo closed this issue 2026-02-23 17:19:05 -05:00
Author
Owner

@pwlnow commented on GitHub (Aug 4, 2025):

Issue with MCP server supporting sse

I have below mcp plugin configuration on anythingllm docker container:

{ "mcpServers": { "mcp-chart-server": { "type": "sse", "url": "https://chart.mcp.cloudcertainty.com/sse", "anythingllm": { "autoStart": false } } }

Inside the container, I use curl to check if I can connect to the url, and it did:
~/docker/anything-llm $ docker exec -it anythingllm bash anythingllm@5b5ff5baa572:~$ curl https://chart.mcp.cloudcertainty.com/sse event: endpoint data: /sse/message?sessionId=c6838509c2b768c46c58e73fe2f1bc377330b99fd864183b83e2819252cc3628

However, on the anythingllm setting page, when I manually start the mcp server connection, it failed. Here is the logs from anythingLLM container:

[backend] info: [MCPCompatibilityLayer] Attempting to start MCP server: mcp-chart-server [backend] error: Error toggling MCP server: Error: Not connected at SSEClientTransport.send (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js:139:19) at /app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js:298:29 at new Promise (<anonymous>) at Client.request (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js:237:16) at Client.ping (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js:194:21) at MCPCompatibilityLayer.toggleServerStatus (/app/server/utils/MCP/index.js:165:41) at /app/server/endpoints/mcpServers.js:61:58 at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5) at next (/app/server/node_modules/express/lib/router/route.js:149:13) at /app/server/utils/middleware/multiUserProtected.js:67:7 [backend] info: [MCPCompatibilityLayer] Failed to start single MCP server: mcp-chart-server {"error":"Connection timeout","stack":"Error: Connection timeout\n at Timeout._onTimeout (/app/server/utils/MCP/hypervisor/index.js:372:31)\n at listOnTimeout (node:internal/timers:569:17)\n at process.processTimers (node:internal/timers:512:7)"}

Is this a connection timeout issue? or configuration issue or some kind of bugs?

@pwlnow commented on GitHub (Aug 4, 2025): ### Issue with MCP server supporting sse I have below mcp plugin configuration on anythingllm docker container: `` { "mcpServers": { "mcp-chart-server": { "type": "sse", "url": "https://chart.mcp.cloudcertainty.com/sse", "anythingllm": { "autoStart": false } } } `` Inside the container, I use curl to check if I can connect to the url, and it did: `` ~/docker/anything-llm $ docker exec -it anythingllm bash anythingllm@5b5ff5baa572:~$ curl https://chart.mcp.cloudcertainty.com/sse event: endpoint data: /sse/message?sessionId=c6838509c2b768c46c58e73fe2f1bc377330b99fd864183b83e2819252cc3628 `` However, on the anythingllm setting page, when I manually start the mcp server connection, it failed. Here is the logs from anythingLLM container: `` [backend] info: [MCPCompatibilityLayer] Attempting to start MCP server: mcp-chart-server [backend] error: Error toggling MCP server: Error: Not connected at SSEClientTransport.send (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js:139:19) at /app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js:298:29 at new Promise (<anonymous>) at Client.request (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js:237:16) at Client.ping (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js:194:21) at MCPCompatibilityLayer.toggleServerStatus (/app/server/utils/MCP/index.js:165:41) at /app/server/endpoints/mcpServers.js:61:58 at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5) at next (/app/server/node_modules/express/lib/router/route.js:149:13) at /app/server/utils/middleware/multiUserProtected.js:67:7 [backend] info: [MCPCompatibilityLayer] Failed to start single MCP server: mcp-chart-server {"error":"Connection timeout","stack":"Error: Connection timeout\n at Timeout._onTimeout (/app/server/utils/MCP/hypervisor/index.js:372:31)\n at listOnTimeout (node:internal/timers:569:17)\n at process.processTimers (node:internal/timers:512:7)"} `` Is this a connection timeout issue? or configuration issue or some kind of bugs?
yindo changed title from [DOCS]: Add docs for SSE and Streamable MCP transports to [GH-ISSUE #159] [DOCS]: Add docs for SSE and Streamable MCP transports 2026-06-05 15:22:06 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anythingllm-docs#60