MCP websocket tools/list locks up #7104
Unanswered
browsified
asked this question in
Troubleshooting
Replies: 1 comment
-
running the same steps through postman, works without issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
When initializing an MCP via websocket and it gets to the tools/list portion, i can see where my service sends back a request like this (stringified)
"{"jsonrpc":"2.0","params":{"tools":[{"name":"confluence","description":"Search Confluence documents and pages","inputSchema":{"properties":{"query":{"description":"Search query string","type":"string"},"space":{"description":"Optional space key","type":"string"}},"required":["query"],"type":"object"}}]},"id":1}"
i then see these logs on librechat side
2025-04-27T23:51:55.202Z info: [MCP][everything] Capabilities: {"logging":{},"prompts":{},"resources":{},"tools":{}}
2025-04-27T23:51:55.762Z debug: [MCP][everything] Transport sending: {"method":"tools/list","jsonrpc":"2.0","id":1}
and then eventually i see this
2025-04-28T00:00:19.547Z info: [MCP] Initializing servers
2025-04-28T00:00:19.548Z info: [MCP][everything] Connection state: connecting
2025-04-28T00:00:19.555Z debug: [MCP][everything] Transport sending: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"librechat... [truncated]
2025-04-28T00:00:19.559Z debug: [MCP][everything] Transport sending: {"method":"notifications/initialized","jsonrpc":"2.0"}
2025-04-28T00:00:19.560Z info: [MCP][everything] Connection state: connected
2025-04-28T00:00:19.561Z info: [MCP][everything] Capabilities: {"logging":{},"prompts":{},"resources":{},"tools":{}}
2025-04-28T00:00:19.561Z debug: [MCP][everything] Transport sending: {"method":"tools/list","jsonrpc":"2.0","id":1}
2025-04-28T00:00:19.571Z debug: Existing Token Indexes: []
2025-04-28T00:00:19.571Z debug: No unwanted Token indexes found.
2025-04-28T00:01:19.565Z debug: [MCP][everything] Transport sending: {"jsonrpc":"2.0","method":"notifications/cancelled","params":{"requestId":1,"reason":"Error: MCP error -32001: Re... [truncated]
2025-04-28T00:01:19.570Z error: [MCP][everything] Initialization failed MCP error -32001: Request timed out
2025-04-28T00:01:19.570Z info: [MCP] Initialized 1/1 server(s)
2025-04-28T00:01:19.571Z warn: [MCP] 1/1 server(s) failed to initialize
2025-04-28T00:01:19.571Z info: [MCP][everything] ✓ Initialized
2025-04-28T00:01:19.572Z info: [MCP] All servers initialized successfully
it locks up for about a min, long enough to timeout, and i cant seem to nail down where its happening. the transports SAYS it is connected
Version Information
latest
Steps to Reproduce
you can use the json in the example
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions