# Coreguard Agent Commerce

> Coreguard Agent Commerce is an open-source MCP server for agent payments. Pre-signature authorization receipts and execution checks for autonomous agent purchases. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Repository:** https://github.com/coreguard-global/coreguard
- **MCP Registry name:** io.github.EslaM-X/coreguard-agent-commerce
- **Categories:** [agent payments](https://ai-powered.com/categories/agent-payments)
- **Listing updated:** 2026-11-19

## About

The README says CoreGuard issues receipts bound to the exact bytes of a transaction, so a wallet or agent can confirm that what gets signed or executed is the thing that was approved. Verification fails closed: any change to the amount, the transaction bytes, or an expired window returns a named refusal code rather than a risk score.

The MCP server is published on npm as @coreguard/agent-commerce and exposes an offline consent-receipt flow through stdio JSON-RPC, alongside a TypeScript declaration surface and a REST variant. The README states that npm publication and any live external use are gated, and that the integrations with payment networks are not built.

The project is aimed at developers building agents that make purchases and at reviewers who want a verifiable record of user approval. The README is explicit that the work runs on synthetic fixtures and that no external pilots or audits are recorded yet.

## Features

- **Bound consent receipts:** Issues a receipt tied to the exact approved order bytes so later changes are detected.
- **Fail-closed verification:** Divergent orders return a refusal with the drifted field named instead of a pass.
- **Offline demo run:** A demo command runs the authorization and refusal cases without keys or network access.
- **Risk drift taxonomy:** Named drift classes with severities describe how an action departed from authorized intent.
- **Third-party re-verification:** Receipts can be checked by an outside party using the public key alone, per the README demo.

## Good for

- Gating an AI agent's purchase so it cannot proceed if the order changed after approval
- Producing a verifiable record of a user's approval for a commerce workflow
- Testing agent payment flows offline with synthetic orders before any live integration
- Exposing authorization checks to an AI client through an MCP server

## Install

### Claude Code (Terminal)

```sh
claude mcp add coreguard-agent-commerce -- npx -y @coreguard/agent-commerce
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "coreguard-agent-commerce": {
      "command": "npx",
      "args": [
        "-y",
        "@coreguard/agent-commerce"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "coreguard-agent-commerce": {
      "command": "npx",
      "args": [
        "-y",
        "@coreguard/agent-commerce"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "coreguard-agent-commerce": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@coreguard/agent-commerce"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "coreguard-agent-commerce": {
      "command": "npx",
      "args": [
        "-y",
        "@coreguard/agent-commerce"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "coreguard-agent-commerce": {
      "command": "npx",
      "args": [
        "-y",
        "@coreguard/agent-commerce"
      ]
    }
  }
}
```

## FAQ

### How is the server installed?

The registry entry lists the npm package @coreguard/agent-commerce at version 0.1.2 using the stdio transport.

### Does it integrate with card networks or AI providers?

No. The README states that no contact, integration or endorsement is claimed with any payment network or model provider, and integration is marked NOT_BUILT.

### Is it open source?

The README says the code is MIT licensed in its legal node section, but the repository's license is not separately confirmed for this package here.

### Does a passing receipt prove a transaction is safe?

No. The README states that VERIFIED does not mean SAFE and that the check is not a fraud score; it proves what was authorized, not what executed.

### Is Coreguard Agent Commerce free?

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

### How do I add Coreguard Agent Commerce to Claude Code?

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

### What are the best alternatives to Coreguard Agent Commerce?

The closest alternatives to Coreguard Agent Commerce are PayStage x402 Guard — payment safety before the wallet signs and Agent Payment Guard.

## Where this comes from

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

## Alternatives

- [PayStage x402 Guard — payment safety before the wallet signs](https://ai-powered.com/mcp/paystage-x402-guard-payment-safety-before-the-wallet-signs): PayStage x402 Guard — payment safety before the wallet signs is a freemium MCP server for finance and payments.
- [Agent Payment Guard](https://ai-powered.com/mcp/agent-payment-guard): Agent Payment Guard is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/coreguard-agent-commerce
