A-Pay Protocol
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI…
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 0.1.8
- Listing updated
- 5 days ago
About A-Pay Protocol
A-Pay Protocol is an open-source MCP server. It can run locally on your machine or as a hosted remote server.
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents
Install
Run in a terminal
claude mcp add --transport http apay https://apay-network.vercel.app/api/mcpAdd to Settings → Connectors → Add custom connector
https://apay-network.vercel.app/api/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"apay": {
"url": "https://apay-network.vercel.app/api/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"apay": {
"type": "http",
"url": "https://apay-network.vercel.app/api/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"apay": {
"serverUrl": "https://apay-network.vercel.app/api/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"apay": {
"type": "http",
"url": "https://apay-network.vercel.app/api/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
APAY_PRIVATE_KEYAgent private key for signing EIP-712 payment authorizations (auto-generates non-custodial session wallet if omitted)APAY_NETWORKBase network (base-mainnet or base-sepolia)APAY_CURRENCYPreferred payment token (USDC, APAY, or DUAL)APAY_MAX_PER_CALLMaximum allowed spend per single HTTP 402 request in USDC (default: 0.05)APAY_DAILY_BUDGETMaximum 24-hour spending limit in USDC (default: 2.00)
Pricing
Open source
A-Pay Protocol FAQ
Is A-Pay Protocol free?
Yes. A-Pay Protocol is open source, so you can use and self-host it for free.
How do I add A-Pay Protocol to Claude Code?
Run this command in your terminal: claude mcp add --transport http apay https://apay-network.vercel.app/api/mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.