[Feature Request] Optimize MCP server startup to reduce connection timeouts
Resolved 💬 2 comments Opened Mar 3, 2026 by meirpro Closed Mar 31, 2026
Bug Description
maybe the way mcp servers spin up needs to be optimized so that it doesnt cause issues with tccd...
claude helped me diagnose...
- The Documents folder lockout was caused by tccd (macOS privacy daemon)
crashing under load from ~72 node processes
- Cleaned up MCP config — playwright + context7 now global only, removed
puppeteer, eliminated duplicates across 4 project configs
- Process count down from 72 node / 18 claude to 18 node / 4 claude
Keep an eye on stale Claude sessions going forward — each one holds onto MCP
processes even when idle.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.63
- Feedback ID: bd5fb9bf-1107-49c6-ab26-7168b64891a5
Errors
[{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at m9 (/$bunfs/root/claude:6252:11395)\n at D$0 (/$bunfs/root/claude:6344:4402)\n at <anonymous> (/$bunfs/root/claude:6344:7318)\n at A (/$bunfs/root/claude:11:8107)\n at <anonymous> (/$bunfs/root/claude:12193:438)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.499Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at BS8 (/$bunfs/root/claude:6253:1902)\n at a1T (/$bunfs/root/claude:6253:2372)\n at m_ (/$bunfs/root/claude:6253:2299)\n at yaT (/$bunfs/root/claude:6283:10243)\n at M6 (/$bunfs/root/claude:6283:10058)\n at Kv (/$bunfs/root/claude:2362:48378)","timestamp":"2026-03-03T03:04:32.500Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at m9 (/$bunfs/root/claude:6252:11395)\n at gbT (/$bunfs/root/claude:268:21431)\n at w3R (/$bunfs/root/claude:268:21393)\n at UB0 (/$bunfs/root/claude:5709:3892)\n at <anonymous> (/$bunfs/root/claude:12218:414)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.593Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at BS8 (/$bunfs/root/claude:6253:1902)\n at a1T (/$bunfs/root/claude:6253:2372)\n at m_ (/$bunfs/root/claude:6253:2299)\n at tKR (/$bunfs/root/claude:1792:20474)\n at uhT (/$bunfs/root/claude:1792:15777)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.612Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at m9 (/$bunfs/root/claude:6252:11395)\n at mhT (/$bunfs/root/claude:6253:2417)\n at tKR (/$bunfs/root/claude:1792:20657)\n at uhT (/$bunfs/root/claude:1792:15777)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.613Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at m9 (/$bunfs/root/claude:6252:11395)\n at mhT (/$bunfs/root/claude:6253:2417)\n at tKR (/$bunfs/root/claude:1792:20657)\n at uhT (/$bunfs/root/claude:1792:15777)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.613Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/***/.local/share/claude/versions/2.1.63 (expected in multi-process scenarios)\n at sVR (/$bunfs/root/claude:2436:2100)\n at QjA (/$bunfs/root/claude:2436:1211)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-03T03:04:32.628Z"},{"error":"Error: EPERM: operation not permitted, open '/Users/***/.claude/settings.json'\n at readFileSync (unknown)\n at readFileSync (/$bunfs/root/claude:12:1112)\n at OG (/$bunfs/root/claude:6268:251)\n at wt (/$bunfs/root/claude:6252:10059)\n at BS8 (/$bunfs/root/claude:6253:1902)\n at a1T (/$bunfs/root/claude:6253:2372)\n at m_ (/$bunfs/root/claude:6253:2299)\n at U2 (/$bunfs/root/claude:6283:8567)\n at __ (/$bunfs/root/claude:6284:3287)\n at y6 (/$bunfs/root/claude:670:19607)\n at async <anonymous> (/$bunfs/root/claude:12222:338)","timestamp":"2026-03-03T03:04:35.140Z"},{"error":"Error\n…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