Skip to content
MCP server

Harflow MCP

Local MCP server that hands coding tasks to headless agent CLIs and tracks them

Runs locally

Harflow MCP is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.0.14
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add harflow-mcp -- uvx harflow-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "harflow-mcp": {
      "command": "uvx",
      "args": [
        "harflow-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "harflow-mcp": {
      "command": "uvx",
      "args": [
        "harflow-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "harflow-mcp": {
      "command": "uvx",
      "args": [
        "harflow-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "harflow-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "harflow-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add harflow-mcp -- uvx harflow-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.harflow-mcp]
command = "uvx"
args = ["harflow-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "harflow-mcp": {
      "command": "uvx",
      "args": [
        "harflow-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user harflow-mcp uvx -- harflow-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "harflow-mcp": {
          "command": "uvx",
          "args": [
            "harflow-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Harflow MCP

Harflow MCP sits between your MCP client and the coding-agent command-line tools already installed on your machine. The README lists Claude Code, Codex, opencode, Vibe, Antigravity and the Cursor Agent CLI as dispatch targets. Each task gets a persistent history, so you can come back later, read bounded slices of the output, cancel it or continue it.

Permissions are a large part of the design. Callers can opt in to approving individual Bash, Read, Write and Edit requests one exact action at a time on measured Claude Code versions, and the README describes a similar path for Codex on macOS through its app-server. A task can also be granted a bounded list of specific Bash commands through allowed_commands instead of unrestricted access. Approval requests left unanswered for 1800 seconds are rejected, never approved.

Beyond single tasks it supports reusable workflows, with orchestrators, builders and workers that can be steered in conversation and answered by decision ID. A companion harflow-ctl command gives direct human callers status, cancellation, pending-launch lookup and model listing. It installs from PyPI and runs over stdio.

What it does

Multi-harness dispatch
Sends coding tasks to Claude Code, Codex, opencode, Vibe, Antigravity or the Cursor Agent CLI.
Persistent task history
Tasks keep their history so they can be read in bounded slices, cancelled or continued later.
Exact-action approvals
Callers can approve individual Bash, Read, Write and Edit requests one action at a time on qualified versions.
Command grants
`allowed_commands` gives a task a limited list of Bash commands instead of unrestricted access.
Reusable workflows
Workflow graphs with orchestrators, builders and workers can be stored, previewed and re-run.
harflow-ctl command line
Direct callers can check status, cancel tasks, list pending launches and list selectable models.

Good for

  • Hand a long coding task to a headless agent and poll for progress from your MCP client
  • Run the same task through several agent CLIs to compare results
  • Approve risky shell or file actions one at a time while an agent works
  • Build and re-run multi-step coding workflows with several workers
  • Resume or cancel a task after restarting your client

Harflow MCP FAQ

Which agent CLIs can Harflow MCP dispatch to?

The README names Claude Code, Codex, opencode, Vibe, Antigravity and the Cursor Agent CLI.

What does headless Cursor dispatch need?

Signing into the Cursor editor is not enough. The `agent` CLI needs `agent login` or a `CURSOR_API_KEY`, and `agent status` should report an access token.

Can I limit what a dispatched task may run?

Yes. `allowed_commands` grants a bounded list of Bash commands on qualified harnesses, and caller approvals handle individual actions. Cursor refuses both.

What happens to an approval nobody answers?

Harflow rejects it after 1800 seconds or at the node's attempt deadline; it is never approved automatically.

How do I add Harflow MCP to Claude Code?

Run this command in your terminal: claude mcp add harflow-mcp -- uvx harflow-mcp

What are the best alternatives to Harflow MCP?

The closest alternatives to Harflow MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers