-
|
I'm using python clinet and nodejs server with ubuntu. When running the server always have the error "MCP error -32602: Tool XXX not found" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @clsljt Thanks for trying MongoDB Lens I'm not familiar with your Python client (can you provide more details please), but it looks like your client interpreter logic isn't returning correct tool names (its returning - listDatabases (incorrect)
should be
+ list-databases (correct)Referring to the MongoDB Lens docs, a user query is usually interpreted by an LLM to select the correct tool to run against it, and it looks like your client is returning invalid tool names for whatever reason Cheers |
Beta Was this translation helpful? Give feedback.

Hi @clsljt
Thanks for trying MongoDB Lens
I'm not familiar with your Python client (can you provide more details please), but it looks like your client interpreter logic isn't returning correct tool names (its returning
camelCasefor tool names, but MongoDB Lens tool names arekebab-case)Referring to the MongoDB Lens docs, a user query is usually interpreted by an LLM to select the correct tool to run against it, and it looks like your client is returning invalid tool names for whatever reason
Cheers