# PagSeguro — MCP server on mcp.ai > 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). By: mcp.ai · official Page: https://new.mcp.ai/pagseguro ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_pagseguro?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_pagseguro ### Claude 1. Copy the PagSeguro link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name PagSeguro, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the PagSeguro link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name PagSeguro, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with PagSeguro. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the PagSeguro link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the PagSeguro link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. ### Manus 1. Copy the PagSeguro link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. ### Agents 1. Copy the PagSeguro link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When PagSeguro needs your account, the AI sends you a link to connect it: have Token de API and Apelido (multi-conta) at hand. Painel PagSeguro → Venda Online → Integrações → Gerar Token. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/pagseguro/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/pagseguro/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/pagseguro/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/pagseguro/skill.md Postman collection (v2.1): https://new.mcp.ai/pagseguro/postman.json ## Tools - pagseguro_charges_cancel(charge_id: string, amount_cents?: integer, account?: string, charge_ids?: string[]) — Cobranças (charges) no PagSeguro. - pagseguro_charges_get(charge_id: string, amount_cents?: integer, account?: string, charge_ids?: string[]) — Cobranças (charges) no PagSeguro. - pagseguro_charges_refund(charge_id: string, amount_cents?: integer, account?: string, charge_ids?: string[]) — Cobranças (charges) no PagSeguro. - pagseguro_checkouts_create(checkout_id?: string, checkout?: object, account?: string, checkout_ids?: string[]) — Checkouts (links/sessões de pagamento) no PagSeguro. - pagseguro_checkouts_deactivate(checkout_id?: string, checkout?: object, account?: string, checkout_ids?: string[]) — Checkouts (links/sessões de pagamento) no PagSeguro. - pagseguro_checkouts_get(checkout_id?: string, checkout?: object, account?: string, checkout_ids?: string[]) — Checkouts (links/sessões de pagamento) no PagSeguro. - pagseguro_list_accounts(account?: string) — Lista tokens PagSeguro (contas de merchant) vinculados a este install — id e label. - pagseguro_orders_create(order_id?: string, reference_id?: string, order?: object, account?: string, order_ids?: string[], reference_ids?: string[]) — Pedidos (orders) no PagSeguro. - pagseguro_orders_get(order_id?: string, reference_id?: string, order?: object, account?: string, order_ids?: string[], reference_ids?: string[]) — Pedidos (orders) no PagSeguro. - pagseguro_orders_list(order_id?: string, reference_id?: string, order?: object, account?: string, order_ids?: string[], reference_ids?: string[]) — Pedidos (orders) no PagSeguro. - pagseguro_public_keys(type?: string, account?: string) — Retorna a chave pública do merchant (para criptografar cartão no client). type default 'card'. ## Example prompts - "Consulte o pedido order_id X no PagSeguro" - "Estorne a cobrança charge_id Y" - "Crie um checkout de pagamento" ## Links Docs: https://mcp.ai/docs/mcps/pagseguro Website: https://mcp.ai/mcps/pagseguro