# Headron MCP server

> Enforces rule contracts and verifies file changes by mapping them to declared checks and automated gates.

- Repository: https://github.com/HLIntel/Headron
- Page: https://hostedmcp.org/servers/hlintel/headron
- Transport: stdio
- Stars: 4
- License: MIT
- Latest version: 3.62.0

## Install

### Claude Code

```sh
claude mcp add --env 'HEADRON_ROOT=<HEADRON_ROOT>' headron -- uvx headron-software
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "headron": {
      "command": "uvx",
      "args": [
        "headron-software"
      ],
      "env": {
        "HEADRON_ROOT": "<HEADRON_ROOT>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "headron": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "headron-software"
      ],
      "env": {
        "HEADRON_ROOT": "<HEADRON_ROOT>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"headron","type":"stdio","command":"uvx","args":["headron-software"],"env":{"HEADRON_ROOT":"<HEADRON_ROOT>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "headron": {
      "command": "uvx",
      "args": [
        "headron-software"
      ],
      "env": {
        "HEADRON_ROOT": "<HEADRON_ROOT>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add headron --env 'HEADRON_ROOT=<HEADRON_ROOT>' -- uvx headron-software
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.headron]
command = "uvx"
args = ["headron-software"]

[mcp_servers.headron.env]
HEADRON_ROOT = "<HEADRON_ROOT>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'HEADRON_ROOT=<HEADRON_ROOT>' headron uvx -- headron-software
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "headron": {
      "command": "uvx",
      "args": [
        "headron-software"
      ],
      "env": {
        "HEADRON_ROOT": "<HEADRON_ROOT>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `HEADRON_ROOT` | yes | no | Path to a checkout of the Headron atlas (atlas.yaml) the tool reads. |

## FAQ

### What is Headron?

Headron is a rule contract and CLI that maps changed files to specific checks to report whether those checks ran successfully.

### Does Headron act as a coding agent?

No, Headron is not a coding agent, a model, or a test framework; it is a verification layer.

### How does the Mind API work?

The Mind API is a hosted, paid service that plans declared changes through the headron mind command.

### Can I use Headron without the Mind API?

Yes, the command line interface works independently of the hosted Mind API.
