C

Claude Flow

by ruvnet · io.github.ruvnet/claude-flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

Claude Flow is a local (stdio) MCP server by ruvnet in the AI & LLM category. It runs with npx -y claude-flow, declares 3 secret settings, and is listed in 1 registry.

npm Local · stdio Official MCP Registry High confidence
Note

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ruvnet-claude-flow": {
      "command": "npx",
      "args": [
        "-y",
        "claude-flow"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "CLAUDE_FLOW_MODE": "<VALUE>",
        "CLAUDE_FLOW_MEMORY_PATH": "<VALUE>",
        "CLAUDE_FLOW_MAX_AGENTS": "<VALUE>",
        "CLAUDE_FLOW_PORT": "<VALUE>",
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "FLOW_NEXUS_API_KEY": "<YOUR_VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ANTHROPIC_API_KEY secret No Anthropic API key for Claude AI models
CLAUDE_FLOW_MODE No Operation mode: development, production, or test
CLAUDE_FLOW_MEMORY_PATH No Path for persistent memory storage
CLAUDE_FLOW_MAX_AGENTS No Maximum number of concurrent agents
CLAUDE_FLOW_PORT No MCP server port
GITHUB_TOKEN secret No GitHub personal access token for repository operations
FLOW_NEXUS_API_KEY secret No Flow Nexus cloud platform API key

Similar servers