Skip to content
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

Fix/support to connect claude mcp filesystem #85

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

melvinodsa
Copy link

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.

I am open to changes. With these changes I am able to connect to MCP Fileserver

jhaynie added a commit to agentuity/mcp-golang that referenced this pull request Mar 22, 2025
@Joffref
Copy link

Joffref commented Apr 7, 2025

+1 for merging this, any ETA?

Joffref added a commit to beamlit/toolkit that referenced this pull request Apr 7, 2025
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

Successfully merging this pull request may close these issues.

2 participants