[GH-ISSUE #3868] [BUG]: MCP Servers #2468

Closed
opened 2026-02-22 18:29:48 -05:00 by yindo · 2 comments
Owner

Originally created by @StefanBelo on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3868

How are you running AnythingLLM?

Windows Desktop (local)

What happened?

I have got version v1.8.1-r2. My settings:

{
  "mcpServers": {
    "inputs": [],
    "servers": {
        "BfexplorerApp": {
            "type": "sse",
            "url": "http://localhost:10043/sse"
         }
     }
  }
}

It works fine in GitHub Copilot, and MCP Inspector v0.12.0 discover server and its tools. Does AnythingLLM really supports mcp sse protocol because I have got following error message:

Failed to start MCP server: servers [ERR_INVALID_URL] Invalid URL

Image

Image

Are there known steps to reproduce?

No response

Originally created by @StefanBelo on GitHub (May 22, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3868 ### How are you running AnythingLLM? Windows Desktop (local) ### What happened? I have got version v1.8.1-r2. My settings: ```json { "mcpServers": { "inputs": [], "servers": { "BfexplorerApp": { "type": "sse", "url": "http://localhost:10043/sse" } } } } ``` It works fine in GitHub Copilot, and MCP Inspector v0.12.0 discover server and its tools. Does AnythingLLM really supports mcp sse protocol because I have got following error message: Failed to start MCP server: servers [ERR_INVALID_URL] Invalid URL ![Image](https://github.com/user-attachments/assets/cf8c0346-8c07-4757-ab7a-d28627c8e3e8) ![Image](https://github.com/user-attachments/assets/da101563-94f5-4063-9d46-20344364abc3) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:29:48 -05:00
yindo closed this issue 2026-02-22 18:29:48 -05:00
Author
Owner

@DavidGil-dagg commented on GitHub (May 22, 2025):

Me again. Same problem

Failed to start MCP server: remote-mcp-function {"error":"SSE error: Non-200 status code (401)","code":401,"stack":"Error: SSE error: Non-200 status code (401)\n at _eventSource.onerror (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js:73:31)\n at EventSource.failConnection_fn (/app/server/node_modules/eventsource/dist/index.cjs:236:53)\n at /app/server/node_modules/eventsource/dist/index.cjs:78:74\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}

"remote-mcp-function": {
"type": "sse",
"url": "https://asfasfasfasfasfasfasf.azurewebsites.net/runtime/webhooks/mcp/sse",
"headers": {
"x-functions-key": "*********"
}
}

@DavidGil-dagg commented on GitHub (May 22, 2025): Me again. Same problem Failed to start MCP server: remote-mcp-function {"error":"SSE error: Non-200 status code (401)","code":401,"stack":"Error: SSE error: Non-200 status code (401)\n at _eventSource.onerror (/app/server/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js:73:31)\n at EventSource.failConnection_fn (/app/server/node_modules/eventsource/dist/index.cjs:236:53)\n at /app/server/node_modules/eventsource/dist/index.cjs:78:74\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"} "remote-mcp-function": { "type": "sse", "url": "https://asfasfasfasfasfasfasf.azurewebsites.net/runtime/webhooks/mcp/sse", "headers": { "x-functions-key": "*********" } }
Author
Owner

@StefanBelo commented on GitHub (May 23, 2025):

I am sorry I was wrong. I used configuration settings from Github Copilot, it should be:

{
  "mcpServers": {
     "BfexplorerApp": {
        "type": "sse",
        "url": "http://localhost:10043/sse"
     }
  }
}

All is working fine now.

@StefanBelo commented on GitHub (May 23, 2025): I am sorry I was wrong. I used configuration settings from Github Copilot, it should be: ``` { "mcpServers": { "BfexplorerApp": { "type": "sse", "url": "http://localhost:10043/sse" } } } ``` All is working fine now.
yindo changed title from [BUG]: MCP Servers to [GH-ISSUE #3868] [BUG]: MCP Servers 2026-06-05 14:46:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2468