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 分

    請在儲存庫或註冊中心條目中宣告授權條款。