Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Harness

MCP server by autonomous-ai Verified · harness.autonomous.ai

Harness starts Claude Code and Codex agents that you can watch, wait on, and read answers from. It suits developers who run several coding agents across laptops and servers from one window.

  • Score 95
  • 1.6k stars
  • 108 a week
  • MIT
  • Updated

Install Harness

Built from the published package, never by AI.

claude mcp add harness -- npx -y @autonomous-ai/harness-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Harness in Claude Code

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 harness block.

About

Harness is a command center for coding agents. It runs agents such as Claude Code, Codex, Cursor and OpenCode side by side, each in its own tmux pane. You can see every agent on every linked machine in one window. Harnesses in the same tab can message each other with harness send, an experimental feature that is off by default. The Claude Code and Codex skill can start, wait for and read other harnesses.

One daemon runs on each machine and dials out, so no machine opens a port. Code, keys and keystrokes are sealed on your machine end to end. Connections use a direct WebRTC channel when possible, with Cloudflare TURN or a relay as fallbacks. The app is available for macOS or Linux, and the project is open source. It is aimed at developers who run coding agents on more than one machine.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Start agentsStarts Claude Code or Codex agents as harnesses that the person can watch.
  • Wait for agentsWaits for a running harness to finish before the assistant continues.
  • Read answersReads the answers from other harnesses started in Harness.
  • Message harnessesSends messages between harnesses in the same tab using harness send.

What you need

  • macOS or Linux for the Harness app
  • tmux
  • Claude Code or Codex
  • Node.js 20+ only when building from source

Try asking

  • Start a Codex harness on my GPU box and tell me when it finishes.
  • Wait for the Claude Code harness to finish and read its answer.
  • Show me what each running agent is doing right now.

Good to know

  • Voice is not end-to-end encrypted, since the server receives the audio and Deepgram transcribes it.
  • A task with no agent named can be sent with recent prompts to a routing model.
  • Agent Messages is experimental, off by default, and must be turned on in Settings.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://harness.autonomous.ai/cli/install.sh | bash

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Harness

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Harness: common questions

Which agents does Harness support?

The source lists Claude Code, Codex, Cursor, OpenCode, Devin, Amp, Copilot and seven more. It runs your own CLIs and does not wrap them.

Is my code encrypted?

Code, keys and keystrokes are sealed on your machine. The relay forwards bytes it cannot read, and voice input is the exception.

Does Harness need open ports or SSH?

The source says no. Each machine runs a daemon that dials out, and it states that SSH keys, Tailscale and port forwarding are not needed.

How do I install Harness?

In Claude Code run claude mcp add harness -- npx -y @autonomous-ai/harness-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Harness the official server?

Harness is published by harness.autonomous.ai from its verified domain in the official MCP Registry.

Is Harness free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Harness safe to use?

It scores 95 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 Harness?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Harness 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.

Harness Install

Add to stack

Loading.