Cowork: Claude Code process exits with code 1 — Failed to create bridge sockets after 5 attempts
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When creating a Cowork task that uses an MCP connector (e.g. Canva), Claude Code process immediately exits with code 1. The error in ~/Library/Logs/Claude/cowork_vm_node.log is:
Error: Failed to create bridge sockets after 5 attempts
Process exited, code=1, signal=null, duration=~1000ms, oom=false
The UI shows "Something went wrong — Claude Code process exited with code 1".
What Should Happen?
Cowork task with MCP connector should start and run successfully without bridge socket errors.
Error Messages/Logs
From ~/Library/Logs/Claude/cowork_vm_node.log:
[vm-stderr] Error: Failed to create bridge sockets after 5 attempts
[Process] Exited, code=1, signal=null, duration=912ms, oom=false
Claude Code VM version: 2.1.111
macOS: Darwin 25.3.0
Steps to Reproduce
- Open Claude desktop app → Cowork
- Create a new task that uses an MCP connector (e.g. "Canva: make me Instagram designs")
- Task immediately fails with "Something went wrong — Claude Code process exited with code 1"
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.89 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
The MCP connector itself works fine — tested Canva MCP directly in Claude Code and it returns correct results. The issue is specifically with the bridge socket mechanism used by Cowork VM to communicate with MCP servers. Restarting Claude app does not fix the issue.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