Chile's dominant card acquirer โ state-origin roots, effectively default for Chilean commerce. Webpay Plus (single payments) + Webpay OneClick Mall (stored-card recurring). Prerequisite for any LatAm-coverage claim that includes Chile.
$ npm install @codespar/mcp-transbank@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"transbank": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-transbank@alpha"
],
"env": {
"TRANSBANK_COMMERCE_CODE": "<your_transbank_commerce_code>",
"TRANSBANK_API_KEY_SECRET": "<your_transbank_api_key_secret>"
}
}
}
}After restart, your agent can call any of the 19 tools below โ try webpay_create_transaction first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
TRANSBANK_COMMERCE_CODETransbank merchant commerce code (sent as Tbk-Api-Key-Id header)
TRANSBANK_API_KEY_SECRETTransbank API secret key (sent as Tbk-Api-Key-Secret header)
TRANSBANK_ENVEnvironment: 'integration' (default, https://webpay3gint.transbank.cl) or 'production' (https://webpay3g.transbank.cl)
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
webpay_create_transactionwebpay_commit_transactionwebpay_get_transaction_statuswebpay_refund_transactionwebpay_increase_amountwebpay_capture_transactionwebpay_mall_create_transactionwebpay_mall_commit_transactionMCP is a protocol โ any framework that speaks it can mount this server.