Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Saifuban

by ut181749utversion 0.4.1i★ 1iRuns in the cloudOfficial site ↗
Registry nameio.github.ut181749ut/saifuban

How to install

What it does

Hard daily caps on AI agents' API spend, plus phone approval before any other payment.

  • Connects Runs in the cloud
  • Account or key Needs Authorization
  • Category Online shops & payments

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering8/8The cloud endpoint answered at the last check
Usage score24/100

Quality: Passed 4/5 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Saifuban. Follow https://mcp.popnx.com/i/ut181749ut-saifuban.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 4/5 checks · What you ask goes through the maker’s server (zrphnuvrsldcycxtdftv.supabase.co) · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude · about 5 min

You need a Saifuban key (create it on the maker’s site) · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it

  1. Sign up and create a Saifuban key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Saifuban site ↗

  2. Open Claude’s Connectors page

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  3. Click “Add” → “Custom” → “Web” and fill in these 2 fields

    Copy each value into the field with the same name in Claude, then click Continue

    Name · NameSaifuban
    Remote MCP server URL · Addresshttps://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp

    Under Request headers, add this name and value

    Header nameAuthorization
    ValueBearer <paste your key here>

    Paste the key only into the app’s field, never into a chat or to anyone

    Click Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add

  4. Turn it on in a chat

    +ConnectorsSaifuban

  5. Try it

    Use Saifuban and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Saifuban or shows a Saifuban tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Saifuban yet

Saifuban needs your own key to connect, but OpenAI’s help page only describes OAuth sign-in; there is no key option we could verify

What you can do instead

A · Use an app that can connect Saifuban

  • You need a Saifuban key (create it on the maker’s site) · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it
  • You need a Saifuban key (create it on the maker’s site)
  • You need a Saifuban key (create it on the maker’s site)
  • You need a Saifuban key (create it on the maker’s site)

B · Others in Online shops & payments that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code · about 5 min

You need a Saifuban key (create it on the maker’s site)

  1. Sign up and create a Saifuban key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Saifuban site ↗

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --transport http --scope user saifuban https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp --header 'Authorization: Bearer your-value'

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Type /mcp in Claude Code

    You should see Saifuban listed as connected

  5. Try it

    Use Saifuban and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Saifuban or shows a Saifuban tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor · about 5 min

You need a Saifuban key (create it on the maker’s site)

  1. Sign up and create a Saifuban key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Saifuban site ↗

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Fill in your key

    In the Saifuban settings, Authorization is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Open the AI chat in Cursor in Agent mode

  5. Try it

    Use Saifuban and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Saifuban or shows a Saifuban tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code · about 5 min

You need a Saifuban key (create it on the maker’s site)

  1. Sign up and create a Saifuban key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Saifuban site ↗

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Fill in your key

    In the Saifuban settings, Authorization is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  4. Open the AI chat in VS Code in Agent mode

  5. Try it

    Use Saifuban and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Saifuban or shows a Saifuban tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

Address for apps that connect over the web

Addresshttps://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp

JSON settings are under “For developers” below

Stuck? Ask people who use Saifuban💬 Discussion →
For developers: Terminal commands and JSON settings

Over the web

Claude Code

claude mcp add --transport http --scope user saifuban https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp --header 'Authorization: Bearer your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "saifuban": {
      "url": "https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "saifuban": {
      "type": "http",
      "url": "https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp",
      "headers": {
        "Authorization": "Bearer your-value"
      }
    }
  }
}

Values you fill in

  • Authorization secret required HTTP header
    Bearer sbk_... agent key from https://ut181749ut.github.io/saifuban/

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Licencei
No licence stated
Connection
Runs in the cloud
Transport
streamable-http
Latest versioni
0.4.1
Published to registryi
Nov 8, 2026
Code last changedi
Nov 18, 2026
Last checked
Nov 14, 2026
Maker
ut181749ut
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Connect over the internet in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

All apps, with pros and cons →

Related guides

What it can do

