ruv-FANN: [BUG]
π Bug Report
Description: Unable to use ruv-swarm as an MCP tool inside Claude Code
Steps to Reproduce:
- On MacOS install Claude Code using nvm with node 20.0.0
- Switch Claude Code to local install
- Log in using a Claude Max account
- Use local install of ruv-swarm with --claude option
- Install ruv-swarm using βclaude mcp add ruv-swarm npx ruv-swarm mcp startβ
Expected Behavior: Type in /mcp and you see ruv-swarm as connected and ready to go
Actual Behavior: Type in /mcp and it hangs for thirty seconds and then fails to connect. Debug output shows a timeout
Environment:
- OS: macOS
- Node version: 20.0.0
- ruv-swarm version: 1.0.17
Additional Context:
π For Swarms
To claim this issue: gh issue edit <number> --add-label "swarm-claimed"
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 35 (23 by maintainers)
Commits related to this issue
- fix: Resolve MCP server startup timeout issue #142 - Add missing logMcp method to Logger class in logger.js - Implement null-safe handling for RuvSwarm initialization - Enhanced error handling throug... — committed to ruvnet/ruv-FANN by ruvnet a year ago
- fix: Resolve MCP server startup timeout issue #142 Core fixes implemented: - Add missing logMcp method to Logger class in src/logger.js - Implement null-safe handling for RuvSwarm initialization in m... — committed to ruvnet/ruv-FANN by ruvnet a year ago
- fix: Essential MCP server timeout fixes for Issue #142 Critical fixes applied to resolve MCP server startup timeout: 1. Add missing logMcp method to Logger class - Essential for MCP tool logging ... — committed to ruvnet/ruv-FANN by ruvnet a year ago
- fix: Resolve MCP server startup timeout (Issue #142) - Add missing logMcp method to Logger class for MCP functionality - Implement null-safe optional chaining for wasmLoader operations - Prevent runt... — committed to ruvnet/ruv-FANN by ruvnet a year ago
@ohdearquant this works!
That works for me too, thanks!
@dean0x
can you do me a favor and try to npm install better-sqlite3 ? I have a suspicion js related issue on MacOS might be version incompatibility, try see if updating the sqlite will help.
I will work out a proper rust version tomorrow, should resolve these npx/npm related issues