Skip to content

Not able to use MCP Filesystem server #84

Open
@melvinodsa

Description

@melvinodsa

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions