# Agenticpay

> Agenticpay is an open-source MCP server. x402 USDC paywall bridge for MCP — pay per tool call on Solana. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://krystiangw.github.io/agenticpay/
- **Repository:** https://github.com/krystiangw/agenticpay
- **MCP Registry name:** io.github.krystiangw/agenticpay
- **Listing updated:** 2026-11-13

## About

x402 USDC paywall bridge for MCP — pay per tool call on Solana.

## Install

### Claude Code (Terminal)

```sh
claude mcp add agenticpay --env AGENTICPAY_BRIDGE_KEYPAIR='<AGENTICPAY_BRIDGE_KEYPAIR>' --env AGENTICPAY_BRIDGE_TOOLS='<AGENTICPAY_BRIDGE_TOOLS>' -- npx -y @agenticpay/mcp-bridge
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<AGENTICPAY_BRIDGE_TOOLS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<AGENTICPAY_BRIDGE_TOOLS>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "agenticpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<AGENTICPAY_BRIDGE_TOOLS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<AGENTICPAY_BRIDGE_TOOLS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<AGENTICPAY_BRIDGE_TOOLS>"
      }
    }
  }
}
```

## FAQ

### Is Agenticpay free?

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

### How do I add Agenticpay to Claude Code?

Run this command in your terminal: claude mcp add agenticpay --env AGENTICPAY_BRIDGE_KEYPAIR='<AGENTICPAY_BRIDGE_KEYPAIR>' --env AGENTICPAY_BRIDGE_TOOLS='<AGENTICPAY_BRIDGE_TOOLS>' -- npx -y @agenticpay/mcp-bridge

## 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/agenticpay
