The Stripe for
MCP Servers
Get paid every time AI uses your tools.
One line of code. Instant USDC payments. No invoices, no subscriptions — just revenue.
18
Tools in Registry
5
Live Servers
$0.00001
Per Transaction Fee
3 sec
Settlement
The problem
Without Toll, you're leaving money on the table
AI agents make thousands of tool calls every day. Each call uses your compute, your API keys, your data. You pay for all of it. They pay nothing.
Without Toll
- •You host tools — you pay the server bill
- •Agents call your tools 10,000 times/day — $0 revenue
- •No budget limits — one bad actor drains your API
- •No usage data — you don't know who uses what
Example: 10K calls/day × $0.01 cost each = -$100/day from your pocket
With Toll
- •Set a price per tool call — $0.01 to $1.00, you decide
- •Same 10,000 calls/day — $100/day in USDC to your wallet
- •Budget limits built in — automatic rate limiting per caller
- •Full dashboard — revenue per tool, per caller, per day
Same 10K calls/day × $0.01 each = +$100/day into your wallet
Revenue Calculator
Drag the sliders. See what your tools could earn.
Daily
$10
Monthly
$300
Yearly
$3.6K
100% goes to you. No Toll fee. No middleman. Paid instantly in USDC.
5 min
to set up
3 sec
payment settlement
$0.00001
transaction fee
USDC
real dollars, not tokens
For developers
One line of code. That's the change.
Your existing server stays the same. Toll adds a payment layer on top.
Your server today
import express from "express"
const app = express()
app.use(express.json())
// Your MCP server — handles tool calls
app.post("/mcp", async (req, res) => {
await mcpServer.handle(req, res)
})
app.listen(3000)Your server with Toll
import express from "express"
import { tollMiddleware } from "@rajkaria123/toll-gateway"
const app = express()
app.use(express.json())
// One line. Every paid tool call now earns USDC.
app.use("/mcp", tollMiddleware({
payTo: "G...YOUR_STELLAR_ADDRESS",
tools: { search: { price: "0.01" }, analyze: { price: "0.05" } },
}))
app.post("/mcp", async (req, res) => {
await mcpServer.handle(req, res)
})
app.listen(3000)One import. One middleware line. Your tools now charge USDC on every paid call.
How it works
Simple as setting a price tag
Think of it like a vending machine for AI. You stock the tools, set the prices. AI agents insert coins (USDC) and get access.
You set a price
"Search costs $0.01. Analysis costs $0.05." That's it. You pick the price for each tool you offer. Free tools stay free.
AI agent pays instantly
When an AI tries to use your tool, Toll says "that'll be $0.01." The agent pays in USDC (a digital dollar) automatically — no invoices, no subscriptions.
Money lands in your wallet
Payment arrives in 3 seconds. Not 30 days. Not "net 60." Real USDC in your wallet, visible on your dashboard. Cash out anytime.
Live on Stellar Mainnet
Try it. Right now.
This hits our live MCP server. Real Stellar mainnet. No setup required.
This is what your users experience. Free tools return 200. Paid tools return 402 with the price. An x402-compatible agent SDK handles payment and retries automatically.
health_check
FREE
search_competitors
$0.01
analyze_sentiment
$0.02
compare_products
$0.05
What you get
Everything you need to turn free tools into a revenue stream.
5-minute setup, zero rewrites
Add one line to your existing server. Your tools, your logic — nothing changes. Toll just adds a price tag and collects payment.
AI agents pay automatically
No invoices. No subscriptions. No billing portal. When an AI uses your tool, it pays you instantly. The payment happens in the background — like a toll booth on a highway.
See every dollar earned
Real-time dashboard shows who paid, how much, and for what. Every payment is traceable on-chain. Full transparency, no black boxes.
Built-in protection
Budget limits per caller, per day. If an AI goes haywire and spams your tool — it gets cut off automatically. You stay protected.
The Platform
Not just payments.
Discovery, proxy, and quality — built in.
Toll is a complete platform for the agent economy. Developers monetize tools, agents discover and pay for them, and quality scores ensure the best tools rise to the top.
Tool Registry
Agents discover tools by capability and price. Register your server with one command. Quality scores rank the best tools.
Browse the Registry →Toll Proxy
Any MCP client can use paid tools — zero code changes. The proxy auto-creates a wallet, signs USDC payments, and enforces budget limits.
Set up your wallet →Why Toll?
The payment infrastructure the agent economy needs. 3-second settlement, $0.00001 fees, and a developer experience that takes 5 minutes.
Learn more →Get started
Three steps. Five minutes.
Install
npm install @rajkaria123/toll-gateway @rajkaria123/toll-stellarConfigure your tools and prices
{
"network": "mainnet",
"payTo": "G...YOUR_STELLAR_ADDRESS",
"facilitatorUrl": "https://channels.openzeppelin.com/x402",
"tools": {
"my_free_tool": { "price": "0", "currency": "USDC" },
"my_paid_tool": { "price": "0.05", "currency": "USDC" }
}
}Add one line of middleware
import { tollMiddleware, loadConfig } from "@rajkaria123/toll-gateway"
const config = loadConfig("./toll.config.json")
app.use("/mcp", tollMiddleware(config))Deploy. Every paid tool call now earns USDC on Stellar.
Full documentation →Why Stellar
$0.01 tool calls need $0.00001 fees
Agent micropayments only work if the transaction cost is negligible. Stellar is the only production network where that's true.
| Stellar | Ethereum | Solana | |
|---|---|---|---|
| Finality | 3-5 seconds | 12+ seconds | ~0.4 seconds |
| Transaction fee | ~$0.00001 | $0.50 - $5.00 | ~$0.00025 |
| Native USDC | First-class asset | ERC-20 (bridge risk) | SPL token |
| x402 protocol | Production ready | Limited | Not available |
| MPP protocol | Native support | Not available | Not available |
Sources: Stellar finality and fees per developers.stellar.org. Ethereum finality per ethereum.org. Solana finality per solana.com. USDC issuer data per circle.com.
You never touch Stellar directly. Toll abstracts all blockchain internals. You don't configure wallets, sign transactions, or learn Soroban. You set prices in your config file. Toll and Stellar handle the rest.
For AI Agents
Use paid tools without writing payment code
The Toll Proxy sits between your MCP client and any Toll-powered server. It intercepts 402 responses, signs USDC payments, and retries — all transparently. Use our hosted proxy at proxy.tollpay.xyz or self-host with npx.
Start the proxy:
# Start the Toll Proxy locally — auto-creates a Stellar wallet
npx @rajkaria123/toll-proxy --target https://api.tollpay.xyz/mcp
# Or with custom budget limits
npx @rajkaria123/toll-proxy \
--target https://api.tollpay.xyz/mcp \
--budget-daily 5.00 \
--budget-per-call 0.50
# Or use the hosted proxy (no install needed):
# https://proxy.tollpay.xyz/mcp?target=https://api.tollpay.xyz/mcpConnect your MCP client:
// Add to Claude Desktop / Cursor MCP config:
{
"mcpServers": {
"my-paid-tools": {
"url": "https://proxy.tollpay.xyz/mcp?target=https://api.tollpay.xyz/mcp",
"transport": "streamable-http"
}
}
}
// Or use localhost if running the proxy locally:
// "url": "http://localhost:3010/mcp?target=https://api.tollpay.xyz/mcp"0
lines of payment code
Auto
wallet creation & funding
$5/day
default budget limit
Discovery
The directory for paid AI tools
Agents discover tools by capability and price. Developers register their servers with one command. Quality scores help agents choose the best tools.
Discover tools programmatically:
// Discover tools programmatically
const resp = await fetch(
"https://tollpay.xyz/api/registry/discover?q=search&maxPrice=0.05"
)
const { tools } = await resp.json()
// 18 tools across 5 servers — free and paid
// [{ name: "search_competitors", price: "0.01", server: { url: "..." }, ... }]For Server Developers
Register your tools and let agents find you:
npx @rajkaria123/toll-cli register --url https://your-server.com/mcpFor Agent Developers
Browse available tools with quality scores and connect instantly.
Browse the Registry →Every tool call that doesn't pay you
is money you're giving away.
Set up takes 5 minutes. Your first payment arrives in seconds.
Start Earning Now