Claude Flow CLI
MCP server by ruvnet Verified · npm:@claude-flow
Ruflo is an agent orchestration harness that adds agents, hooks, memory and an MCP server to a project for Claude Code and Codex. It suits developers who want multi-agent swarms working on their own repositories.
Install Claude Flow CLI
Built from the published package, never by AI.
claude mcp add claude-flow-cli -- npx -y @claude-flow/cliRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"claude-flow-cli": {
"args": [
"-y",
"@claude-flow/cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"claude-flow-cli": {
"args": [
"-y",
"@claude-flow/cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"claude-flow-cli": {
"args": [
"-y",
"@claude-flow/cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add claude-flow-cli -- npx -y @claude-flow/cli{
"mcpServers": {
"claude-flow-cli": {
"args": [
"-y",
"@claude-flow/cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add claude-flow-cli npx -y @claude-flow/cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the claude-flow-cli block.
About
Ruflo is described as an agent meta-harness for Claude Code and Codex. Running npx ruflo@latest init in a project adds its agents, hooks, memory and MCP server, and Claude Code picks them up on its next start. Other MCP clients can connect by running npx -y ruflo@latest mcp start.
The project offers swarm coordination with hierarchical, mesh and adaptive topologies, self-learning patterns, and HNSW-indexed vector memory. Optional extras include a Mission Control console, an opt-in phone connector and a MetaHarness audit that grades agent setup readiness. It is aimed at developers who want multi-agent workflows in Claude Code or Codex.
Written from the project's README and checked against it.
Tools it gives your assistant
Swarm coordinationCoordinates multiple agents with hierarchical, mesh and adaptive topologies, plus consensus.Self-learningUses SONA neural patterns, ReasoningBank and trajectory learning.Vector memoryProvides HNSW-indexed AgentDB memory for agents.Background workersRuns 12 auto-triggered workers such as audit, optimize and testgaps.Multi-provider routingRoutes work across Claude, GPT, Gemini, Cohere and Ollama.Mission Control consoleTracks workflows, agents, token use and cost, and inspects run logs.MetaHarnessGrades agent setup readiness, scans tool configs and snapshots the project.Phone connectorPairs a RuFlo or Orca phone app with the computer over LAN or Tailscale.
What you need
- Claude Code 2.1.287 or later for the plugin install route
- npx to run the ruflo package
- Codex or another MCP client, if used instead of Claude Code
- A POSIX shell (Git-Bash, WSL or MSYS) for the curl install script
Try asking
- Use a ruflo swarm to review this repo and write tests for the riskiest module.
- Create a mission to add a dark mode toggle and show its status.
- Audit my AI agent setup and grade its readiness before I ship.
Good to know
- Mods run with your account's permissions, so review their code before installing.
- The phone connector is read-only by default and needs --full for terminals and agent tabs.
- Claude control in the console defaults to read and ask approval.
- Vector search beats brute force only above a crossover size, according to the project's benchmark.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://cdn.jsdelivr.net/gh/ruvnet/ruflo@main/scripts/install.sh | bash
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Claude Flow CLI
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Claude Flow CLI: common questions
Does Ruflo work with Codex?
The README says Codex and other MCP clients work by pointing them at the ruflo MCP start command. It is presented as an alternative to Claude Code.
Does the phone connector need an account or relay?
The source says the link is end-to-end encrypted and needs no desktop app, relay or account. The connector is an opt-in add-on.
Is the agent able to change files in my project?
Agents work on the project you initialize, and the README advises reviewing the diff and test results. Console control levels limit what Claude can do, with read and ask as the default.
How do I install Claude Flow CLI?
In Claude Code run claude mcp add claude-flow-cli -- npx -y @claude-flow/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Claude Flow CLI the official server?
Claude Flow CLI is published by npm:@claude-flow from its verified domain in the official MCP Registry.
Is Claude Flow CLI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Claude Flow CLI safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Claude Flow CLI?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Claude Flow CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
