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.
Install Harness
Built from the published package, never by AI.
claude mcp add harness -- npx -y @autonomous-ai/harness-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"harness": {
"args": [
"-y",
"@autonomous-ai/harness-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"harness": {
"args": [
"-y",
"@autonomous-ai/harness-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"harness": {
"args": [
"-y",
"@autonomous-ai/harness-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add harness -- npx -y @autonomous-ai/harness-mcp{
"mcpServers": {
"harness": {
"args": [
"-y",
"@autonomous-ai/harness-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add harness npx -y @autonomous-ai/harness-mcpGemini 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 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 →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
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.
