Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
MCP server for Safrapay — Banco Safra acquirer: credit, Pix, boleto + split, 3DS, chargebacks
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
SAFRAPAY_CLIENT_ID, SAFRAPAY_CLIENT_SECRET, SAFRAPAY_MERCHANT_ID, SAFRAPAY_ENVValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"safrapay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "your-value",
"SAFRAPAY_CLIENT_SECRET": "your-value",
"SAFRAPAY_MERCHANT_ID": "your-value",
"SAFRAPAY_ENV": "your-value"
}
}
}
}Run this in your terminal
claude mcp add safrapay --env SAFRAPAY_CLIENT_ID=your-value --env SAFRAPAY_CLIENT_SECRET=your-value --env SAFRAPAY_MERCHANT_ID=your-value --env SAFRAPAY_ENV=your-value -- npx -y @codespar/mcp-safrapayFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"safrapay": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "your-value",
"SAFRAPAY_CLIENT_SECRET": "your-value",
"SAFRAPAY_MERCHANT_ID": "your-value",
"SAFRAPAY_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"safrapay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-safrapay"
],
"env": {
"SAFRAPAY_CLIENT_ID": "your-value",
"SAFRAPAY_CLIENT_SECRET": "your-value",
"SAFRAPAY_MERCHANT_ID": "your-value",
"SAFRAPAY_ENV": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
SAFRAPAY_ENV envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account codespar, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: SAFRAPAY_CLIENT_ID, SAFRAPAY_CLIENT_SECRET, SAFRAPAY_MERCHANT_ID
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.2.0-alpha.3) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, SwarmMemo
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP server for Safrapay — Banco Safra's acquirer. B2B-banking crossover focused on mid-to-large BR merchants and private-banking clientele.
Safrapay's API surface is operated on Aditum's payment platform (documented at safrapay-docs.aditum.com.br). The gateway, portal, reconciliation, and webhook products are split across separate base hosts.
Status: 0.1.0-alpha.1. The endpoint paths here were derived from the Aditum-hosted Safrapay developer docs (publicly reachable). Auth flow (BCRYPT + CNPJ on gateway, JWT Bearer thereafter) is best-effort: the BCRYPT hash input format is not fully specified in public docs and very likely requires a sandbox account to finalize. Treat all tools as scaffolding until validated against a live sandbox merchant.
| Tool | Purpose |
|---|---|
authorize_payment | Authorize a credit-card payment on Safrapay. |
capture_payment | Capture a previously authorized (pre-auth) payment. |
cancel_payment | Cancel (void) an authorized-but-uncaptured payment. |
refund_payment | Refund a captured payment. |
create_pix | Create a Pix charge. |
create_boleto | Create a boleto charge. |
get_payment | Retrieve a charge by Safrapay chargeId. |
tokenize_card | Tokenize a card for PCI-safe reuse. |
create_split_rule | Configure split distribution for an existing charge. |
get_statement | Retrieve the digital statement (extrato). |
list_transactions | List charges with optional filters. |
delete_card_token | Revoke a stored card token. |
search_by_merchant_order | Look up charges by the merchant-side order identifier (the order_id supplied at creation). |
query_chargeback | Retrieve chargeback (contestacao) detail for a charge: reason code, acquirer deadline, dispute amount, evid... |
query_installments | Simulate an installment plan for a given amount. |
authenticate_3ds | Kick off 3-D Secure authentication before authorize_payment. |
create_recurrence | Create a recurring-billing subscription. |
get_recurrence | Retrieve a recurrence by id: schedule, next-charge date, charge history, status. |
cancel_recurrence | Cancel an active recurrence. |
get_settlement_report | Retrieve a settlement (liquidacao) report from the reconciliation host. |
create_payment_link | Create a hosted-checkout payment link. |
register_webhook | Bulk-register webhook subscriptions on the Safrapay webhook product. |
npm install @codespar/mcp-safrapay@alpha
SAFRAPAY_CLIENT_ID="..." # Merchant CNPJ (sent as merchantCredential)
SAFRAPAY_CLIENT_SECRET="..." # MerchantToken (used to compute BCRYPT) SAFRAPAY_MERCHANT_ID="..." # Safrapay merchant id (body field where required) SAFRAPAY_ENV="sandbox" # 'sandbox' (default) or 'production'
Safrapay splits its API into four products hosted on distinct domains:
| Product | Sandbox | Production |
|---|---|---|
| Gateway (payments) | https://payment-dev.aditum.com.br | https://payment.aditum.com.br |
| Portal (management) | https://portal-dev.aditum.com.br | https://portal-api.aditum.com.br |
| Reconciliation | https://reconciliation-dev.aditum.com.br | https://reconciliation-api.aditum.com.br |
| Webhook | https://webhook-dev.aditum.com.br | https://webhook.aditum.com.br |
Gateway uses a two-step bootstrap:
POST {gateway}/v2/merchant/auth with headers Authorization: and merchantCredential: to exchange for a JWT access token.Authorization: Bearer .The server caches the JWT in memory until 60 s before expiry. The BCRYPT input concatenation is an informed guess; refine once you have a sandbox account.
# stdio (default)
npx @codespar/mcp-safrapay
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-safrapay
| Tool | Method | Path (under gateway, unless noted) |
|---|---|---|
authorize_payment | POST | /v2/charge/authorization or /v2/charge/preauthorization |
capture_payment | PUT | /v2/charge/capture/{chargeId} |
cancel_payment | PUT | /v2/charge/cancelation/{chargeId} |
refund_payment | PUT | /v2/charge/cancelation/{chargeId} (partial amount) |
create_pix | POST | /v2/charge/pix |
create_boleto | POST | /v2/charge/boleto |
get_payment | GET | /v2/charge/{chargeId} |
tokenize_card | POST | /v2/card (or /v2/temporary/card) |
create_split_rule | PUT | /v2/charge/split/{chargeId} |
get_statement | GET | /v2/Account/Movement/Extract |
list_transactions | GET | /v2/charges |
register_webhook | POST | {webhook}/v1/webhook/bulk |
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.
MIT