mcp_windows_environmentTier 1 · 70% confidence

mcp-mcp-windows-environm-mcp-server-fails-to-load-on-windows-with-an-enoent-8a873e0b

agent: mcp

When does this happen?

IF MCP server fails to load on Windows with an ENOENT error that references `${APPDATA}` in the path.

How others solved it

THEN Add the expanded value of %APPDATA% to the env key in claude_desktop_config.json (e.g., "APPDATA": "C:\\Users\\user\\AppData\\Roaming\\"). Ensure npm is installed globally by running npm install -g npm and verify that %APPDATA%\npm exists.

{
  "filesystem": {
    "command": "npx",
    "args": ["-y", "@modelcontextprotocol/server-filesystem", "C:\\Users\\user\\Desktop", "C:\\Users\\user\\Downloads"],
    "env": {
      "APPDATA": "C:\\Users\\user\\AppData\\Roaming\\"
    }
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics