mirror of
https://github.com/Mintplex-Labs/anythingllm-docs.git
synced 2026-07-21 09:15:22 -04:00
[GH-ISSUE #159] [DOCS]: Add docs for SSE and Streamable MCP transports #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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=c6838509c2b768c46c58e73fe2f1bc377330b99fd864183b83e2819252cc3628However, 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?
[DOCS]: Add docs for SSE and Streamable MCP transportsto [GH-ISSUE #159] [DOCS]: Add docs for SSE and Streamable MCP transports