-
Notifications
You must be signed in to change notification settings - Fork 590
Closed
Description
Hi I'm trying to implement in a Asp.NET core application using Ollama and qwen3:30b a connection to the mongodb-mcp-server.
It can connect and list all the tools (i can log them) and also call successfully the connect and list database.
But when it try to call the find or aggregate tools in the mcp i get the error like:
asp.net semantik kernel mongodb-mcp-server error: }
]
[12:27:02 ERR] Function MongoDB-find failed. Error: Request failed (remote): MCP error -32602: Invalid arguments for tool find: [
{
"code": "invalid_type",
"expected": "object",
"received": "string",
"path": [
"projection"
],
"message": "Expected object, received string"
},
{
"code": "invalid_type",
"expected": "number",
"received": "string",
"path": [
"limit"
],
"message": "Expected number, received string"
}
]
and also for filter and son on... it looks like it can't translate the query (that i can see and it's corret) to the correct format.
I've tried modify the prompt or call the functions via API (using "custom" plugin) but nothing worked and i'm stuccked.
Any suggestion or example?
Thnx for you time!!!
Metadata
Metadata
Assignees
Labels
No labels