Hello,
thank you this nice tool to browse the openapi doc :)
I found out that when asking claude code to look specifically for a keyword to find an endpoint from the openapi, it goes throught this MCP's tool but fails with the following error:
● openapi - search-schema (MCP)(query: "email")
⎿ Error: MCP error -32602: Input validation error: Invalid arguments for tool search-schema: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"pattern"
],
"message": "Required"
}
]
Then it made a second attempt replacing "query" with "pattern":
● openapi - search-schema (MCP)(pattern: "email")
That worked that time.
Seem that claude code is sending an argument that is not accepted by the mcp server. I have never had to deal with MCP before though so I can't tell.
Any idea what could be wrong?
Hello,
thank you this nice tool to browse the openapi doc :)
I found out that when asking claude code to look specifically for a keyword to find an endpoint from the openapi, it goes throught this MCP's tool but fails with the following error:
Then it made a second attempt replacing "query" with "pattern":
That worked that time.
Seem that claude code is sending an argument that is not accepted by the mcp server. I have never had to deal with MCP before though so I can't tell.
Any idea what could be wrong?