MCP-Pay
Provides an HTTP x402 monetization layer on Algorand, enabling AI agents to pay for MCP tools via Algorand USDC micropayments with on-chain settlement.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-PayGet market data for Bitcoin."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP-Pay
An HTTP x402 monetization layer on Algorand that lets AI agents pay for MCP tools on a sub-cent, pay-per-call basis.
Problem
Autonomous AI agents using the Model Context Protocol (MCP) cannot access paid tools: credit cards, API keys, and subscriptions are human workflows. Tool creators have no way to charge per call, and legacy chains are too slow or expensive for machine-to-machine micropayments.
Related MCP server: Loop MCP DualRail
Solution
MCP-Pay converts any MCP tool into an instantly monetized x402 endpoint on Algorand.
An agent discovers tools at
GET /mcp/v1/tools(free, includes JSON schemas + prices).The agent invokes
POST /mcp/v1/tools/:name/executewithout payment.The server answers
402 Payment Requiredwith payment metadata (price in USDC, receiver address, network).The agent's local middleware auto-signs an Algorand USDC transfer (ASA 31566704) and retries.
The GoPlausible facilitator verifies and settles on-chain (<3.3s finality), the tool executes, and results return in one round-trip.
No accounts. No keys. No humans.
USP
Typical paid API | MCP-Pay |
One hardcoded endpoint | Tool registry: any tool becomes a priced service with a schema |
Docs written for humans | Agent-native discovery: agents list, compare, and select tools programmatically |
Subscriptions / prepaid credits | True pay-per-call settled on-chain per request |
EVM gas kills micropayments | Algorand: ~0.001 ALGO fee, 3.3s finality |
Paid Tools Included
Tool | What it does | Price |
| Reader-mode extraction of any public web page for LLM context | $0.002 |
| Live crypto spot prices from a keyless public feed | $0.001 |
| Static heuristic security scan of Solidity source | $0.005 |
Architecture
┌────────────────────────┐
│ AI AGENT (client/) │ 1. GET /mcp/v1/tools (discovery)
│ auto-paying MCP agent │ 2. POST .../execute → 402 challenge
└───────────┬────────────┘ 3. sign USDC txn locally
│ 4. retry + X-PAYMENT header
▼
┌────────────────────────┐
│ MCP-PAY SERVER (Hono) │ x402 paymentMiddleware protects each tool route
│ registry + tools/* │ executes tool only after verified settlement
└───────────┬────────────┘
▼
┌────────────────────────┐
│ GOPLAUSIBLE FACILITATOR│ /verify + /settle on Algorand TestNet
│ https://facilitator. │ USDC (ASA 31566704) transfer
│ goplausible.xyz │
└────────────────────────┘Tech Stack
TypeScript, Hono
@x402-avm/extensions(Bazaar discovery)GoPlausible facilitator, Algorand TestNet USDC
Run Locally
1. Prerequisites
Node.js 18+, pnpm (
npm i -g pnpm)Two funded Algorand TestNet accounts:
Server wallet (receiver): address only
Agent wallet (payer): mnemonic, kept local — never committed
Fund via Lora faucet, opt both into USDC in Lora, then get TestNet USDC from the Circle faucet (choose Algorand Testnet).
2. Configure
pnpm install
cp .env.example .envFill .env:
AVM_ADDRESS=<server wallet address> # receiver
AVM_MNEMONIC="<agent 25-word mnemonic>" # payer, LOCAL ONLY
SERVER_URL=http://localhost:40213. Start server + run agent
pnpm server # terminal 1
pnpm agent # terminal 2: discovery → 402 → auto-pay → resultVerify On-Chain
Every successful call settles a real TestNet transaction:
Facilitator dashboard: https://facilitator.goplausible.xyz/dashboard
Lora explorer: https://lora.algokit.io/testnet
Example settlement TX (from demo run):
TODO: paste Lora transaction link after first live runAPI
Endpoint | Payment | Description |
| free | liveness |
| free | tool catalog with schemas + prices |
| x402 | execute a tool, pay-per-call |
Roadmap
Spend-policy guard: per-agent budgets enforced by the middleware
Creator dashboard: register your own MCP tool + price in minutes
Bazaar listing at GoPlausible so any third-party agent can discover MCP-Pay tools
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to search, pay for, and call paid APIs using the x402 protocol, with automatic USDC settlement.2MIT
Loop MCP DualRailofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to pay for MCP tool calls using either Bitcoin/Lightning (L402) or USDC (x402) rails, with unified settlement and a 21% discount for Bitcoin payments.32MIT- AlicenseAqualityBmaintenanceEnables MCP clients to access all endpoints of an x402 gateway by paying real-time microtransactions (USDC on Base) per API call, with automatic tool discovery and spend guardrails.2389MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover, query, and pay for HTTP endpoints and MCP tools using Stellar USDC/SEP-41 stablecoins through a federated P2P bazaar catalog and x402 payment facilitator.Apache 2.0
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/challalokesh08/mcp-pay'
If you have feedback or need assistance with the MCP directory API, please join our Discord server