# X402 MCP Server

> X402 MCP Server is an open-source MCP server. JMT x402: 35 pay-per-call Base/USDC tools for agents, auto-paid via x402 v2. No API key. It runs locally on your machine and is started by your AI client.

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

## About

JMT x402: 35 pay-per-call Base/USDC tools for agents, auto-paid via x402 v2. No API key.

## Install

### Claude Code (Terminal)

```sh
claude mcp add x402-mcp-server -- npx -y @jmthomasofficial/x402-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Is X402 MCP Server free?

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

### How do I add X402 MCP Server to Claude Code?

Run this command in your terminal: claude mcp add x402-mcp-server -- npx -y @jmthomasofficial/x402-mcp-server

## 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/x402-mcp-server-3
