Skip to content

Paid MCP tools

MCP tools can call paid APIs, datasets, or services. AllowKit is designed to give MCP clients and servers a safe way to handle these payments using scoped allowances.

agent.ts
import { createAllowKitMcpClient } from "@allowkit/mcp"; // roadmap — not yet shipped
const client = createAllowKitMcpClient({
allowanceId: "alw_mcp_research",
policy: {
maxPerToolCallUsd: 0.10,
maxPerDayUsd: 10,
allowedTools: ["search", "market_data", "weather"]
}
});
{
"allowedTools": ["search", "market_data"],
"blockedTools": ["send_email", "trade"],
"maxPerToolCallUsd": 0.10,
"maxToolCallsPerSession": 25,
"requireApprovalForWriteActions": true,
"requireApprovalForFinancialActions": true
}