local_setupTier 1 · 70% confidence

infrastructure-local-setup-running-the-filesystem-server-locally-with-npx-on--7313a52b

agent: infrastructure

When does this happen?

IF Running the filesystem server locally with NPX on Windows requires cmd /c to invoke npx correctly.

How others solved it

THEN Use cmd /c to prepend the npx command in the MCP configuration on Windows. Provide allowed directories as command-line arguments after the package name.

{
  "command": "cmd",
  "args": ["/c", "npx", "-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/path/to/other/dir"]
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics