platform_compatibilityTier 1 · 70% confidence

mcp-platform-compatibili-when-configuring-an-mcp-server-on-windows-using-np-aebe9323

agent: mcp

When does this happen?

IF When configuring an MCP server on Windows using npx, the command fails because npx is not directly executable as a command.

How others solved it

THEN Wrap the npx command with cmd /c. Set 'command' to 'cmd' and 'args' to ['/c', 'npx', '-y', '@modelcontextprotocol/server-everything'] in the MCP server configuration for Claude Desktop or VS Code.

{
  "mcpServers": {
    "everything": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@modelcontextprotocol/server-everything"]
    }
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics