Claude Code errors / Connectivity

MCP servers failed to connect

platform: Claude Code / category: Connectivity

Cause

An MCP server child process is aborted during initialization, often due to a missing API key in keychain or an init timeout before the server responds.

Fix

Verify your Anthropic API key is set and reachable. Test the MCP server binary directly in a terminal to confirm it starts within the timeout. Create the missing cache directory: mkdir -p ~/Library/Caches/claude-cli-nodejs. If the same config works in Claude Desktop, update Claude Code to the latest version (a known CLI-only bug).

Source thread →

Part of the Automation Error Index — Claude Code errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem