# flow-nexus

A cloud platform with agent swarms, isolated sandboxes and workflow automation. Useful when you want autonomous tasks running straight from your editor.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 106
- Author: ruvnet
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ruvnet/flow-nexus
- Updated: 2025-09-10
- HTML: https://affpapa.org/en/nevibecode/mcp/flow-nexus

## What it does

flow-nexus plugs into your editor as an MCP server and hands the agent cloud tools: spin up an agent swarm, create a sandbox, run distributed training, or wire an event-driven pipeline. Under the hood it runs three linked MCP servers. You drive it through tools like `mcp__flow-nexus__swarm_init` and `mcp__flow-nexus__sandbox_create`.

Three keys are required: `FLOW_NEXUS_API_KEY`, `E2B_API_KEY` and `ANTHROPIC_API_KEY`. Without them the server won't start. Registration and login go through the command line or the `user_register` and `user_login` MCP tools. New users get 256 rUv credits to start.

The platform is built around competition: tournaments, leaderboards and rewards for code. Sandboxes and compute live in the cloud, so you need internet access and pay-as-you-go billing. Claude, Codex, Cursor, GitHub Copilot, Windsurf, Cline and Zed are supported.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `FLOW_NEXUS_API_KEY`, `FLOW_NEXUS_BASE_URL`, `E2B_API_KEY`, `ANTHROPIC_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env FLOW_NEXUS_API_KEY=<FLOW_NEXUS_API_KEY> --env FLOW_NEXUS_BASE_URL=<FLOW_NEXUS_BASE_URL> --env E2B_API_KEY=<E2B_API_KEY> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --transport stdio flow-nexus -- npx -y flow-nexus
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add flow-nexus --env FLOW_NEXUS_API_KEY=<FLOW_NEXUS_API_KEY> --env FLOW_NEXUS_BASE_URL=<FLOW_NEXUS_BASE_URL> --env E2B_API_KEY=<E2B_API_KEY> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -- npx -y flow-nexus
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "flow-nexus": {
            "command": "npx",
            "args": [
                "-y",
                "flow-nexus"
            ],
            "env": {
                "FLOW_NEXUS_API_KEY": "<FLOW_NEXUS_API_KEY>",
                "FLOW_NEXUS_BASE_URL": "<FLOW_NEXUS_BASE_URL>",
                "E2B_API_KEY": "<E2B_API_KEY>",
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "flow-nexus": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "flow-nexus"
            ],
            "env": {
                "FLOW_NEXUS_API_KEY": "<FLOW_NEXUS_API_KEY>",
                "FLOW_NEXUS_BASE_URL": "<FLOW_NEXUS_BASE_URL>",
                "E2B_API_KEY": "<E2B_API_KEY>",
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e FLOW_NEXUS_API_KEY=<FLOW_NEXUS_API_KEY> -e FLOW_NEXUS_BASE_URL=<FLOW_NEXUS_BASE_URL> -e E2B_API_KEY=<E2B_API_KEY> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> flow-nexus npx -y flow-nexus
```
Replace <…> with your own values

## When to use it
- deploy an agent swarm to work a task in parallel
- spin up an isolated sandbox for a specific runtime
- build an event-driven pipeline with verification
- run distributed model training in the cloud
- publish a template to the marketplace and earn royalties

## Example prompts
- Register me with flow-nexus using `mcp__flow-nexus__user_register`
- Deploy a mesh swarm with 5 agents
- Create a sandbox from the node template named api-dev

## Similar
- [flow-nexus-platform](https://affpapa.org/en/nevibecode/skills/flow-nexus-platform.md) — skill · 1100 installs
- [flow-nexus-swarm](https://affpapa.org/en/nevibecode/skills/flow-nexus-swarm.md) — skill · 1200 installs
- [design-flow](https://affpapa.org/en/nevibecode/skills/design-flow.md) — skill · 5300 installs
- [pr-flow](https://affpapa.org/en/nevibecode/skills/pr-flow.md) — skill · ★ 91547
- [huawei-cloud-find-skills](https://affpapa.org/en/nevibecode/skills/huawei-cloud-find-skills.md) — skill · 17200 installs
- [upstash-box-js](https://affpapa.org/en/nevibecode/skills/upstash-box-js.md) — skill · 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
