I'm building an AI Agent
Learn how to enable your agent to use paid MCP tools
I'm an MCP Provider
Learn how to monetize your MCP tools
The Problem
MCP (Model Context Protocol) lets AI agents use external tools. But there’s no built-in way for providers to charge for their tools, or for agents to pay. For providers: You’ve built valuable MCP tools but can’t monetize them. For agents: You want to use premium tools but there’s no payment mechanism.How Payo Works
Providers wrap their MCP server
Add
withPayments() from the Payo SDK to enable charging. Define prices per tool.Key Concepts
Agent Token
Agent Token
A secret key (
sk_live_...) that identifies the agent making tool calls. Agents pass this token when calling MCP tools. Each call is charged to the agent’s balance.Provider API Key
Provider API Key
A secret key that providers use to authenticate with the Payo platform. Used server-side in the SDK configuration.
Pricing
Pricing
Providers set a USD price for each tool. Example:
{ "get_weather": 0.01, "analyze_image": 0.05 }. Free tools can have price 0.Wallets
Wallets
Agents have a credits balance (deposited funds). Providers have an earnings balance (revenue earned). Payo handles the transfer automatically.