io.github.krystiangw/agenticpay

io.github.krystiangw/agenticpay

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge@0.0.2"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<your AGENTICPAY_BRIDGE_KEYPAIR>",
        "AGENTICPAY_BRIDGE_TOOLS": "<your AGENTICPAY_BRIDGE_TOOLS>",
        "AGENTICPAY_BRIDGE_NETWORK": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "AGENTICPAY_BRIDGE_RPC": "https://api.devnet.solana.com"
      }
    }
  }
}
Environment variables
  • AGENTICPAY_BRIDGE_KEYPAIRrequiredsecretSolana keypair as 64-byte JSON array (the format `solana-keygen new` writes). The bridge signs each x402 payment with this keypair.
  • AGENTICPAY_BRIDGE_TOOLSrequiredJSON array of paid tool definitions. Each entry: { name, description, url, inputSchema, headers? }
  • AGENTICPAY_BRIDGE_NETWORKCAIP-2 network identifier. Devnet: solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
  • AGENTICPAY_BRIDGE_RPCSolana JSON-RPC URL

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.0.1
Registry
active
Published
5/1/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.krystiangw/agenticpay is listed here — it’s also the link we check for a free listing.

io.github.krystiangw/agenticpay — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-krystiangw-agenticpay?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.krystiangw/agenticpay — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.krystiangw/agenticpay — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-krystiangw-agenticpay?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.