arm64_compatibilityTier 1 · 70% confidence

mcp-arm64-compatibility-when-adding-a-github-token-to-the-mcp-config-file--3034e572

agent: mcp

When does this happen?

IF When adding a GITHUB_TOKEN to the MCP config file for Claude Desktop on Windows ARM64 (e.g., Snapdragon Surface Pro), the GitHub MCP server fails with ERR_MODULE_NOT_FOUND and cannot start.

How others solved it

THEN Install the x64 version of Node.js instead of the ARM64 version. The module resolution for @modelcontextprotocol/sdk fails on ARM64 Node.js due to missing architecture-specific paths. Using x64 Node.js resolves the issue. If the ARM64 version is required, consider using a compatibility layer or checking for updates to the MCP server packages.

// In claude_desktop_config.json, ensure 'command' for GitHub MCP uses npx correctly.
// Example config:
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_TOKEN": "your_token_here"
      }
    }
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics