# Codespar Braspag MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.codespar%2Fmcp-braspag
Registry id: `mcp-registry/io.github.codespar/mcp-braspag`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "codespar-braspag-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-braspag"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add codespar-braspag-mcp-server -- npx -y @codespar/mcp-braspag
```

## Tools (22)

- `capture_sale`: Capture a pre-authorized sale (PUT /sales/{paymentId}/capture).
- `create_antifraud_analysis`: Submit a standalone Antifraud analysis (POST /fraudanalysis) through Braspag's antifraud orchestration (Cyb...).
- `create_boleto_sale`: Convenience wrapper to create a Boleto sale (POST /sales with Payment.Type=Boleto).
- `create_pix_sale`: Convenience wrapper to create a Pix sale (POST /sales with Payment.Type=Pix).
- `create_recurrent`: Create a recurrent payment schedule (POST /recurrentPayments).
- `create_sale`: Create a sale on the Braspag Transaction API (POST /sales).
- `create_sale_3ds`: Create a 3DS-authenticated credit sale (POST /sales).
- `create_split_capture`: Capture a previously authorized split sale with overridden per-sub-merchant amounts (PUT /sales/{paymentId}...).
- `create_split_sale`: Create a sale with marketplace split rules (POST /sales with Payment.SplitPayments).
- `create_zero_auth`: Zero-dollar authorization / card validation (POST /zeroauth).
- `delete_card_token`: Delete a Cartão Protegido vault token (DELETE /card/{token}).
- `disable_recurrent`: Deactivate a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Deactivate).
- `get_card_token`: Retrieve the stored card data associated with a Cartão Protegido token (GET /card/{token}).
- `get_recurrent`: Get a recurrent payment's configuration and history (GET /recurrentPayments/{recurrentPaymentId} — Query API).
- `get_sale`: Get sale detail by PaymentId (GET /sales/{paymentId} — Query API).
- `get_sale_by_order_id`: Look up sale(s) by MerchantOrderId (GET /sales?merchantOrderId=X — Query API).
- `reactivate_recurrent`: Reactivate a previously deactivated recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Reactiva...).
- `tokenize_card`: Tokenize a card into the Braspag vault / Cartão Protegido (POST /card).
- `update_recurrent_amount`: Update the charged amount on a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/Amount).
- `update_recurrent_next_payment`: Update the NextPaymentDate on a recurrent payment (PUT /recurrentPayments/{recurrentPaymentId}/NextPaymentD...).
- `update_recurrent_payment`: Update the Payment (CreditCard + Customer) on a recurrent schedule (PUT /recurrentPayments/{recurrentPaymen...).
- `void_sale`: Void / cancel a sale (PUT /sales/{paymentId}/void).

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
