New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@appmonster/mcp-toss-payments

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appmonster/mcp-toss-payments

MCP server for Toss Payments: look up payments, cancel/refund (approval-gated), transactions and settlements. 토스페이먼츠 MCP 서버.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

@appmonster/mcp-toss-payments

MCP server for Toss Payments (토스페이먼츠) core API. An agent can look up a payment, reconcile transactions, read settlements — and cancel/refund, which is the one tool that moves real money and is built to run behind a human approval (OK Agent).

토스페이먼츠 MCP 서버 — 결제 조회, 거래 내역, 정산, 취소/환불(승인 게이트).

Tools

ToolAccessWhat it does
toss_get_paymentreadpaymentKey 또는 orderId로 결제 1건: 상태, 금액, 잔액, 수단, 취소 이력, 영수증 URL
toss_cancel_paymentwrite전체/부분 취소. 가상계좌는 환불계좌 필수. Idempotency-Key 자동 부여
toss_list_transactionsread기간별 거래(승인·취소) 목록, 최대 5000건, startingAfter 커서
toss_list_settlementsread정산 내역(수수료·부가세·지급액), 매출일/지급일 기준, 합계 포함

Setup

  • https://developers.tosspayments.com → 내 개발정보 → API 키. 먼저 test_sk_…로 시작하세요 (테스트 결제 데이터로 동작).
  • MCP client config:
{
  "mcpServers": {
    "toss-payments": {
      "command": "npx",
      "args": ["-y", "@appmonster/mcp-toss-payments"],
      "env": { "TOSS_SECRET_KEY": "test_sk_…" }
    }
  }
}
"OKAGENT_API_KEY": "ok_…"

Without it, write tools still never run blind: the first call returns a preview and a confirm_token, and the agent re-calls only after you agree in the chat. With an OK Agent key (free, 200/month) the request goes to your phone instead — approve on KakaoTalk, with a log. KMCP_WRITE_MODE=direct turns the check off for scripts you fully trust.

With a live_sk_ key the server prints a warning at start if no approval hook is configured.

Safety notes

  • toss_cancel_payment is irreversible. The tool description tells the agent to call toss_get_payment first and check balanceAmount.
  • Every cancel carries an Idempotency-Key (UUID, or the caller's own key) so a retried call cannot refund twice. Keys are valid 15 days on Toss's side.
  • Test-key servers tag every tool description with [TEST KEY — sandbox data] so the agent never mistakes sandbox numbers for real revenue.

Development

pnpm --filter @appmonster/mcp-toss-payments test

Keywords

mcp

FAQs

Package last updated on 23 Oct 2026

Related posts