# atrib MCP server

> Signs agent actions as Ed25519 records with Merkle proofs so later agents and reviewers can verify what happened.

- Repository: https://github.com/creatornader/atrib
- Page: https://hostedmcp.org/servers/creatornader/atrib
- Transport: stdio
- Stars: 8
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add atrib -- npx -y @atrib/mcp
```

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

```json
{
  "mcpServers": {
    "atrib": {
      "command": "npx",
      "args": [
        "-y",
        "@atrib/mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "atrib": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@atrib/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"atrib","type":"stdio","command":"npx","args":["-y","@atrib/mcp"]}'
```

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

```json
{
  "mcpServers": {
    "atrib": {
      "command": "npx",
      "args": [
        "-y",
        "@atrib/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add atrib -- npx -y @atrib/mcp
```

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

```toml
[mcp_servers.atrib]
command = "npx"
args = ["-y", "@atrib/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user atrib npx -- -y @atrib/mcp
```

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

```json
{
  "mcpServers": {
    "atrib": {
      "command": "npx",
      "args": [
        "-y",
        "@atrib/mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `ATRIB_PRIVATE_KEY` | no | no |  |

## Tools (1)

- `summarize`: Read a set of records (by context_id and/or record_hashes) and ask an LLM to synthesize a coherent narrative across them. Reads the local signed-record mirror (~/.atrib/records/*.jsonl) including the optional _local sidecar for semantic content. Records without a sidecar are flagged so the LLM can be honest about impoverished input.

## FAQ

### How does atrib make agent actions verifiable?

Each action is signed as a record when it happens, and a public Merkle log proves a commitment to it, so anyone can check signatures and inclusion proofs later.

### Does atrib expose my private tool data in the public log?

No. The public log stores commitments and selected evidence rather than raw tool arguments, results, or memory text.

### Can a receiving agent verify work handed off from another agent?

Yes. It can check record hashes, body commitments, signer trust, context policy, freshness, and inclusion proofs before signing follow-up work.

### Does atrib work with MCP tool calls?

Yes, MCP tool calls are a primary integration point alongside SDK callbacks and harness adapters.

### Can atrib gate high-impact actions before they run?

A host can sign an allow, block, escalate, or approval decision before a selected action executes, and the outcome cites that decision.
