# X402engine MCP

> X402engine MCP is an open-source MCP server. 50+ pay-per-call APIs for AI agents — images, LLM, code, crypto, travel & more via x402. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/agentc22/x402engine-mcp
- **MCP Registry name:** io.github.agentc22/x402engine-mcp
- **Listing updated:** 2026-11-13

## About

50+ pay-per-call APIs for AI agents — images, LLM, code, crypto, travel & more via x402

## Install

### Claude Code (Terminal)

```sh
claude mcp add x402engine-mcp --env X402_DEV_BYPASS='<X402_DEV_BYPASS>' --env X402_PAYMENT_HEADER='<X402_PAYMENT_HEADER>' -- npx -y x402engine-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "x402engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402engine-mcp"
      ],
      "env": {
        "X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402engine-mcp"
      ],
      "env": {
        "X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "x402engine-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402engine-mcp"
      ],
      "env": {
        "X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402engine-mcp"
      ],
      "env": {
        "X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402engine-mcp"
      ],
      "env": {
        "X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
      }
    }
  }
}
```

## FAQ

### Is X402engine MCP free?

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

### How do I add X402engine MCP to Claude Code?

Run this command in your terminal: claude mcp add x402engine-mcp --env X402_DEV_BYPASS='<X402_DEV_BYPASS>' --env X402_PAYMENT_HEADER='<X402_PAYMENT_HEADER>' -- npx -y x402engine-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/x402engine-mcp
