agentbank-merchant-mcp
Official@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와 분리되어 있어 두 페르소나가 동일한 도구 세트를 공유하지 않습니다. 원격 /mcp 커넥터와 동일한 MCP Apps 카드를 렌더링하며, 카드를 지원하지 않는 호스트를 위한 마크다운 테이블 폴백을 제공합니다.
도구
주문:
list_orders— 이 판매자의 주문(에이전트가 결제한 내역), 최신순; 상태 / 프로토콜 / 통화 / 날짜로 필터링.get_summary— 주문 집계: 통화별 건수 + 총액 + 프로토콜/상태별 분류.get_balance— 통화별 실시간 Curless 지갑 잔액(사용 가능 / 동결).get_order— 주문 하나 전체: 라인 항목 + 결제에 사용된 카드.
환불:
list_refund_requests— 구매자들이 내 주문에 대해 제기한 환불 요청(대기열; 상태로 필터링).approve_refund— 요청 승인 → Curless로 전달(Curless가 확인하면 주문이 환불됨).reject_refund— 요청 거부(메모는 선택 사항).refund_order— 내 주문 중 하나를 직접 환불(구매자 요청 불필요).
8개 도구 모두 동일한 MCP Apps 카드(주문 목록 / 상세 / 요약 / 지갑 / 환불 대기열)로 렌더링되며, 카드를 지원하지 않는 호스트를 위한 마크다운 폴백을 제공합니다.
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"
}
}
}
}환경 변수 | 설명 |
| 온보딩 시 Curless가 발급한 Curless API 키 |
| Curless 판매자 ID, 예: |
서버는 기본적으로 https://mcp.curless.ai와 통신합니다 — 설정할 필요가 없습니다. (로컬 개발 전용: 로컬 API를 가리키도록 AGENTBANK_API_URL=http://localhost:3000을 설정하세요.)
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