Server data from the Official MCP Registry
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents
About
Universal HTTP 402 Micropayment Protocol & Autonomous Economic Settlement Engine for AI Agents
Remote endpoints: streamable-http: https://apay-network.vercel.app/api/mcp
Security Report
Remote MCP endpoint verified (111ms response). Server: apay-mcp. 5 tools available. 4 trust signals: valid MCP protocol, requires auth, known domain (vercel.app), registry import. No security issues detected.
5 tools verified Β· Open access Β· 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Remote servers are capped at 8.0 because source code is not available for review. The score reflects endpoint verification only.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: APAY_PRIVATE_KEY
Environment variable: APAY_NETWORK
Environment variable: APAY_CURRENCY
Environment variable: APAY_MAX_PER_CALL
Environment variable: APAY_DAILY_BUDGET
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
β‘ A-Pay Protocol (AgentPay)
The Universal Micropayment & Economic Layer for Autonomous AI Agents
π Live Production Network & On-Chain Addresses
- Live Web App & Console: https://apay-network.vercel.app
- Base Mainnet (Chain ID
8453):- $APAY Token (ERC-20):
0x8dd4ff9035c7d4e0bef30aa64fc30d128a4066c3(100M Cap, Base L2) - Aerodrome Live Pool:
vAMM-WETH/APAY(0x6933...7777) - DexScreener Chart: Live APAY/WETH Chart
- $APAY Token (ERC-20):
- Base Sepolia L2 (Chain ID
84532):- APayRouter (V1 Gateway):
0x71434344beEF9C44fF3BC95572bEB7bFB8847ec6(1.0% Protocol Fee) - APayRouterV2 (Enterprise Router):
0xD08c8A337E5339d1c083E06d74A9265956ceEA16(Cumulative Channels & Merkle Claims) - EscrowVault (Session Keys):
0x3E35a9E802627a3D9A86D6554e72b1C446E34aAF(Sub-Agent Delegated Spending) - StakingVault (Anti-Spam Collateral):
0xD2f3F4D97f4a3fdC9d4eEDfB9747BF9D80CF6225(Anti-Spam Staking & Slashing Engine)
- APayRouter (V1 Gateway):
π― Vision & Identity
A-Pay is an ultra-lightweight, zero-latency, open economic rail designed for the machine-to-machine (M2M) economy. Just as UPI revolutionized human digital payments in India, A-Pay enables autonomous AI software agents to discover, consume, and pay for data, compute, APIs, and micro-services on the flyβwithout credit cards, human KYC, or seed phrase friction.
π 1-Command Experience
1. Website / API Owners (The Sellers)
Scaffold a fullstack monetized AI Agent app (Next.js, FastAPI, or Express) in 60 seconds:
npx create-apay-app my-paid-agent
Or protect ANY existing website or API with an instant HTTP 402 crypto paywall proxyβzero code modifications required:
apay protect --target http://localhost:8000 --price 0.001 --wallet 0xYourWalletAddress
- Incoming requests from AI bots will automatically receive an HTTP 402 Payment Required challenge.
- Once the AI agent's cryptographic micropayment is verified (<15ms), the request is forwarded to your server and data is unlocked!
2. AI Agent Developers (The Buyers)
Give your AI agent an in-memory wallet and strict spending guardrails with 2 lines of code:
from apay import APaySession, AgentWallet
# Generate or load wallet with daily safety limit
wallet = AgentWallet(private_key="0x...", max_per_call_usdc=0.01, daily_budget_usdc=5.0)
session = APaySession(wallet)
# Automatically handles HTTP 402 challenges & settles on the fly
response = session.get("https://protected-api.com/market-data")
print(response.json())
3. Claude Desktop & Cursor (Model Context Protocol / MCP)
Equip Claude Desktop, Cursor, Antigravity, or Cline with an autonomous A-Pay micro-wallet in 1 click via Smithery.ai:
npx -y @smithery/cli install apay --client claude
Or add directly to claude_desktop_config.json or .cursor/mcp.json (zero-setup via uvx):
{
"mcpServers": {
"apay": {
"command": "uvx",
"args": ["apay", "mcp"],
"env": {
"APAY_NETWORK": "base-mainnet",
"APAY_CURRENCY": "DUAL",
"APAY_MAX_PER_CALL": "0.05",
"APAY_DAILY_BUDGET": "2.0"
}
}
}
}
Now your assistant can autonomously inspect balances, probe paywalls, and settle HTTP 402 micropayments on Base L2!
π¦ Directory Structure
apay/
βββ src/
β βββ apay/
β βββ __init__.py # Package exports
β βββ cli.py # β‘ 1-Command CLI (`apay protect`, `apay wallet new`, `apay pay`)
β βββ client.py # π€ Auto-settling HTTP client (sync & async)
β βββ wallet.py # π In-memory wallet + local spending limits
β βββ proxy.py # π‘οΈ Ultra-light reverse proxy paywall (Starlette + EIP-712)
β βββ relayer.py # π Settlement journal & batch relayer
β βββ integrations/ # π LangChain & CrewAI agent wrappers
βββ contracts/ # Base Sepolia Smart Contracts (APAYToken & APayRouter)
βββ tests/ # Automated integration & security test suite
βββ spec/ # RFC wire format & security model specifications
βββ pyproject.toml # Hatchling packaging configuration
π οΈ Installation & Quickstart
# 1. Install A-Pay via pip
pip install apay
# 2. Generate a new Agent Wallet with spending limits
apay wallet new
# 3. Protect any website or API with an instant HTTP 402 Paywall
apay protect --target http://localhost:8000 --price 0.001 --wallet 0xYourPayoutWalletAddress
A-Pay is an open-source decentralized economic protocol for autonomous machine agents. Built on Base L2.
Reviews
No reviews yet
Be the first to review this server!
More AI & ML MCP Servers
Sequential Thinking
Freeby Modelcontextprotocol Β· AI & ML
Dynamic and reflective problem-solving through structured thought sequences
Toleno
Freeby Toleno Β· Developer Tools
Toleno Network MCP Server β Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace Β· Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace Β· Developer Tools
Create, build, and publish Python MCP servers to PyPI β conversationally.
by Lharries Β· Communication
Read, search, and send WhatsApp messages through your AI assistant
FinAgent
Freeby mcp-marketplace Β· Finance
Free stock data and market news for any MCP-compatible AI assistant.
