Banco Safra's acquirer โ premium/enterprise private-banking segment. Operated on Aditum's payment platform. Authorize/capture/cancel, Pix, boleto, tokenization, split, digital statements. Alpha on npm โ BCRYPT auth recipe and body casing pending sandbox validation.
$ npm install @codespar/mcp-safrapay@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"safrapay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay@alpha"
],
"env": {
"SAFRAPAY_CLIENT_ID": "<your_safrapay_client_id>",
"SAFRAPAY_CLIENT_SECRET": "<your_safrapay_client_secret>",
"SAFRAPAY_MERCHANT_ID": "<your_safrapay_merchant_id>"
}
}
}
}After restart, your agent can call any of the 22 tools below โ try authorize_payment first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
SAFRAPAY_CLIENT_IDSafrapay merchant CNPJ (sent as merchantCredential header on auth)
SAFRAPAY_CLIENT_SECRETSafrapay MerchantToken used to compute the BCRYPT Authorization header on auth
SAFRAPAY_MERCHANT_IDSafrapay merchant id (used in request bodies where applicable)
SAFRAPAY_ENVEnvironment: 'sandbox' or 'production'. Defaults to sandbox.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
authorize_paymentcapture_paymentcancel_paymentrefund_paymentcreate_pixcreate_boletoget_paymenttokenize_cardMCP is a protocol โ any framework that speaks it can mount this server.