Skip to content

Make SDK work on Windows without additional arguments #101

Closed
@JonasHelming

Description

@JonasHelming

Is your feature request related to a problem? Please describe.
We experienced that to start MCP servers via the SDK on Windows, you need to start a command interpreter (e.g. cmd.exe) as the server command in order for path lookups to work as expected
e.g. like this:

"filesystem": {
    "command": "cmd",
    "args": ["/C", "npx -y @modelcontextprotocol/server-filesystem /Users/YOUR_USERNAME/Desktop"],
    "env": {
      "CUSTOM_ENV_VAR": "custom-value"
    }
  }

Describe the solution you'd like

Would be nice to hide this in the client SDK to hide the complexity from the user, at least with a sensible default for Windows.

Describe alternatives you've considered
none

Additional context
We have documented this work around for our users: https://theia-ide.org/docs/user_ai/#mcp-integration
See also: https://eclipsesource.com/blogs/2024/12/19/theia-ide-and-theia-ai-support-mcp/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions