PagSeguro

io.github.mcp-dirPublished by GitHub account mcp-dirv0.1.0Updated Oct 24, 2026

PagSeguro / PagBank payments, orders, charges (get, cancel, refund), checkouts and public key via th

VerifiedStreamable HTTPWeb executableFinanceBusiness & Commerce

Overview

AI-generated overview

Connects an assistant to PagSeguro/PagBank payments: list merchant accounts, read and create orders, inspect, cancel or refund charges, and manage checkouts.

What you can do
  • List linked PagSeguro merchant accounts (id and label)
  • List, get and create orders, with batched execution by order or reference IDs
  • Get charges, cancel uncaptured charges, and refund full or partial amounts
  • Create, get and deactivate payment checkouts
  • Retrieve the merchant public key for client-side card encryption
  • Check toolkit connection status, installed MCPs and versions, and search the marketplace
When to use it
Useful when you want an assistant to look up PagSeguro orders and charges, issue refunds or cancellations, or generate payment checkout links without leaving the chat client.
Requirements
Remote MCP over HTTP endpoint; no local package. A PagSeguro merchant token generated in the PagSeguro panel (Venda Online, Integrações, Gerar Token) must be connected, typically via the server's connect/authenticate flow or an Authorization Bearer header.
Before you install
Tools can create orders and checkouts, cancel charges and move money via refunds, so confirm amounts and IDs before running them. The merchant token is a sensitive credential. Data returned by the tools is sent to whichever LLM host you use, a third-party sub-processor. The hosted server is proprietary and paid plans start above a free tier.

Installation

In SourceWeft

  1. Open PagSeguro in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.mcp-dir%2Fpagseguro-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "pagseguro": {
      "type": "http",
      "url": "https://api.mcp.ai/p_pagseguro"
    }
  }
}

README

PagSeguro

PagSeguro para Claude, Cursor e agentes de IA

Pagamentos PagSeguro / PagBank, pedidos (orders), cobranças (consultar, cancelar, estornar), checkouts e chave pública via API oficial. Cole o token gerado em Venda Online → Integrações → Gerar Token no painel PagSeguro. Companheiro de recebíveis do Banco MCP (Open Finance).

  • 📊 11 ferramentas
  • ✏️ Leitura e escrita
  • 💬 Funciona com qualquer cliente MCP: Claude Desktop, Cursor, VS Code, Cline, Continue
  • 🔑 Login via magic-link (sem senha)

English version · Documentação completa · Skill pra agentes


Instalar em 1 clique

Claude (Web e Desktop)

A Anthropic unificou a instalação de MCPs em claude.ai/customize/connectors. O mesmo link serve pra Claude Web e Claude Desktop (basta estar logado):

➕ Abrir no Claude e conectar

Manual (se o deeplink não abrir): claude.ai/customize/connectors → + → Adicionar conector personalizado → cole Nome PagSeguro e URL https://api.mcp.ai/p_pagseguro.

Cursor

➕ Instalar PagSeguro no Cursor

VS Code (Copilot Chat)

➕ Instalar PagSeguro no VS Code

ChatGPT, Manus, OpenClaw e mais 40+ clientes

Funciona em qualquer cliente MCP que suporte MCP over HTTP. A URL do servidor é sempre:

https://api.mcp.ai/p_pagseguro

Detalhes por cliente: INSTALL.md.


Exemplos de uso

Consulte o pedido order_id X no PagSeguroEstorne a cobrança charge_id YCrie um checkout de pagamento

11 ferramentas disponíveis

ToolDescrição
pagseguro_list_accountsLista tokens PagSeguro (contas de merchant) vinculados a este install — id e label.
pagseguro_orders_listPedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: list] Bulk support: accepts order_ids, reference_ids for batched execution.
pagseguro_orders_getPedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: get] Bulk support: accepts order_ids, reference_ids for batched execution.
pagseguro_orders_createPedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: create] Bulk support: accepts order_ids, reference_ids for batched execution.
pagseguro_charges_getCobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: get] Bulk support: accepts charge_ids for batched execution.
pagseguro_charges_cancelCobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: cancel] Bulk support: accepts charge_ids for batched execution.
pagseguro_charges_refundCobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: refund] Bulk support: accepts charge_ids for batched execution.
pagseguro_checkouts_createCheckouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: create] Bulk support: accepts checkout_ids for batched execution.
pagseguro_checkouts_getCheckouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: get] Bulk support: accepts checkout_ids for batched execution.
pagseguro_checkouts_deactivateCheckouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: deactivate] Bulk support: accepts checkout_ids for batched execution.
pagseguro_public_keysRetorna a chave pública do merchant (para criptografar cartão no client). type default 'card'.

