claude-flow
MCP server by ruvnet Community
Coordinates swarms of AI agents for Claude Code and Codex, with agents, hooks, memory and an MCP server added to a project. It is aimed at developers who want agents to review, test and change code in a repo.
Install claude-flow
Built from the published package, never by AI.
claude mcp add claude-flow -- npx -y claude-flowRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"claude-flow": {
"args": [
"-y",
"claude-flow"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"claude-flow": {
"args": [
"-y",
"claude-flow"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"claude-flow": {
"args": [
"-y",
"claude-flow"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add claude-flow -- npx -y claude-flow{
"mcpServers": {
"claude-flow": {
"args": [
"-y",
"claude-flow"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add claude-flow npx -y claude-flowGemini 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 block.
About
claude-flow is published on npm as ruflo, and the source describes it 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, a Mission Control console that can run inside Claude Code, and vector memory built on AgentDB. A MetaHarness feature grades agent setup readiness and scans tool configs for security issues. It suits developers who want several agents to work on a project, with results checked in the project diff and test output.
Written from the project's README and checked against it.
Tools it gives your assistant
ruflo initAdds agents, hooks, memory and an MCP server to the project folder.ruflo mcp startRuns the MCP server for Claude Code, Codex or other MCP clients.Swarm coordinationHierarchical, mesh and adaptive topologies with consensus between agents.Mission ControlTracks workflows, agents, token use and cost, and lets you inspect and replay runs.Vector memoryHNSW-indexed AgentDB for searching agent memory.MetaHarnessGrades agent setup readiness from 1 to 100 and scans tool configs for security issues.Phone connectorPairs a RuFlo or Orca phone app with this computer over LAN or Tailscale.
What you need
- Node.js with npx to run npx ruflo@latest
- Claude Code 2.1.287 or later for plugin installs
- Git-Bash, WSL or MSYS for the curl install script on Windows
| Setting | Needed | What it is |
|---|---|---|
ANTHROPIC_Environment variable, secret | Optional | Anthropic API key for Claude AI models |
CLAUDE_Environment variable | Optional | Operation mode: development, production, or test |
CLAUDE_Environment variable | Optional | Path for persistent memory storage |
CLAUDE_Environment variable | Optional | Maximum number of concurrent agents |
CLAUDE_Environment variable | Optional | MCP server port |
GITHUB_Environment variable, secret | Optional | GitHub personal access token for repository operations |
FLOW_Environment variable, secret | Optional | Flow Nexus cloud platform API key |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use a ruflo swarm to review this repo and find the riskiest module.
- Create a mission to add a dark mode toggle and show its status.
- Grade the readiness of my AI agent setup with MetaHarness.
Good to know
- Claude control defaults to read and ask, and actions above the selected level are refused.
- Network, spending and destructive actions need confirmation even in auto mode.
- Mods run with your account's permissions, so review their code before installing.
- The phone connector is opt-in and read-only by default.
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
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: common questions
Does claude-flow work with Codex?
The source says Codex and other MCP clients work too. They can be pointed at `npx -y ruflo@latest mcp start`.
Does the plugin install add files to my project?
The source says the Claude Code plugin route adds no files to your workspace. The CLI install adds files such as .claude/, .claude-flow/ and CLAUDE.md.
Is the phone connector enabled by default?
No. The phone connector is an opt-in add-on installed only when you run setup, and a phone is read-only unless you start the daemon with --full.
How do I install claude-flow?
In Claude Code run claude mcp add claude-flow -- npx -y claude-flow. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is claude-flow the official server?
claude-flow is a community project by ruvnet, not verified by a company domain.
Is claude-flow free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is claude-flow 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?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does claude-flow 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.
