import { withPayments } from "@payo/mcp"const paid = withPayments(yourMCPServer, { apiKey: process.env.PAYO_AGENT_API_KEY, pricing: { "yourTool": 0.01, // $0.01 per call }})Set up your API keys and define pricing for each tool.
Use our SDK to wrap your MCP server with one line.
Your agent calls tools autonomously.
Funds settle instantly to providers.
const agent = createAgent({
wallet: "payo://my-agent",
budget: 100, // $100 max
});Zero integration. Full control.
export const pricing = {
"search": 0.001,
"analyze": 0.05,
};Set prices. Get paid instantly.
const agent = createAgent({
wallet: "payo://my-agent",
budget: 100, // $100 max
});Zero integration. Full control.
export const pricing = {
"search": 0.001,
"analyze": 0.05,
};Set prices. Get paid instantly.