io.github.krystiangw
agenticpay
x402 USDC paywall bridge for MCP — pay per tool call on Solana.
stdiocommunityinfra
Package Details
@agenticpay/mcp-bridge
Transportstdio
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
Default:
solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1CAIP-2 network identifier. Devnet: solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
AGENTICPAY_BRIDGE_RPC
Default:
https://api.devnet.solana.comSolana JSON-RPC URL