Every Model Context Protocol call — tool invocation, resource read, sampling — flows through Macropay as a metered, attributable, payable event. Agents authenticate, tools get paid, and you bill for outcomes instead of seats.
Agents don't buy seats. They invoke tools, consume context and produce outcomes. Macropay meters all three and settles between the parties involved.
Each agent gets a scoped key and spend policy. Authenticate, authorize and cap spend per agent, per task.
When an agent calls a paid MCP tool, Macropay meters the call and settles to the tool provider automatically.
Bill for the report delivered or the ticket resolved — value receipts prove what the agent was worth, not just what it cost.
Wrap your MCP server once. Every tool call, resource read and sampling request becomes a metered event with the agent, customer and cost attached — no per-tool plumbing.
import { withMacropay } from "@macropay/mcp";export const server = withMacropay(mcp, { agent: ctx.agentId, pricing: "tools.standard", cap: 5.00 // max $ / task});// every tool call is now metered + billed
Macropay was designed around the agent as the unit of billing — not retrofitted from SaaS subscriptions.
Flat 4.5% + $0.50, all-in. MCP-native metering, spend caps and outcome billing in the box.