Skip to content
MCP server

Receipt Gate

MCP server that holds an agent's 'done' claim until an independent check confirms it

Runs locally

Receipt Gate is an open-source MCP server for agent testing. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, API
Runs
Locally
What it can do
Can change data (1 tool)
Version
0.2.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add receipt-gate -- uvx receipt-gate

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "receipt-gate": {
      "command": "uvx",
      "args": [
        "receipt-gate"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "receipt-gate": {
      "command": "uvx",
      "args": [
        "receipt-gate"
      ]
    }
  }
}

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "receipt-gate": {
      "command": "uvx",
      "args": [
        "receipt-gate"
      ]
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "receipt-gate": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "receipt-gate"
      ]
    }
  }
}

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add receipt-gate -- uvx receipt-gate

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.receipt-gate]
command = "uvx"
args = ["receipt-gate"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "receipt-gate": {
      "command": "uvx",
      "args": [
        "receipt-gate"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user receipt-gate uvx -- receipt-gate

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "receipt-gate": {
          "command": "uvx",
          "args": [
            "receipt-gate"
          ]
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • RECEIPT_GATE_LEDGERPath of the append-only, hash-chained ledger. Open promises are read back from it, so the same path across runs keeps the debts.
  • RECEIPT_GATE_ROOTThe root every adapter path stays inside. A configured path resolving outside it is refused.

About Receipt Gate

Receipt Gate is an MCP server for checking whether an agent actually finished what it promised. Instead of accepting a completion message, it keeps the claim open and asks a separate adapter to re-read the real state, such as file contents or a command's exit code, before the work is marked settled.

Each promise names the observable state it expects, a deadline-style scope, a ceiling on what the agent may touch, and the adapter that will verify it. Actions are authorised one call at a time, and any mismatch is recorded as a remainder that spells out the exact gap rather than being silently dropped. Open promises and grants are stored in an append-only, hash-chained ledger so they survive process restarts.

It suits developers building multi-step agent workflows who need verifiable outcomes, and teams who want an audit trail of which promises were kept, handed over or left open. It ships as a Python package with no dependencies, and the included adapters cover manifest hashing, command exit codes and owner acceptance.

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 10 tools changes data; 9 names don't say.

From the server's own tool labels and tool names; not verified by us.

open_promise
Records one observable state, the authority, the ceiling, and the adapter with its own parameters
request_capability
Grants one action for one call, or returns the exact boundary that refused it
record_action
Spends a grant; a second use is refused against the ledger
claim_done
Holds a completion claim every time and names the adapter that can answer
settle
Runs the adapter and returns fulfilled or a remainder
cancel_by_ownerName suggests: changes
Moves a promise to the cancelled_by_owner terminal state
impossible_in_scope
Moves a promise to the impossible_in_scope terminal state
hand_over
Moves a promise to the handed_over terminal state
open_debts
Lists the open promises the deal still holds
verify_ledger
Reports whether the ledger hash chain is intact

What it does

Held completion claims
An agent's statement that it is done does not close a promise until an adapter observes the state.
Independent state checks
Adapters re-read files or run commands from outside the agent's own report.
One-call action grants
Permissions are issued per action and spent on the ledger, so a reused grant is refused.
Remainder reporting
Mismatches are recorded with the exact gap and who may accept, cancel or reassign the work.
Persistent hash-chained ledger
Open promises are read back from an append-only file, so debts persist across restarts.
Ledger integrity verification
A tool reports whether the ledger's hash chain is intact.

Good for

  • Verify that an agent's file or manifest changes match the stated result before accepting them
  • Hold an agent's completion claim until a build or command exit code confirms success
  • Track open agent commitments across sessions and reassign or cancel them
  • Restrict an agent to a defined set of writes and refuse anything outside the ceiling

Pricing

Open source

Free and open source under MIT; self-hosted via PyPI or git.

Receipt Gate FAQ

Do I need to install anything beyond the package?

It runs on Python 3.10+ using only the standard library, with no dependencies.

Where is the ledger stored?

At the path set by RECEIPT_GATE_LEDGER, defaulting to ./ledger.jsonl.

How are file paths restricted?

Adapter paths must resolve inside RECEIPT_GATE_ROOT; anything outside is refused.

What license is Receipt Gate under?

The code is released under the MIT licence.

Is Receipt Gate free?

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

How do I add Receipt Gate to Claude Code?

Run this command in your terminal: claude mcp add receipt-gate -- uvx receipt-gate

Where this comes from

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

How AIPoweredBot checks servers