Files
ruflo/agents
rUv a25872c7c8 fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility (#982)
* fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility

Fixes #966 - MCP tool names containing "/" break Claude Desktop integration.
Claude Desktop requires tool names to match pattern: ^[a-zA-Z0-9_-]{1,64}$

Changes:
- Replaced "/" with "_" in all 184 MCP tool names across 22 files
- Updated tool categories: agent_, swarm_, memory_, config_, hooks_,
  session_, task_, workflow_, hive-mind_, neural_, performance_,
  coordination_, browser_, embeddings_, progress_, github_, transfer_,
  claims_, daa_, analyze_, system_, terminal_
- Published @claude-flow/cli@3.0.0-alpha.157
- Published claude-flow@3.0.0-alpha.157
- Updated all dist-tags (alpha, latest, v3alpha)

Example tool name changes:
- hooks/pre-edit → hooks_pre-edit
- memory/store → memory_store
- agent/spawn → agent_spawn

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix(mcp): complete tool naming fix with CLI command references

Follow-up to initial fix - updates all callMCPTool() references in CLI commands
to use the new underscore-separated tool names that match the MCP tool definitions.

Files updated:
- commands/agent.ts, swarm.ts, session.ts, task.ts, hooks.ts, memory.ts
- commands/hive-mind.ts, progress.ts, analyze.ts, workflow.ts
- commands/mcp.ts, status.ts, start.ts
- mcp-client.ts (documentation)
- mcp-tools/hooks-tools.ts (intelligence_* sub-tools)

Verified working:
- agent list, memory list, hooks list all work correctly
- No remaining tool calls with "/" separator
- All 192 MCP tools now use underscore separator

Published:
- @claude-flow/cli@3.0.0-alpha.159
- claude-flow@3.0.0-alpha.159

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-01-22 13:55:25 -05:00
..