Skip to main content
MCP server CX Codex

mcp-transbank — Claude Code MCP server: setup and tools

Connects LLMs to the Transbank payment gateway in Chile. Automates Webpay Plus checkout links and OneClick Mall tokenized charges in your code editor.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env TRANSBANK_COMMERCE_CODE=<TRANSBANK_COMMERCE_CODE> --env TRANSBANK_API_KEY_SECRET=<TRANSBANK_API_KEY_SECRET> --env TRANSBANK_ENV=<TRANSBANK_ENV> --transport stdio transbank -- npx -y @codespar/mcp-transbank
Open on GitHub

What mcp-transbank does

This server interfaces agentic environments with Transbank, the dominant payment processor in Chile. It brings 19 tools targeting two payment schemes: redirect-based checkouts with Webpay Plus, and multi-merchant recurring billing with Webpay OneClick Mall.

Your assistant can start new payment sessions and commit funds once the customer returns. It also handles refunds and delayed capture. Authentication headers Tbk-Api-Key-Id and Tbk-Api-Key-Secret are injected behind the scenes for every outbound request.

Connecting fails without valid TRANSBANK_COMMERCE_CODE and TRANSBANK_API_KEY_SECRET credentials in the environment. Setting TRANSBANK_ENV switches the target endpoint between integration testing and production.

What it helps with

  • initialize Webpay Plus transactions with return URLs
  • commit card payments after checkout redirects
  • register and tokenize cards in OneClick Mall
  • trigger refunds across specific merchant codes

Example prompts for the agent

  • Create a Webpay Plus transaction for 25000 CLP with order ID order-402 and set the return URL.
  • Commit the payment using the token returned from Webpay.
  • Check the status of a OneClick Mall payment using parent buy order ord-881.

How to install mcp-transbank

Platform CLI

claude mcp add --env TRANSBANK_COMMERCE_CODE=<TRANSBANK_COMMERCE_CODE> --env TRANSBANK_API_KEY_SECRET=<TRANSBANK_API_KEY_SECRET> --env TRANSBANK_ENV=<TRANSBANK_ENV> --transport stdio transbank -- npx -y @codespar/mcp-transbank

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-transbank

How do I install mcp-transbank in Claude Code?

Run the command `claude mcp add mcp-transbank -e TRANSBANK_COMMERCE_CODE=<TRANSBANK_COMMERCE_CODE> -e TRANSBANK_API_KEY_SECRET=<TRANSBANK_API_KEY_SECRET> -- npx -y @codespar/mcp-transbank`.

What does mcp-transbank do?

It provides a suite of tools for running Chilean Transbank payment operations directly from AI coding tools. You can create transactions, verify tokenized payments, and handle recurring charges.

How do I switch mcp-transbank to live production mode?

Set the TRANSBANK_ENV environment variable to production. By default, the server targets the Transbank integration environment.

Similar MCP servers

Everything for Finance and business →

From the same set124

mcp-unico Adds Unico verification tools to your agent: CPF/CNPJ checks, document OCR, face matching, PEP and court-record screening. The default endpoint no longer resolves, so it only runs against your own URL. CX Codex +1 ★ 274repo stars mcp-unblockpay MCP server connecting AI assistants to UnblockPay. It handles cross-border rails, customer onboarding, stablecoin wallets, and currency conversions. CX Codex +1 ★ 274repo stars mcp-ucp An MCP server for UCP shopping flows, from product search to orders and delivery. The package is deprecated and has no live endpoint at present. CX Codex +1 ★ 274repo stars mcp-twilio Wires Twilio into your agent: SMS and WhatsApp sending, outbound calls, Verify codes for 2FA, and phone validation through Lookups. CX Codex +1 ★ 274repo stars mcp-transak Connect an agent to the Transak Partner API to manage orders, request quotes, and check currency, country, and payment details. A partner key and API secret are required. CX Codex +1 ★ 274repo stars mcp-tiny Wires Tiny ERP into your coding agent: 21 tools for products, stock, warehouses, orders, NF-e invoices and receivables. Useful when ERP data should be reachable from chat. CX Codex +1 ★ 274repo stars mcp-tienda-nube MCP server connecting AI assistants to Tienda Nube e-commerce stores. It handles catalog changes, order statuses, and webhooks through simple conversational prompts. CX Codex +1 ★ 274repo stars mcp-take-blip Connects an agent to Take Blip for chatbot, messaging, contact, and broadcast operations. Use it when these actions need to run from an MCP client. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor