# TrustBench MCP server

> Lets an AI client look up x402 provider rankings, fetch payment receipts, and verify Ed25519 cryptographic signatures and on-chain settlement.

- Repository: https://github.com/lithvall/TrustBench
- Page: https://hostedmcp.org/servers/lithvall/trustbench
- Transport: stdio, remote
- Stars: 0
- Latest version: 1.1.1

## Install

### Claude Code

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

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

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

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

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

### VS Code CLI

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

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

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

### Codex

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

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

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

### Gemini CLI

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

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

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

## FAQ

### Does TrustBench hold my funds?

No, TrustBench is non-custodial and never holds funds; agents sign authorizations and providers submit them on-chain.

### How can I verify a payment receipt?

You can use the POST `/verify` endpoint with a receipt ID or use the `@trustbench/verify-receipt` npm package to confirm Ed25519 signatures and on-chain status.

### What happens if the TrustBench API is down?

Agents can still transact directly with x402 providers using EIP-3009 signing and verify receipts offline using the published public key.
