mcp-transbank MCP Server
MCP server for Transbank — Chile dominant card acquirer (Webpay Plus / Mall / OneClick)
mcp-transbank scores 45 (Fair), with no SPDX license recorded. It installs as a local process. It declares 19 tools. Filed under Uncategorized. Package registries report about 48 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 45 comes from
22 + 10 + 0 + 0 + 10 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "codespar-transbank": { "command": "npx", "args": [ "-y", "@codespar/mcp-transbank@0.2.0-alpha.3" ], "env": { "TRANSBANK_COMMERCE_CODE": "", "TRANSBANK_API_KEY_SECRET": "YOUR_TRANSBANK_API_KEY_SECRET", "TRANSBANK_ENV": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
TRANSBANK_COMMERCE_CODE | Required | Transbank merchant commerce code (sent as Tbk-Api-Key-Id header) |
TRANSBANK_API_KEY_SECRETSecret | Required | Transbank API secret key (sent as Tbk-Api-Key-Secret header) |
TRANSBANK_ENV | Optional | Environment: 'integration' (default, https://webpay3gint.transbank.cl) or 'production' (https://webpay3g.transbank.cl) |
Tools19Tool docs quality grade D
All capabilitiesCharge a stored OneClick Mall card across one or more mall merchant codes.
oneclick_capturetoolCapture a previously authorized OneClick Mall charge (deferred-capture flow).
Start a OneClick Mall card-enrollment flow.
Delete (revoke) a stored OneClick Mall card for a user.
Finalize a OneClick Mall enrollment after the user has returned.
Look up a OneClick Mall transaction by parent buyorder.
oneclick_refundtoolRefund a OneClick Mall charge.
oneclick_statustoolGet the status of a OneClick Mall transaction by parent buyorder.
Deferred-capture for a previously authorized Webpay Plus transaction.
Commit a Webpay Plus transaction after the user has returned from the Webpay flow.
Create a Webpay Plus transaction.
Get the current status of a Webpay Plus transaction by token.
About
@codespar/mcp-transbank
MCP server for Transbank — Chile's dominant card acquirer.
Transbank is effectively default for Chilean commerce (state-origin roots, owned by a consortium of Chilean banks). Shipping this server is a prerequisite for any "CodeSpar covers LatAm" claim that includes Chile.
Two products are covered:
- Webpay Plus — one-shot redirect payments (
buy_order+amount, user is redirected to Webpay to pay). - Webpay OneClick Mall — tokenized recurring / card-on-file payments that can split across multiple merchant codes (the "mall" model).
Tools (19)
| Tool | Purpose |
|---|---|
webpay_create_transaction | Create a Webpay Plus transaction. |
webpay_commit_transaction | Commit a Webpay Plus transaction after the user has returned from the Webpay flow. |
webpay_get_transaction_status | Get the current status of a Webpay Plus transaction by token. |
webpay_refund_transaction | Refund a committed Webpay Plus transaction. |
webpay_increase_amount | Capture a previously authorized Webpay Plus transaction (partial-capture / deferred-capture flow). |
webpay_capture_transaction | Deferred-capture for a previously authorized Webpay Plus transaction. |
webpay_mall_create_transaction | Create a Webpay Mall transaction — one parent buy_order split across several seller commerce codes. |
webpay_mall_commit_transaction | Commit a Webpay Mall transaction after the user has returned. |
webpay_mall_get_transaction_status | Get the status of a Webpay Mall transaction by token (includes per-child details). |
webpay_mall_refund_transaction | Refund one child seller of a Webpay Mall transaction. |
webpay_mall_capture_transaction | Deferred-capture for one child seller inside a Webpay Mall transaction. |
oneclick_create_inscription | Start a OneClick Mall card-enrollment flow. |
oneclick_finish_inscription | Finalize a OneClick Mall enrollment after the user has returned. |
oneclick_delete_inscription | Delete (revoke) a stored OneClick Mall card for a user. |
oneclick_authorize | Charge a stored OneClick Mall card across one or more mall merchant codes. |
oneclick_capture | Capture a previously authorized OneClick Mall charge (deferred-capture flow). |
oneclick_refund | Refund a OneClick Mall charge. |
oneclick_status | Get the status of a OneClick Mall transaction by parent buy_order. |
oneclick_get_transaction_by_buy_order | Look up a OneClick Mall transaction by parent buy_order. |
Install
npm install @codespar/mcp-transbank@alpha
Environment
TRANSBANK_COMMERCE_CODE="..." # merchant commerce code (Tbk-Api-Key-Id)
TRANSBANK_API_KEY_SECRET="..." # secret key (Tbk-Api-Key-Secret)
TRANSBANK_ENV="integration" # 'integration' (default) or 'production'
Integration base URL: https://webpay3gint.transbank.cl
Production base URL: https://webpay3g.transbank.cl
Authentication
Every request sends two headers:
Tbk-Api-Key-Id: <commerce_code>
Tbk-Api-Key-Secret: <api_key_secret>
Content-Type: application/json
The server handles headers automatically — you only configure the env vars.
Run
# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-transbank
# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-transbank
Webpay Plus flow
- Call
webpay_create_transactionwithbuy_order,session_id,amount,return_url. - Redirect user to
url?token_ws=<token>. - User pays at Webpay, is redirected back to
return_url. - Call
webpay_commit_transactionwith the returned token to actually charge.
OneClick Mall flow
- Call
oneclick_create_inscriptionwithusername,email,response_url. Redirect user tourl_webpay. - After user returns, call
oneclick_finish_inscription. Store the returnedtbk_useragainst your user. - To charge later, call
oneclick_authorizewithusername,tbk_user, a parent mallbuy_order, and adetailsarray (one entry per child merchant).
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Frequently asked questions
What is mcp-transbank MCP Server?
MCP server for Transbank — Chile dominant card acquirer (Webpay Plus / Mall / OneClick)
How do I install mcp-transbank MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-transbank MCP Server runs locally from the npm package @codespar/mcp-transbank with the command npx -y @codespar/mcp-transbank@0.2.0-alpha.3.
Does mcp-transbank MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-transbank MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp-transbank MCP Server provide?
mcp-transbank MCP Server provides 19 tools, including oneclick_authorize, oneclick_capture, oneclick_create_inscription, and oneclick_delete_inscription. See the full tool list for descriptions and parameters.
How is mcp-transbank MCP Server's trust score calculated?
mcp-transbank MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.