L'Atlas / Serveurs MCP / PagSafe MCP by usefulapi
Serveur MCP

PagSafe MCP by usefulapi

io.usefulapi/pagsafe

Serveur MCP OK 6 outils

Faire examiner Voir les tarifs

Create Pix charges, check and refund payments, and manage Pix subscriptions in PagSafe.

Fiche technique

Auteur
usefulapi.io (espace de noms du registre)
Dépôt
github.com/m190/usefulapi-mcp
Site
usefulapi.io/pagsafe
Version
1.5.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://pagsafe.usefulapi.io/mcp Streamable HTTP
Outils
6
Catégories
Finance et paiement
Dernière mise à jour
21 nov. 2026
Publication
21 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/pagsafe.svg)](https://latlas.dev/mcp/io.usefulapi/pagsafe)
HTML
<a href="https://latlas.dev/mcp/io.usefulapi/pagsafe"><img src="https://latlas.dev/badge/fiche/io.usefulapi/pagsafe.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://pagsafe.usefulapi.io/mcp
Dernier résultat
OK 28 nov. 2026, 08:37
Temps de réponse
288 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
pagsafe-mcp 1.5.0
Outils
6

Historique

DateRésultatRéponseOutils
28 nov. 2026, 08:37OK288 ms6

Outils exposés (6, réponse à tools/list, 28 nov. 2026)

pagsafe_create_pix_charge

Create a Pix charge

Create a one-time Pix charge. Returns the id, status PENDING, and pix.payload (the copy and paste code to show the buyer). The charge is paid only when the PagSafe webhook reports AUTHORIZED: do not treat the reply as paid. A retry with the same external_id, amount and customer.document returns the same pending Pix within 6 hours (reused: true). Writes a real charge. Uses POST /v2/transactions.

ParamètreTypeRequisDescription
external_idstringouiYour order id. On a retry of the same order, send the same external_id, amount and customer.document: PagSafe returns the same pending Pix if it was created within the last 6 hours.
amountnumberouiTotal in reais, decimal, for example 149.9 for R$ 149,90. Never send centavos. Minimum 5.00.
itemsarray<object>ouiThe order items.
ipstring | stringouiThe buyer's real IP address, IPv4 or IPv6. PagSafe uses it for fraud checks.
customerobjectoui
trackingobjectnonOptional UTM tags for the sale. They come back in the transaction.

pagsafe_get_transaction

Get a transaction

Get the current status of a transaction created through this API: PENDING, AUTHORIZED (paid), FAILED, REFUNDED, IN_DISPUTE or CHARGEBACK. Use it to check a payment or to recover a lost webhook; prefer the webhook for live updates. Uses GET /v2/transactions/{transaction_id}.

ParamètreTypeRequisDescription
transaction_idstringouiThe PagSafe transaction id (for example tr_8f2c1a), from the create call.

pagsafe_refund_transaction

Refund a transaction

Refund the full amount of a transaction back to the buyer. The transaction must be AUTHORIZED, created through this API, and have enough balance in every split account. A refund cannot be undone. Uses POST /v2/transactions/{transaction_id}/refund.

ParamètreTypeRequisDescription
transaction_idstringouiThe PagSafe transaction id (for example tr_8f2c1a), from the create call.

pagsafe_create_pix_subscription

Create a Pix Automático subscription

Create a recurring Pix Automático subscription. Returns status PENDING_AUTHORIZATION and pix.qr_code or pix.payment_link: show one to the buyer, who must authorize it once. After authorization the status becomes ACTIVE and later cycles are charged on their own. For Pix, the cycles are SEMANAL, MENSAL and ANUAL only. If the call fails with HTTP 500, check PagSafe for an existing subscription before you retry. Writes a real subscription. Uses POST /v2/subscriptions.

ParamètreTypeRequisDescription
external_idstringouiYour id for this subscription. The retry reuse rule is documented for one-time Pix charges only.
amountnumberouiAmount charged in every cycle, in reais (not the total). Minimum 5.00.
membership_periodenum: "SEMANAL" | "MENSAL" | "ANUAL"ouiBilling cycle: SEMANAL (weekly), MENSAL (monthly) or ANUAL (yearly).
itemsarray<object>ouiThe order items.
ipstring | stringouiThe buyer's real IP address, IPv4 or IPv6. PagSafe uses it for fraud checks.
customerobjectoui

pagsafe_get_subscription

Get a subscription

Get a subscription's status (PENDING_AUTHORIZATION, ACTIVE, LATE, PAUSED or CANCELED), amount, cycle, and the dates of the last and next charge. Uses GET /v2/subscriptions/{subscription_id}.

ParamètreTypeRequisDescription
subscription_idstringouiThe PagSafe subscription id (for example sub_5a90c2), from the create call.

pagsafe_cancel_pix_subscription

Cancel a PagSafe subscription

Cancel a PagSafe customer subscription so no further cycles are charged. The buyer keeps access until the cycle already paid ends. This cancels a subscription of YOUR customer, not a UsefulAPI plan. Uses POST /v2/subscriptions/{subscription_id}/cancel.

ParamètreTypeRequisDescription
subscription_idstringouiThe PagSafe subscription id (for example sub_5a90c2), from the create call.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://pagsafe.usefulapi.io/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http pagsafe https://pagsafe.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pagsafe ; URL : https://pagsafe.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pagsafe ; Server URL : https://pagsafe.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pagsafe": {
      "url": "https://pagsafe.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pagsafe": {
      "type": "http",
      "url": "https://pagsafe.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pagsafe": {
      "url": "https://pagsafe.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pagsafe": {
      "httpUrl": "https://pagsafe.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pagsafe]
url = "https://pagsafe.usefulapi.io/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

PagSafe MCP by usefulapi · L’Atlas · Test du

Markdown
[PagSafe MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/pagsafe)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.