# Agent Receipts

> Agent Receipts is an open-source MCP server for security. Signed, tamper-evident receipts and local memory for AI agent actions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, Self-hosted
- **Repository:** https://github.com/webaesbyamin/agent-receipts
- **MCP Registry name:** io.github.webaesbyamin/agent-receipts
- **Categories:** [security](https://ai-powered.com/categories/security), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

Agent Receipts answers a simple doubt: your agent says the work is done, so how do you check? Every tracked action gets a receipt signed with Ed25519 and linked to the previous one by hash, so a missing or altered receipt shows up when you verify the chain offline with your public key. Receipts hold hashes of inputs, outputs and changed files, not commands or file contents.

The README describes three ways in. The MCP server exposes memory and tracking tools. A Claude Code hook installs with one command and signs every file edit, write, notebook edit and shell command, with a session summary at the end. A proxy can wrap any stdio MCP server so each tool call through it is signed. A separate Magic Folder runner lets non-coders drop a file into a job folder and get the result back with a one-page receipt.

The README is candid about limits: receipts prove what the client reported and that the record is unchanged, not that the work was right, and whoever controls the machine controls the keys. Remote HTTP MCP servers are not covered yet. It runs locally with a SQLite store in ~/.agent-receipts and needs Node.js 22.16 or later.

## Features

- **Ed25519 signed receipts:** Each action is signed and chained to the previous receipt.
- **Claude Code hooks:** One command signs edits, writes and shell commands per session.
- **MCP proxy:** Signs every tool call passing through a stdio MCP server.
- **Persistent memory:** Entity and observation memory with forget actions that are tracked.
- **Portable bundles:** Exports memory as a single verifiable file.
- **Local dashboard:** Web UI on localhost:3274 for sessions and stats.

## Good for

- Prove what a coding agent did in a session
- Audit tool calls made through another MCP server
- Give an agent memory that survives sessions
- Hand a client a checkable record of agent work

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add agent-receipts -- npx -y @agent-receipts/mcp-server
```

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

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "agent-receipts": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agent-receipts/mcp-server"
      ]
    }
  }
}
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add agent-receipts -- npx -y @agent-receipts/mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user agent-receipts npx -- -y @agent-receipts/mcp-server

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

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

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

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agent-receipts": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-receipts/mcp-server"
      ]
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

From the tool list in its README, going by the names, 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `memory_context`: Load what the agent knows at session start.
- `memory_observe`: Record something worth remembering.
- `memory_recall`: Search stored memory.
- `memory_forget`: Soft delete a memory with an audit trail.
- `track_action`: Record a significant action as a receipt.

## FAQ

### Does Agent Receipts need an account or cloud?

No; the README says no API key, account or cloud, with data kept in ~/.agent-receipts.

### What do receipts prove?

What the client reported, signed outside the agent, and that the record has not changed since.

### Which Node version is needed?

Node.js 22.16 or later.

### Does Agent Receipts cover remote MCP servers?

Not yet; only stdio servers are covered.

### Is Agent Receipts free?

Yes. Agent Receipts is open source, so you can use and self-host it for free.

### How do I add Agent Receipts to Claude Code?

Run this command in your terminal: claude mcp add agent-receipts -- npx -y @agent-receipts/mcp-server

### What are the best alternatives to Agent Receipts?

The closest alternatives to Agent Receipts are REA, Codebase Memory, XERJ, Claude Code Ultimate Guide and AiSOC.

## Where this comes from

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/agent-receipts-2
