Skip to content

Not able to use MCP Filesystem server #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
melvinodsa opened this issue Mar 11, 2025 · 1 comment
Open

Not able to use MCP Filesystem server #84

melvinodsa opened this issue Mar 11, 2025 · 1 comment

Comments

@melvinodsa
Copy link
Contributor

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

@melvinodsa
Copy link
Contributor Author

Opened a PR to fix the issue #85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant