Skip to main content
Glama
agentbank-merchant-mcp

agentbank-merchant-mcp

Official
by agentbankmcp

@curless/agentbank-merchant-mcp

agentbank 用のマーチャント側MCPサーバー。 マーチャントは、MCPクライアント(Claude Desktop)から自身の注文とCurlessウォレットのリアルタイム残高(マーチャントのCurlessアカウントに実際に決済された資金)を読み取ることができます。

環境変数経由のCurless APIキー — OAuthは不要で認証されます。(OAuthルートは、claude.aiでURLを追加するリモートの/mcpコネクタです。こちらはClaude Desktop / stdioクライアント向けのシンプルなトークンベースのパスです。)購入者向けの@curless/agentbank-mcpとは分離されているため、2つのペルソナがツールサーフェスを共有することはありません。リモートの/mcpコネクタと同じMCP Appsカードをレンダリングし、カードに対応していないホスト向けにはMarkdownテーブルのフォールバックを提供します。

ツール

注文:

  • list_orders — このマーチャントの注文(エージェントが支払ったもの)を新しい順に表示。ステータス / プロトコル / 通貨 / 日付でフィルタリング可能。

  • get_summary — 注文の集計: 通貨別の件数 + 総額、プロトコル/ステータス別の内訳。

  • get_balance — 通貨別のCurlessウォレットのリアルタイム残高(利用可能 / 凍結)。

  • get_order — 1件の注文の全詳細: 明細項目 + 支払いに使用されたカード。

返金:

  • list_refund_requests — 購入者からの注文に対する返金リクエスト(キュー。ステータスでフィルタリング可能)。

  • approve_refund — リクエストを承認 → Curlessに転送(Curlessが確認すると注文が返金されます)。

  • reject_refund — リクエストを拒否(任意のメモ付き)。

  • refund_order — 自社の注文を直接返金(購入者のリクエストは不要)。

8つすべてが同じMCP Appsカード(注文一覧 / 詳細 / サマリー / ウォレット / 返金キュー)にレンダリングされ、カードに対応していないホスト向けにはMarkdownフォールバックが提供されます。

Related MCP server: inflow

使用方法 (Claude Desktop claude_desktop_config.json)

{
  "mcpServers": {
    "agentbank-merchant": {
      "command": "/usr/local/bin/npx",
      "args": ["-y", "@curless/agentbank-merchant-mcp"],
      "env": {
        "AGENTBANK_MERCHANT_TOKEN": "<your-curless-api-key>",
        "AGENTBANK_MERCHANT_ID": "429488"
      }
    }
  }
}

環境変数

説明

AGENTBANK_MERCHANT_TOKEN

Curless APIキー(オンボーディング時にCurlessから発行)

AGENTBANK_MERCHANT_ID

CurlessのマーチャントID(例: 429488)

サーバーはデフォルトでhttps://mcp.curless.aiに接続します — 設定は不要です。(ローカル開発のみ: ローカルAPIを指定するにはAGENTBANK_API_URL=http://localhost:3000を設定してください。)

Available Tools

8 tools
approve_refundA
Destructive

Approve a refund request → forwarded to Curless; the order refunds once Curless confirms. Pass the refund request id (rfr_…).

Inputs: refundRequestId (required).

get_balanceB
Read-only

This merchant's live Curless wallet balance, per currency.

Inputs: no named parameters.

get_orderA
Read-only

One order's full detail — line items + the card it was paid with. Pass the order id from list_orders.

Inputs: orderId (required).

get_summaryA
Read-only

This merchant's order roll-up: count + gross by currency + breakdowns by protocol/status. Same status/protocol/currency/date filters as list_orders.

Inputs: to, from, status, currency, +1 more.

list_ordersA
Read-only

List this merchant's orders (what agents have paid you), newest first. Filter by status / protocol / currency / date.

Inputs: to, from, limit, offset, +3 more.

list_refund_requestsA
Read-only

Buyers' refund requests on your orders. Default lists status=requested (the queue awaiting your decision); pass status to filter, or status=all for the full history.

Inputs: status.

refund_orderA
Destructive

Directly refund one of your orders (no buyer request needed). Pass the order id (ord_…); optional partial amount + reason. Omit amount for a FULL refund. If you DO pass a partial amount, it is in the ORDER’S minor units — read the order first (get_order / list_orders) to see its currency and total, because the units differ by currency.

Inputs: orderId (required), amount, reason.

reject_refundA

Reject a refund request (optional note). Pass the refund request id (rfr_…).

Inputs: refundRequestId (required), note.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a distinct purpose: balance, single order, refund requests, approving/rejecting refunds, direct refunds, listing orders, and summary. No overlap; even the two refund actions are clearly separated by whether a buyer request exists.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern in snake_case: get_balance, get_order, list_refund_requests, approve_refund, reject_refund, refund_order, list_orders, get_summary. The verbs (get, list, approve, reject, refund) are predictably used.

    Tool Count5/5

    With 8 tools, the server strikes an ideal balance: comprehensive enough to cover the merchant payment workflow (balance, orders, refunds, summary) without unnecessary bloat or missing essentials.

    Completeness4/5

    Core operations are covered: viewing balance, listing and getting orders, handling refunds (both direct and via requests), and a summary. Minor gap: no explicit order cancellation or update, but refunds effectively void orders. Still, a cancel_order tool could be missing.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that allows Claude Desktop to query Monad testnet for MON token balances of accounts.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for ClawVault - an AI agent payment security layer that enables Claude to request payments, check limits, and manage transactions with configurable rules.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for the Clover POS REST API that gives AI assistants read and safe-write access to a merchant's sales, inventory, orders, and customers.
      56
      1
      MIT