← Index

io.github.krystiangw/agenticpay

io.github.krystiangw/agenticpay·v0.0.1·Other
Quality Score
85
/100

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

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<your-agenticpay_bridge_keypair>",
        "AGENTICPAY_BRIDGE_TOOLS": "<agenticpay_bridge_tools>",
        "AGENTICPAY_BRIDGE_NETWORK": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "AGENTICPAY_BRIDGE_RPC": "https://api.devnet.solana.com"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "agenticpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agenticpay/mcp-bridge"
      ],
      "env": {
        "AGENTICPAY_BRIDGE_KEYPAIR": "<your-agenticpay_bridge_keypair>",
        "AGENTICPAY_BRIDGE_TOOLS": "<agenticpay_bridge_tools>",
        "AGENTICPAY_BRIDGE_NETWORK": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "AGENTICPAY_BRIDGE_RPC": "https://api.devnet.solana.com"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @agenticpay/mcp-bridge
§02  Environment variables
AGENTICPAY_BRIDGE_KEYPAIR
requiredsecret

Solana keypair as 64-byte JSON array (the format `solana-keygen new` writes). The bridge signs each x402 payment with this keypair.

AGENTICPAY_BRIDGE_TOOLS
required

JSON array of paid tool definitions. Each entry: { name, description, url, inputSchema, headers? }

AGENTICPAY_BRIDGE_NETWORK

CAIP-2 network identifier. Devnet: solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1

AGENTICPAY_BRIDGE_RPC

Solana JSON-RPC URL

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
15
installability
25
documentation
15
stability
5
§04  Alternatives in Other