Skip to content
MCP server

Agenticpay

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.0.1
Listing updated
5 days ago

About Agenticpay

Agenticpay is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.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>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AGENTICPAY_BRIDGE_KEYPAIRSolana keypair as 64-byte JSON array (the format `solana-keygen new` writes). The bridge signs each x402 payment with this keypair.Required
  • AGENTICPAY_BRIDGE_TOOLSJSON array of paid tool definitions. Each entry: { name, description, url, inputSchema, headers? }Required
  • AGENTICPAY_BRIDGE_NETWORKCAIP-2 network identifier. Devnet: solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
  • AGENTICPAY_BRIDGE_RPCSolana JSON-RPC URL

Pricing

Open source

Prices change. Check krystiangw.github.io before you buy.

Agenticpay 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.

How AIPoweredBot checks servers