Apipay

io.github.iamalanlui由 GitHub 账号 iamalanlui 发布v0.4.2更新于 Oct 24, 2026

Prepaid balance for AI agents: one key, 4,900+ tools your agent can run today, caps, receipts.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具安全与监控

概览

AI 生成的概览

Apipay(apifare)让助手搜索并调用现成 API 目录,按次从预付积分余额中扣费。

可以做什么
搜索 apifare 现成可调用 API 目录,查看每个 API 的 slug、参数和每次调用价格(积分),未命中的搜索会被记录以便补充目录。按 slug 调用目录中的 API,费用自动从积分扣除并随结果返回。获取一次性保险库链接,让用户自行保存其提供商 API 密钥(BYOK),无需在对话中粘贴。查询预付积分余额并获取充值链接,或在所有者已启用自动充值授权时发起充值。使用所有者已存入的根凭据在服务端注入,调用供应商管理 API(Supabase、Vercel、Fly、Resend、GitHub、npm、Cloudflare、Lemon Squeezy)。在服务端迁移或生成密钥,密钥值不进入对话。
适用场景
适合助手需要执行网页搜索、抓取、天气等现成 API 调用而不想逐个接入提供商时,也适合在不暴露密钥值的情况下管理供应商账户或迁移密钥。
运行要求
可作为远程端点运行,也可作为本地 npm 包(apifare-mcp,stdio)运行。需要从 apifare 注册接口获取的 APIPAY_TOKEN bearer 令牌,以及用于付费调用的预付积分余额。需要访问 apifare 及所调用供应商的网络。
安装前请注意
调用会消耗预付积分(1 积分 = 0.01 美元),充值可能按所有者配置的限额从其支付授权中扣款。APIPAY_TOKEN 是密钥。供应商调用使用所有者存入的根凭据,可能更改供应商资源;据称破坏性、计费和管理员路由已被阻止。密钥迁移与生成会在服务端将真实密钥放置到供应商处。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Apipay,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.iamalanlui%2Fapipay/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "apipay": {
      "type": "http",
      "url": "https://apifare.com/mcp"
    }
  }
}

README

该仓库没有 README。

工具

8

search_apis

Search the API catalog

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.

输入参数query必填

call_api

Call an API (spends prepaid credits)

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.

输入参数slug必填params

check_balance

Check the prepaid balance

Check the remaining apifare prepaid credit balance (1 credit = $0.01) and get the top-up link.

无需输入参数。

topup

Top up the balance (charges the owner's card)

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.

输入参数amount_usd

vendor_call

Call a vendor management API

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.

输入参数bodypath必填methodvendor必填

secret_transfer

Move a secret between vendors, server-side

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.

输入参数to必填from必填

secret_generate

Generate a secret and place it at a vendor

Generate a random secret and place it directly at a vendor resource SERVER-SIDE — the value never enters this conversation.

输入参数to必填bytes

版本历史

1
  1. v0.4.2最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。