apipay
Prepaid balance for AI agents: one key, 4,900+ tools your agent can run today, caps, receipts.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"apipay": {
"command": "npx",
"args": [
"apifare-mcp"
]
}
}
}実行可能なパッケージ
0.4.1stdioリモートエンドポイント
https://apipay.fly.dev/mcpstreamable-httphttps://apifare.com/mcpstreamable-httpできること
ツール一覧
ツール(8)
🟢search_apis(query)
Search the apifare catalog of ready-to-call APIs (web search, scraping, weather, and more). Returns each API's slug, params, and per-call price in prepaid credits. Every miss is logged so missing APIs get added.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What kind of API you need, in plain words"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢call_api(slug, params)
Call an API from the apifare catalog by slug (find slugs with search_apis). The cost in prepaid credits is deducted automatically and returned with the result.
入力スキーマ
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "API slug from search_apis, e.g. \"web-search\""
},
"params": {
"type": "object",
"additionalProperties": {},
"description": "Params object per the API's manifest"
}
},
"required": [
"slug"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡get_vault_link(provider)
Get a secure one-time link where the user can save their OWN API key for a provider (BYOK). Never ask the user to paste an API key into the chat — always use this link instead. BYOK calls cost a flat 0.1 credits; the user's own provider account pays the provider.
入力スキーマ
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "API slug from search_apis, e.g. \"fal\""
}
},
"required": [
"provider"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢check_balance
Check the remaining apifare prepaid credit balance (1 credit = $0.01) and get the top-up link.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪topup(amount_usd)
Top up the apifare balance from the owner's standing auto-refill mandate (if the owner enabled one). Charges within the owner's configured limits and returns the new balance. Without a mandate, returns payment instructions to relay to the user.
入力スキーマ
{
"type": "object",
"properties": {
"amount_usd": {
"type": "integer",
"minimum": 5,
"maximum": 100,
"description": "Optional whole-dollar amount; defaults to the mandate's refill amount and is clamped to it"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪vendor_call(vendor, method, path, body)
Call a vendor MANAGEMENT API (supabase, vercel, fly, resend, github, npm, cloudflare, lemonsqueezy) with the owner's vaulted root credential injected server-side. Native request/response; destructive, billing, and member/admin routes are blocked. The root token is never visible.
入力スキーマ
{
"type": "object",
"properties": {
"vendor": {
"type": "string",
"description": "Vendor name, e.g. \"vercel\""
},
"method": {
"type": "string",
"description": "HTTP method (default GET)"
},
"path": {
"type": "string",
"description": "The vendor's own API path, e.g. \"v9/projects\""
},
"body": {
"type": "object",
"additionalProperties": {},
"description": "JSON body for write methods"
}
},
"required": [
"vendor",
"path"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢secret_transfer(from, to)
Move a secret from one vendor to another SERVER-SIDE — the value never enters this conversation. Example: fetch a Supabase service_role key and place it as a Vercel env var.
入力スキーマ
{
"type": "object",
"properties": {
"from": {
"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"resource": {
"type": "string"
},
"field": {
"type": "string"
}
},
"required": [
"vendor",
"resource",
"field"
],
"additionalProperties": false
},
"to": {
"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"resource": {
"type": "string"
},
"key": {
"type": "string"
}
},
"required": [
"vendor",
"resource",
"key"
],
"additionalProperties": false
}
},
"required": [
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪secret_generate(to, bytes)
Generate a random secret and place it directly at a vendor resource SERVER-SIDE — the value never enters this conversation.
入力スキーマ
{
"type": "object",
"properties": {
"to": {
"type": "object",
"properties": {
"vendor": {
"type": "string"
},
"resource": {
"type": "string"
},
"key": {
"type": "string"
}
},
"required": [
"vendor",
"resource",
"key"
],
"additionalProperties": false
},
"bytes": {
"type": "integer",
"minimum": 16,
"maximum": 64
}
},
"required": [
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}コミュニティ
エビデンス