Open
Description
While connecting to mcp filesystem server we are getting the following error
failed to initialize: RPC error -32603: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"params",
"protocolVersion"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"params",
"capabilities"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"params",
"clientInfo"
],
"message": "Required"
}
]
Couldn't find much info around the documentation nor code. Just by adding protocolVersion
, capabilities
, clientInfo
the issues seems to be going away. Adding client info seems to be on the right path as in documentation it mentions to share the same. But not sure on protocolVersion
or capabilities
Metadata
Metadata
Assignees
Labels
No labels