Agentpay MCP server
What it does
AgentPay exposes 22 AI and crypto microservices behind HTTP 402 paywalls, allowing clients to pay per call in USDC on Base. It is for developers building agents or applications that need to call AI services on demand without traditional authentication.
- Build an AI agent that pays for text summarization, classification, or data extraction services on a per-request basis.
- Integrate machine-payable endpoints into applications where users or agents can purchase compute by signing transactions.
- Deploy local LLM services (Ollama models) with automated payment collection in stablecoins.
Tools this server exposes
| Tool | Does |
|---|---|
| summarize | Summarizes text via HTTP POST to /v1/summarize, payable per call. |
| classify-ins | Classifies instructions via HTTP POST to /v1/classify-ins, payable per call. |
| extract | Extracts data from text via HTTP POST to /v1/extract, payable per call. |
| health | Free endpoint at /health to check server status. |
| stats | Free endpoint at /stats to view revenue and usage statistics. |
| service_catalog | Machine-readable service catalog at /.well-known/x402 listing available endpoints and pricing. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.