agentbank-merchant-mcp
OfficialThis server lets a merchant manage their Curless orders, wallet balance, and refunds through MCP.
List orders (
list_orders) — view the merchant's orders, newest first, with filters for status, protocol, currency, and date range.Get order summary (
get_summary) — see order counts, gross totals by currency, and breakdowns by protocol/status.View wallet balance (
get_balance) — check live Curless wallet balance per currency, including available/frozen funds.Get full order details (
get_order) — retrieve one order's line items and the card used for payment.List refund requests (
list_refund_requests) — view buyers' refund requests, filterable by status (defaults to the pending queue).Approve refund requests (
approve_refund) — approve a buyer's refund request; Curless processes the refund.Reject refund requests (
reject_refund) — decline a buyer's refund request, optionally with a note.Refund orders directly (
refund_order) — issue a full or partial refund on an order without waiting for a buyer request, with optional reason.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentbank-merchant-mcp Show my recent orders"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@curless/agentbank-merchant-mcp
Merchant-side MCP server for agentbank. Lets a merchant read their own orders and live Curless wallet balance (real funds settled into the merchant's Curless account) from an MCP client (Claude Desktop).
Authenticated by your Curless API key via env — no OAuth. (The OAuth route is
the remote /mcp connector added by URL in claude.ai; this is the simple
token-based path for Claude Desktop / stdio clients.) Kept separate from the
buyer's @curless/agentbank-mcp so the two personas don't share a tool surface.
Renders the same MCP Apps card as the remote /mcp connector, with a markdown
table fallback for hosts without the card.
Tools
Orders:
list_orders— this merchant's orders (what agents have paid), newest first; filter by status / protocol / currency / date.get_summary— order roll-up: count + gross by currency + breakdowns by protocol/status.get_balance— the live Curless wallet balance per currency (available / frozen).get_order— one order in full: line items + the card it was paid with.
Refunds:
list_refund_requests— buyers' refund requests on your orders (the queue; filter by status).approve_refund— approve a request → forwarded to Curless (the order refunds once Curless confirms).reject_refund— decline a request (optional note).refund_order— refund one of your orders directly (no buyer request needed).
All eight render into the same MCP Apps card (orders list / detail / summary / wallet / refund queue) with a markdown fallback for hosts without the card.
Related MCP server: inflow
Use (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"
}
}
}
}env | what |
| your Curless API key (issued by Curless at onboarding) |
| your Curless merchant id, e.g. |
The server talks to https://mcp.curless.ai by default — no need to configure it.
(Local dev only: set AGENTBANK_API_URL=http://localhost:3000 to point at a local API.)
Available Tools
8 toolsapprove_refundADestructive
Approve a refund request → forwarded to Curless; the order refunds once Curless confirms. Pass the refund request id (rfr_…).
Inputs: refundRequestId (required).
get_balanceBRead-only
This merchant's live Curless wallet balance, per currency.
Inputs: no named parameters.
get_orderARead-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_summaryARead-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_ordersARead-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_requestsARead-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_orderADestructive
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
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
Public read-only MCP server for HODLXXI agent identity, trust, receipts, and verification.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that allows Claude Desktop to query Monad testnet for MON token balances of accounts.-
- AlicenseNot gradedqualityDmaintenanceMCP server for agent-native and human-accessible payments using MPP and x402 protocols, enabling payment flows from CLI or agent hosts.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for ClawVault - an AI agent payment security layer that enables Claude to request payments, check limits, and manage transactions with configurable rules.MIT
- AlicenseAqualityCmaintenanceMCP 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.561MIT