[BUG] MCP is broken ENOENT on MacOS

Resolved 💬 3 comments Opened Aug 18, 2025 by dprkh Closed Aug 18, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.83
  • Operating System: macOS 15.6
  • Terminal: Alactritty

Bug Description

No MCP works, always ENOENT

Steps to Reproduce

  1. Add any MCP
  2. Run claude --debug

Expected Behavior

MCP works

Actual Behavior

ENOENT

Additional Context

[DEBUG] MCP server "test": Connection failed: Error: spawn echo 'Hello World' ENOENT
[DEBUG] MCP server "test": Error message: spawn echo 'Hello World' ENOENT
[DEBUG] MCP server "test": Error stack: Error: spawn echo 'Hello World' ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
{
  "mcpServers": {
    "test": {
      "type": "stdio",
      "command": "echo 'Hello World'",
      "args": [],
      "env": {}
    }
  }
}

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