Detalhe de cada tool: docs/ferramentas.md


Preços

Planos a partir do tier grátis. Veja docs/precos.md.


Privacidade & LGPD

  • Sub-processadores: PagSeguro Internet (PagBank), o LLM host que você escolher (Claude, ChatGPT, Cursor, agente próprio). Lista completa em docs/privacidade-lgpd.md.
  • Os dados retornados pelas tools são enviados ao LLM host que você escolher, sub-processador fora do nosso controle. Recomendamos planos com opt-out de treinamento.

Perguntas frequentes

O servidor é open source? O servidor é proprietário (hosted). Este repositório é o wrapper público com manifestos, docs e skills — tudo MIT.

Posso usar com agente próprio (não Claude/Cursor)? Sim — qualquer cliente que suporte MCP over HTTP. URL: https://api.mcp.ai/p_pagseguro.


Suporte


Licença

MIT — veja LICENSE. O servidor MCP em api.mcp.ai/p_pagseguro é proprietário (hosted); este repositório (manifestos, docs, skills) é MIT.

Source: README.md at commit f16d969

Tools

17

pagseguro_list_accounts

Lista tokens PagSeguro (contas de merchant) vinculados a este install — id e label.

Parametersaccount

pagseguro_orders_list

Pedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: list] Bulk support: accepts order_ids, reference_ids for batched execution.

Parametersorderaccountorder_idorder_idsreference_idreference_ids

pagseguro_orders_get

Pedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: get] Bulk support: accepts order_ids, reference_ids for batched execution.

Parametersorderaccountorder_idorder_idsreference_idreference_ids

pagseguro_orders_create

Pedidos (orders) no PagSeguro. Ações: - list: lista pedidos (⚠️ pode exigir reference_id; confirmar no probe). - get: detalhe de UM pedido (requer order_id). - create: cria um pedido (passe o objeto 'order' conforme a doc PagSeguro). [Flattened action: create] Bulk support: accepts order_ids, reference_ids for batched execution.

Parametersorderaccountorder_idorder_idsreference_idreference_ids

pagseguro_charges_get

Cobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: get] Bulk support: accepts charge_ids for batched execution.

Parametersaccountcharge_idrequiredcharge_idsamount_cents

pagseguro_charges_cancel

Cobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: cancel] Bulk support: accepts charge_ids for batched execution.

Parametersaccountcharge_idrequiredcharge_idsamount_cents

pagseguro_charges_refund

Cobranças (charges) no PagSeguro. Ações: - get: detalhe de UMA cobrança (requer charge_id). - cancel: cancela uma cobrança ainda não capturada (charge_id). - refund: estorna uma cobrança (charge_id; amount_cents opcional = estorno parcial). [Flattened action: refund] Bulk support: accepts charge_ids for batched execution.

Parametersaccountcharge_idrequiredcharge_idsamount_cents

pagseguro_checkouts_create

Checkouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: create] Bulk support: accepts checkout_ids for batched execution.

Parametersaccountcheckoutcheckout_idcheckout_ids

pagseguro_checkouts_get

Checkouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: get] Bulk support: accepts checkout_ids for batched execution.

Parametersaccountcheckoutcheckout_idcheckout_ids

pagseguro_checkouts_deactivate

Checkouts (links/sessões de pagamento) no PagSeguro. Ações: - create: cria um checkout (passe o objeto 'checkout'). - get: detalhe de UM checkout (requer checkout_id). - deactivate: inativa um checkout (checkout_id). [Flattened action: deactivate] Bulk support: accepts checkout_ids for batched execution.

Parametersaccountcheckoutcheckout_idcheckout_ids

pagseguro_public_keys

Retorna a chave pública do merchant (para criptografar cartão no client). type default 'card'.

Parameterstypeaccount

show_version

Show Version

Show the current MCP platform and adapter versions.

Takes no parameters.

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

Parameterscontextmessagerequiredconversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

Takes no parameters.

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

Takes no parameters.

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

Parameterslimitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool+11 more

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

Parameterstoken

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts