# callx402 MCP server

> callx402 MCP server is a freemium MCP server for finance and payments. Read-only diagnostics for failed or stuck x402 agent payments, run locally over stdio. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Repository:** https://github.com/payloadhq/callx402
- **MCP Registry name:** io.github.payload-tools/callx402
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

x402 payments can fail in confusing ways: a settlement stuck in a pending state, a 402 response a wallet misreads, or a retry that signs a second authorization for the same job. This server gives an agent six read-only x402 diagnostic tools to reason about those cases from evidence it is handed.

The MCP server is a zero-dependency Node script over stdio. Per the README, it never charges, executes, retries or repays, and without an authoritative source it does not verify settlement, read a private ledger or perform recovery. It makes a conservative local assessment of the evidence supplied.

The wider callx402 package is a CLI and SDK for JavaScript and Python that routes plain-language requests to the vendor's hosted Payload rail. Those hosted actions, such as rescue, route and execute, are paid per action. The free status command reports which subsystems are reachable.

## Features

- **Failure diagnosis:** Pins an x402 or MCP failure to a stage.
- **Settlement resolution:** Assesses settlement state from supplied on-chain evidence.
- **Zero dependencies:** MCP server uses only the Node standard library.
- **Read-only by design:** Does not charge, execute, retry or repay.
- **Budget-aware routing:** The wider CLI plans paid jobs under an explicit budget.
- **Client configs:** Notes for Claude Desktop, Cursor and Windsurf.

## Good for

- Work out whether an x402 payment actually settled
- Debug a 402 response that a wallet misreads
- Avoid double payment after a retry
- Plan an agent job under a spending cap

## Install

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

```sh
claude mcp add callx402 -- npx -y callx402
```

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": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "callx402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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 callx402 -- npx -y callx402
```

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

```toml
[mcp_servers.callx402]
command = "npx"
args = ["-y", "callx402"]
```

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user callx402 npx -- -y callx402

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

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": {
    "callx402": {
      "command": "npx",
      "args": [
        "-y",
        "callx402"
      ]
    }
  }
}
```

## FAQ

### Can callx402 MCP server move money?

The MCP server cannot. The README says nothing there charges, executes, retries or repays.

### How many tools does the MCP server expose?

Six x402_* diagnostic tools: diagnose, evidence, explain, recover, resolve and status.

### What does callx402 MCP server need to run?

Node.js only; no npm install is needed for the MCP server.

### Are hosted actions free?

The action catalog and price quotes are free to read, but invoking a rail action is paid per action.

### How do I add callx402 MCP server to Claude Code?

Run this command in your terminal: claude mcp add callx402 -- npx -y callx402

### What are the best alternatives to callx402 MCP server?

The closest alternatives to callx402 MCP server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## 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.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/callx402-mcp-server
