Sekisho MCP

io.github.usainbluntmx由 GitHub 帳號 usainbluntmx 發布v0.1.1更新於 Nov 5, 2026

Lets any MCP client pay x402 tools in USDC on Avalanche, with per-call and 24 h caps.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

本機代理型 MCP 伺服器,讓助理使用按次付費的 x402 MCP 工具,以 Avalanche 上的 USDC 付款,並受單次與每日上限限制。

可以做什麼
  • 連線支援 x402 的遠端 MCP 伺服器,並把其工具提供給助理
  • 以本機付款錢包用 Avalanche 上的 USDC 支付付費工具呼叫,超過單次上限的呼叫會被拒絕
  • 以磁碟檔案記錄滾動 24 小時消費上限,重啟與工作階段之間依然有效
  • 首次呼叫後在工具描述中顯示各工具價格,讓助理在再次付費前判斷成本
  • 透過免費的 wallet 工具回報付款位址、網路、上限與最近消費
適用情境
當你希望助理呼叫 Avalanche 上按次付費的 x402 MCP 服務,且需要硬性消費上限與專用低餘額錢包,而非無限制付款時使用。
執行需求
透過 npx 從 npm 套件在本機執行,需要 Node.js。需要 SEKISHO_MCP_URL 指向遠端 Streamable HTTP MCP 伺服器,需要權限 600 的付款私鑰檔案(SEKISHO_PAYER_KEY_FILE),以及 Avalanche(測試網 avalancheFuji 或主網 avalanche)上的 USDC。上限由 SEKISHO_MAX_PER_CALL 與 SEKISHO_MAX_PER_DAY 設定。
安裝前請注意
當 SEKISHO_NETWORK 設為 avalanche 時會簽署真實 USDC 付款。請使用餘額很少的專用錢包並維持較低上限,因為助理可能自行發起付費呼叫,且即使結算失敗,已簽署的付款仍計入上限。私鑰必須放在權限 600 的檔案中,絕不可寫入編輯器設定。工具呼叫與付款會傳送到 SEKISHO_MCP_URL 指定的遠端伺服器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sekisho MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@zero-two-labs/sekisho-mcp

A local MCP server that lets OpenCode, Claude Code, Codex or any MCP client use paid MCP tools. It connects to a remote MCP server that charges per call with x402 (USDC on Avalanche), shows its tools to your agent, and pays the paid ones from your wallet, never above your caps.

  • Per-call cap (SEKISHO_MAX_PER_CALL, default 0.01 USDC): a tool that costs more is refused, nothing is signed.
  • 24-hour cap (SEKISHO_MAX_PER_DAY, default 0.10 USDC): kept in a file on disk, so it holds across restarts and sessions.
  • The key never goes in your editor config. It is read from a private file (chmod 600); the proxy refuses a file other users can read.
  • Prices in tool descriptions. After the first call the agent sees what each tool costs (and whether it is above your cap), so it can decide before paying again.
  • Extra free tool sekisho_wallet: payer address, network, caps and what was spent in the last 24 h.

Works with any x402 exact MCP server on Avalanche, not only Sekisho sellers. Paid services you can use with it are listed at sekisho.zerotwolabs.xyz/services. Listed in the MCP Registry as io.github.usainbluntmx/sekisho-mcp.

1. The payer key

Use a wallet only for this, with a small amount of USDC. It does not need AVAX: the seller pays the gas.

bash
mkdir -p ~/.config/sekisho && chmod 700 ~/.config/sekishoread -s KEY && printf '%s\n' "$KEY" > ~/.config/sekisho/payer.key && chmod 600 ~/.config/sekisho/payer.key && unset KEY

2. OpenCode

In opencode.json (project root) or ~/.config/opencode/opencode.json (global), per the OpenCode MCP docs:

json
{  "$schema": "https://opencode.ai/config.json",  "mcp": {    "sekisho": {      "type": "local",      "command": ["npx", "-y", "@zero-two-labs/sekisho-mcp"],      "enabled": true,      "environment": {        "SEKISHO_MCP_URL": "https://sekisho-api.zerotwolabs.xyz/mcp",        "SEKISHO_NETWORK": "avalanche",        "SEKISHO_MAX_PER_CALL": "0.01",        "SEKISHO_MAX_PER_DAY": "0.50"      },      "timeout": 60000    }  }}

Other clients: register a local (stdio) MCP server that runs npx -y @zero-two-labs/sekisho-mcp with the same environment variables.

Configuration

VariableDefaultMeaning
SEKISHO_MCP_URL(required)Remote paid MCP server (Streamable HTTP). https, or http on localhost only
SEKISHO_NETWORKavalancheFujiavalancheFuji (testnet) or avalanche (mainnet, real USDC)
SEKISHO_MAX_PER_CALL0.01Max USDC per tool call
SEKISHO_MAX_PER_DAY0.10Max USDC in any 24 h window
SEKISHO_PAYER_KEY_FILE~/.config/sekisho/payer.keyPrivate key file (0x + 64 hex, mode 600)
SEKISHO_LEDGER_FILE~/.config/sekisho/spend.jsonSpend log used for the 24 h cap

Agents call paid tools on their own initiative, not only when you ask: keep the caps low. A signed payment counts toward the cap even if the server then fails to settle it. Logs go to stderr; stdout is the MCP protocol.

MIT · Sekisho by Zero Two Labs

來源:packages/sekisho-mcp/README.md,提交 1a3442a

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

1
  1. v0.1.1最新Nov 5, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分