MCP Safrapay runs on your own machine — the client starts it, so there is no endpoint to ping. 76 installs a week from npm. Last commit 27 Sep 2026.
MCP server for Safrapay — Banco Safra acquirer: credit, Pix, boleto + split, 3DS, chargebacks
Today is the operative word: we check MCP Safrapay every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add mcp-safrapay -e 'SAFRAPAY_CLIENT_ID=<SAFRAPAY_CLIENT_ID>' -e 'SAFRAPAY_CLIENT_SECRET=<SAFRAPAY_CLIENT_SECRET>' -e 'SAFRAPAY_MERCHANT_ID=<SAFRAPAY_MERCHANT_ID>' -- npx -y @codespar/mcp-safrapay
{
"mcpServers": {
"mcp-safrapay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "<SAFRAPAY_CLIENT_ID>",
"SAFRAPAY_CLIENT_SECRET": "<SAFRAPAY_CLIENT_SECRET>",
"SAFRAPAY_MERCHANT_ID": "<SAFRAPAY_MERCHANT_ID>"
}
}
}
}
[mcp_servers.mcp-safrapay]
command = "npx"
args = ["-y", "@codespar/mcp-safrapay"]
env = { SAFRAPAY_CLIENT_ID = "<SAFRAPAY_CLIENT_ID>", SAFRAPAY_CLIENT_SECRET = "<SAFRAPAY_CLIENT_SECRET>", SAFRAPAY_MERCHANT_ID = "<SAFRAPAY_MERCHANT_ID>" }
{
"mcpServers": {
"mcp-safrapay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "<SAFRAPAY_CLIENT_ID>",
"SAFRAPAY_CLIENT_SECRET": "<SAFRAPAY_CLIENT_SECRET>",
"SAFRAPAY_MERCHANT_ID": "<SAFRAPAY_MERCHANT_ID>"
}
}
}
}
{
"servers": {
"mcp-safrapay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "<SAFRAPAY_CLIENT_ID>",
"SAFRAPAY_CLIENT_SECRET": "<SAFRAPAY_CLIENT_SECRET>",
"SAFRAPAY_MERCHANT_ID": "<SAFRAPAY_MERCHANT_ID>"
}
}
}
}
Put your own values in place of
<SAFRAPAY_CLIENT_ID> (Safrapay merchant CNPJ (sent as merchantCredential header on auth)), <SAFRAPAY_CLIENT_SECRET> (Safrapay MerchantToken used to compute the BCRYPT Authorization header on auth), <SAFRAPAY_MERCHANT_ID> (Safrapay merchant id (used in request bodies where applicable)).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
SAFRAPAY_ENV (Environment: 'sandbox' or 'production'. Defaults to sandbox).
MCP server for Getnet — Santander-owned BR acquirer: credit, debit, Pix, boleto, marketplace split
MCP server for PagSeguro/PagBank — orders, Pix, boleto, credit card, charges
MCP server for Asaas — billing automation, Pix, boleto, credit card, subscriptions
MCP server for Cielo — credit card, debit, boleto, recurrent payments
MCP server for Clip (PayClip) — Mexico's leading acquirer: payment links, card charges, refunds
MCP server for Bold — Colombian acquirer: payment links for cards, PSE and Nequi
MCP server for Banco do Brasil — Pix, Cobrança (boleto), Conta-Corrente, Arrecadação (OAuth2 + mTLS)
MCP server for Itaú Unibanco — Pix, Cobrança (boleto), Arrecadação, Extrato (OAuth2 + mTLS)
Answers built from our own checks of this server.