Tool names and descriptions exactly as the server reported them on Nov 14, 2026. The maker wrote them, not us; we show them as plain text.

  • request_payment

    お金を使う前に必ず呼ぶツール。支払先・金額・理由を財布番に申請し、許可が出たかを返す。status が approved のときだけ支払ってよい。pending_approval は持ち主の承認待ちで、まだ支払ってはいけない(持ち主のスマホに通知が届く)。denied や expired のときは支払わず、reason をユーザーに伝える。 / Call this BEFORE spending any money. Pay only when status is approved. pending_approval means the owner mu

  • check_payment_status

    以前の申請(request_id)が承認されたかを確認する。approved になってから支払うこと。 / Check whether an earlier request was approved. Pay only after it is approved.

  • list_payments

    このAI自身の過去の支払い申請を調べる(二重払い・二重契約を避けるため)。例: 今月すでにSpotifyを承認済みか。 / Look up this agent's own past payment requests, e.g. to check whether a Spotify charge was already approved this month, and avoid paying twice.

  • get_budget

    このAIが今日・今週・今月あといくら使えるか、1回の上限、自動承認ライン、使ってよい支払先を確認する。 / Check the remaining daily, weekly and monthly budget, per-payment limit, auto-approve amount and allowed merchants.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account ut181749ut, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✕ Fail

    Has a licence

    No licence file found in the repo

  • ✓ Pass

    Endpoint responds

    Responded in 248 ms (HTTP 200)

  • – Not applicable

    Sign-in with OAuth

    No sign-in needed

  • ✓ Pass

    No hidden instructions in tool descriptions

    Read 4 tool descriptions and found no hidden instructions to the AI

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ut181749ut-saifuban.svg)](https://mcp.popnx.com/en/servers/ut181749ut-saifuban)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Online shops & paymentsi

  • More stars than 89% of the other 2947 servers in this category
  • Published to the registry more recently than 73% of the other 2947 servers in this category
  • Basic checks equal to or better than 63% of the other 2947 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Saifuban safe?

It passed 4 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: Authorization

Does it run on my computer or in the cloud?

It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.4.1) reached the registry 11 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).

What can I use instead?

In the same category: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Stripe MCP

Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.

by stripeWidely used★ 2.1KUpdated 13 months ago

Runs in the cloud✓ service owner · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

by flightclawGrowing★ 86Updated 2 months ago

Runs in the cloud✓ service owner · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

by trade-it-incEarly★ 62Updated 34 days ago

Runs in the cloud✓ service owner · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

by idealoEarly★ 28Updated 6 months ago

Runs in the cloud✓ service owner · mcp.idealo.com
Compared with similar ones
This one
Saifuban
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
Runs whereRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoYesNoNoNoNo
Basic checks4/54/44/45/54/44/4
License–MITMITCC0-1.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

AIの財布番 (Saifuban) — a spending guard for AI agents

AIがお金を使う前に、あなたのスマホに承認を聞きにくる。AIエージェントのAPI代も1日の予算で止める。Claude・ChatGPT・Museで使えて、Museならチャットに1通送るだけ。日本語・円対応。 Hard daily caps on your AI agents' API spend, plus phone approval before any other payment.

👉 https://ut181749ut.github.io/saifuban/


日本語

AIエージェントは支払いの前に財布番に「払っていいか」を聞きます。財布番はあなたが決めたルールで答えます。

  • 少額(例: 300円以下)は自動で許可
  • それを超えるとスマホに通知 → 承認 / 却下をワンタップ
  • 1日・1週間・1か月の予算、1回の上限、支払先の制限
  • 「聞かずに払う」のを、前に払ったことがある支払先だけにする設定(初めての支払先はスマホで確認)
  • 緊急停止ボタン
  • AIごとに別々のルール
  • サブスク(定期購入)は金額に関係なく必ずスマホで確認。通知に年額を表示。AIが申告し忘れても、理由や支払先の文言から定期購入らしいものを見つけて確認に回す
  • AIが自分の過去の申請を調べられる(同じ支払いを二重にしないため)
  • APIキーを預ければ、AIエージェントのAPI代も1日・週・月の予算で強制停止(AIには代理のキーだけを渡す)
  • LangChain・CrewAI・OpenAI Agents SDK・Vercel AI SDK・Claude Codeでは、接続先と鍵を差し替えるだけ(コード例は英語版の「Use it from your agent framework」)
  • 日本語・円で使える。メール登録なし・無料

財布番はお金を動かしません。カード情報や口座は預かりません。

APIキーを他人のサーバーに預けたくない場合は、全部を自分のSupabaseとCloudflare(どちらも無料枠で足ります)で動かせます。手順は SELF_HOST.md。

使い方

ターミナルからなら1行で始められます(登録・AI作成・APIキー預けまで): npx https://github.com/ut181749ut/saifuban/archive/refs/heads/main.tar.gz(WindowsのPowerShellでは npx.cmd https://github.com/ut181749ut/saifuban/archive/refs/heads/main.tar.gz)

  1. サイトで「はじめる」→ 予算を選ぶ → AI用のURLが出る
  2. そのURLをAIに登録(Claude: コネクタ / ChatGPT: 開発者モードのアプリ / Muse: チャットでURLを送る / Cursor・VS Code: MCP設定)

URLをコピーせずにつなぐこともできます(OAuth)。ClaudeやChatGPTのコネクタに次のURLを登録すると財布番の許可画面が開くので、つなぐAIを選んで「許可する」を押すだけです。

https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp
  1. AIに「財布番で今日の残り予算を見て」と聞いて確認

English

Stop your AI agents from overspending. Saifuban puts a hard daily cap on your agents' API bills and makes them ask your phone before any other payment.

  • Keep your real Anthropic / OpenAI / Google key. No reseller in between, no markup, new API features work on day one. The agent gets a proxy key; your key stays encrypted on the server.
  • Parallel calls can't go over. Every call reserves its worst-case cost before it's sent, so ten calls started at once still stop at the cap.
  • Per agent, per day, in your time zone. Each agent gets its own daily (and optional weekly/monthly) budget that resets at your midnight. Budgets can be shown in USD (Settings → currency).
  • Open source and self-hostable. Don't want to hand your key to someone else's server? Run the whole thing on your own Supabase and Cloudflare free tiers: SELF_HOST.md.
Hard cap on API bills

Store your OpenAI, Anthropic, Google or OpenRouter key in Saifuban. Your agent only gets a proxy key (sbk_...), every call is metered, and requests are refused once the agent's daily (or optional weekly/monthly) budget is reached. Your real key never reaches the agent.

Before each call, the proxy reserves the most it could cost (input size + max_tokens × the model's price) and settles to the actual usage when the call ends. Reservations count against the caps together with spend, so parallel calls can't all slip under the line. If a stream is cut before the usage arrives, the reserved amount is recorded instead of zero. Each reservation is settled exactly once: a retried or late settle can't charge twice, and a reservation whose settle never arrives is charged at its reserved amount after 10 minutes (and corrected if the real usage shows up later). See the reserve → settle → release test. Days reset at midnight in the owner's own time zone (taken from their device, changeable in Settings), and a call is charged to the day it started, so a call from 23:59 to 00:01 stays on the earlier day (day boundary test). If a request doesn't set an output limit, the proxy sets one (the model's maximum, up to 32k tokens) and reserves for it, so a call can't write past its reservation; asking for several answers at once (n) reserves for each. Web searches and other per-call tool fees are counted too, prices and the exchange rate update daily, and a model missing from the price list is charged at that provider's highest price. If a call doesn't fit only because other calls still hold reservations, the proxy answers 429 (retry shortly), so a retry goes through once they finish. If the rest of the day's budget can't cover the requested max_tokens but can cover at least 4,096 tokens, the proxy lowers max_tokens to what's left instead of refusing (the response carries x-saifuban-output-capped). When the budget is really used up, it answers 429 with billing_error, x-should-retry: false and Retry-After set to the reset time, the same shape Claude Code expects from a spend-limit gateway, so clients stop instead of retrying. Token-counting calls (count_tokens, input_tokens) pass through free. Endpoints whose cost can't be metered per call (batches, images, audio, video, fine-tuning, realtime) are refused, so they can't go around the cap. The proxy runs on Cloudflare, so responses that take several minutes stream to the end (the older https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-proxy/... address still works, but cuts responses at 150 seconds).

Each agent can also have at most a few API requests in flight at once (8 by default, adjustable). Extra requests get a 429 and the official SDKs retry them automatically, so a runaway loop can't fire hundreds of calls before the budget check catches up.

Use it from your agent framework

Or set everything up from the terminal in one command (account, agent with a daily budget, API key):

npx https://github.com/ut181749ut/saifuban/archive/refs/heads/main.tar.gz

On Windows PowerShell use npx.cmd instead of npx. Git doesn't need to be installed. The command checks GitHub for a newer version on start and runs that one, so an old copy cached by npx is never used.

Point the client at the Saifuban proxy and give it the agent's proxy key. Nothing else changes.

Claude Code

export ANTHROPIC_BASE_URL="https://saifuban.saifuban-app.workers.dev/proxy/anthropic"

export ANTHROPIC_AUTH_TOKEN="sbk_..."

Use `ANTHROPIC_AUTH_TOKEN`, not `ANTHROPIC_API_KEY`: with `ANTHROPIC_API_KEY`, Claude Code asks once whether to use the key, the default answer is No, and a declined key is ignored silently after that. To keep it for every new terminal, put both in the `"env"` block of `~/.claude/settings.json` (`%USERPROFILE%\.claude\settings.json` on Windows). The setup command offers to do this for you.

OpenAI SDK / OpenAI Agents SDK (Python)

from openai import AsyncOpenAI

from agents import set_default_openai_client

set_default_openai_client(AsyncOpenAI( base_url="https://saifuban.saifuban-app.workers.dev/proxy/openai/v1", api_key="sbk_...", ))

