A-Pay Protocol MCP Server
by neuralaisofficial-langio.github.neuralaisofficial-lang/apayv0.1.8
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install A-Pay Protocol MCP server
Install in Claude Code
claude mcp add apay -e APAY_PRIVATE_KEY='<apay-private-key>' -- uvx apay mcpInstall in Cursor
{
"mcpServers": {
"apay": {
"command": "uvx",
"args": [
"apay",
"mcp"
],
"env": {
"APAY_PRIVATE_KEY": "<apay-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"apay": {
"command": "uvx",
"args": [
"apay",
"mcp"
],
"env": {
"APAY_PRIVATE_KEY": "<apay-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"apay": {
"type": "stdio",
"command": "uvx",
"args": [
"apay",
"mcp"
],
"env": {
"APAY_PRIVATE_KEY": "<apay-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"apay": {
"command": "uvx",
"args": [
"apay",
"mcp"
],
"env": {
"APAY_PRIVATE_KEY": "<apay-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| APAY_PRIVATE_KEY | — | yes | Agent private key for signing EIP-712 payment authorizations (auto-generates non-custodial session wallet if omitted) |
| APAY_NETWORK | — | — | Base network (base-mainnet or base-sepolia) |
| APAY_CURRENCY | — | — | Preferred payment token (USDC, APAY, or DUAL) |
| APAY_MAX_PER_CALL | — | — | Maximum allowed spend per single HTTP 402 request in USDC (default: 0.05) |
| APAY_DAILY_BUDGET | — | — | Maximum 24-hour spending limit in USDC (default: 2.00) |
Remote endpoints
- streamable-http
https://apay-network.vercel.app/api/mcp
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-27 · 12d ago · official registry · v0.1.8
FAQ
›How do I install the A-Pay Protocol MCP server in Claude Code?
Run: claude mcp add apay -e APAY_PRIVATE_KEY='<apay-private-key>' -- uvx apay mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does A-Pay Protocol require an API key?
Yes. It expects APAY_PRIVATE_KEY, of which 1 is a secret.
›Can I use A-Pay Protocol as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is A-Pay Protocol in the official MCP registry?
Yes, as io.github.neuralaisofficial-lang/apay.