LangChain

from langchain_openai import ChatOpenAI

from langchain_anthropic import ChatAnthropic

gpt = ChatOpenAI(model="gpt-4o-mini", base_url="https://saifuban.saifuban-app.workers.dev/proxy/openai/v1", api_key="sbk_...") claude = ChatAnthropic(model="claude-sonnet-4-5", base_url="https://saifuban.saifuban-app.workers.dev/proxy/anthropic", api_key="sbk_...")

CrewAI

from crewai import LLM

llm = LLM(model="openai/gpt-4o-mini", base_url="https://saifuban.saifuban-app.workers.dev/proxy/openai/v1", api_key="sbk_...")

Vercel AI SDK

import { createOpenAI } from "@ai-sdk/openai";

const openai = createOpenAI({ baseURL: "https://saifuban.saifuban-app.workers.dev/proxy/openai/v1", apiKey: "sbk_..." });

OpenRouter (hundreds of models, actual cost reported per call): base URL https://saifuban.saifuban-app.workers.dev/proxy/openrouter/v1. Gemini: https://saifuban.saifuban-app.workers.dev/proxy/google/v1beta/openai (OpenAI-compatible).

Phone approval for everything else

Your AI agent asks Saifuban before every payment. Saifuban answers using your rules.

  • Auto-approve small amounts (e.g. under ¥300)
  • Anything above goes to your phone as a push notification — approve or reject in one tap
  • Daily, weekly and monthly budgets, per-transaction limit, allowed merchants
  • Optional: auto-approve only merchants you've paid before; new merchants always go to your phone
  • Kill switch
  • Separate rules per agent

Saifuban never moves money and never stores card or bank details. It only decides whether a payment is allowed.

Setup
  1. Open the site, press "はじめる" (Start), pick a budget — you get a personal MCP URL
  2. Add the URL to your AI as a remote MCP server (Streamable HTTP, no auth — the key is in the URL). With Muse, just send the URL in a chat message and ask it to connect

Or skip the copy-paste and connect with OAuth: add https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp as a connector in Claude or ChatGPT. A Saifuban consent page opens; pick (or create) the agent and press Allow. Dynamic Client Registration and PKCE (S256) are supported.

  1. Ask your AI: "Check my remaining budget with Saifuban"

MCP tools

ToolWhat it does
request_paymentAsk whether a payment (merchant, amount, currency JPY/USD, reason, recurring none/week/month/year) is allowed. Waits up to 45 s for phone approval. Returns a single-use payment_token when approved. Subscriptions always need your approval, whatever the amount, and the notification shows the yearly cost. Retrying a request that is still pending returns the same request instead of creating a new one (or pass idempotency_key).
check_payment_statusCheck whether a pending request was approved.
list_paymentsThe agent's own past requests (filter by merchant / days), so it can check e.g. whether a Spotify charge was already approved this month and avoid paying twice.
get_budgetRemaining budget today, this week and this month, per-transaction limit, auto-approve threshold, allowed merchants.

Endpoint: https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban-mcp/ (get your key on the site)

Hard enforcement: single-use payment tokens

Calling request_payment is voluntary, so a prompt-injected agent could simply skip it. To make the guard enforceable, every approved request comes with a payment_token (sbt_...):

  • single-use, valid for 24 hours
  • bound to the approved merchant and amount
  • invalid if the AI is stopped or the kill switch is on

Whatever actually moves the money (your payment tool, wrapper, or merchant backend) should require this token and redeem it before paying:

curl -X POST https://zrphnuvrsldcycxtdftv.supabase.co/functions/v1/saifuban/redeem \

-H "content-type: application/json" \ -d '{"token":"sbt_...","merchant":"OpenAI","amount":12.5,"currency":"USD"}'

=> {"valid":true,"consumed":true,...} or {"valid":false,"error":"already_used" | "merchant_mismatch" | "amount_exceeds_approval" | ...}

/verify takes the same body and checks without consuming. No agent key is needed to redeem, so the payment side doesn't have to share secrets with the agent.

API spend is already hard-enforced: when you store your provider API key in Saifuban, the agent only ever gets a proxy key.

Challenge

Think you can make Saifuban approve more than the budget? A live agent with a ¥100/day budget is open to everyone: https://ut181749ut.github.io/saifuban/challenge.html

Thanks
  • u/organic-humanoid pointed out that metered API calls were checked before the call but counted after, so calls already in flight could slip past the cap. That led to reserve-then-settle in the proxy. Thank you!

Links

  • 利用規約 / Terms
  • [プライバシーポリシー / Privacy](https://ut181749ut.github.io/saifuban/p

Only the beginning is shown; read the rest in the repo