# io.github.codespar/mcp-pagseguro (npm · @codespar/mcp-pagseguro)

MCP server for PagSeguro/PagBank — orders, Pix, boleto, credit card, charges

- Trust score: 66/100 (medium)
- Change this week: +38
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-06

## Components

- npm · `@codespar/mcp-pagseguro`: 66/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro.md), [page](https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-pagseguro`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-06.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 94 of 98 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 94 of 98 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 44 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (fair).
  - Tool/resource definitions use about 1110 tokens (~46/item across 24 items; 24 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 37/100
  - Stability observed for 11 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 95/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 85% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-pagseguro -- npx -y @codespar/mcp-pagseguro
```

### Codex

```bash
codex mcp add codespar-mcp-pagseguro -- npx -y @codespar/mcp-pagseguro
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-pagseguro": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-pagseguro"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-pagseguro --command npx --arg -y --arg @codespar/mcp-pagseguro
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-pagseguro:
    command: "npx"
    args: ["-y", "@codespar/mcp-pagseguro"]
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-05 (score 66, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-03 (score 65, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 61, +25)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Schema quality: unverified → fair
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 36, +31)

- [security improvement] Malware scan: unverified → pass
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-31 (score 5, −23)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (24)

### `create_order` (~69 tokens)

Create an order in PagSeguro (Pix, boleto, or credit card)

Input parameters:

- `charges` (array): Payment charges (Pix, boleto, or card)
- `customer` (object, required): Customer data
- `items` (array, required): Order items
- `reference_id` (string): Your unique reference ID

### `get_order` (~28 tokens)

Get order details by ID

Input parameters:

- `id` (string, required): Order ID (ORDE_xxx)

### `list_orders` (~59 tokens)

List orders with optional filters

Input parameters:

- `limit` (number): Number of results (default 20)
- `offset` (number): Pagination offset
- `reference_id` (string): Filter by reference ID
- `status` (string): Filter by status

### `create_charge` (~39 tokens)

Create a standalone charge

Input parameters:

- `amount` (object, required)
- `payment_method` (object, required)
- `reference_id` (string): Your reference ID

### `refund` (~36 tokens)

Refund a charge (full or partial)

Input parameters:

- `amount` (object)
- `charge_id` (string, required): Charge ID (CHAR_xxx)

### `get_pix_qrcode` (~32 tokens)

Get Pix QR code payload and image for an order charge

Input parameters:

- `charge_id` (string, required): Charge ID

### `create_customer` (~57 tokens)

Create a customer in PagSeguro

Input parameters:

- `email` (string, required): Email address
- `name` (string, required): Customer name
- `phones` (array): Phone numbers
- `tax_id` (string, required): CPF or CNPJ (numbers only)

### `get_balance` (~12 tokens)

Get account balance

### `create_subscription` (~74 tokens)

Create a recurring subscription plan in PagSeguro

Input parameters:

- `customer` (object, required): Customer data (name, email, tax_id)
- `payment_method` (object, required): Payment method (type: CREDIT_CARD or BOLETO)
- `plan` (object, required): Subscription plan details
- `reference_id` (string): Your unique reference ID

### `list_subscriptions` (~60 tokens)

List subscriptions with optional filters

Input parameters:

- `limit` (number): Number of results (default 20)
- `offset` (number): Pagination offset
- `reference_id` (string): Filter by reference ID
- `status` (string): Filter by status

### `get_notifications` (~29 tokens)

Get payment notification details by notification code

Input parameters:

- `notificationCode` (string, required): Notification code received via webhook

### `create_split` (~38 tokens)

Create a split payment configuration for marketplace transactions

Input parameters:

- `charge_id` (string, required): Charge ID to split
- `receivers` (array, required): Split receivers

### `get_dispute` (~29 tokens)

Get dispute/chargeback details by ID

Input parameters:

- `dispute_id` (string, required): Dispute ID

### `pay_order` (~52 tokens)

Pay an existing order (attach a charge/payment to an order in CREATED state)

Input parameters:

- `charges` (array, required): Charges to attach to the order
- `order_id` (string, required): Order ID (ORDE_xxx)

### `get_charge` (~28 tokens)

Get charge details by ID

Input parameters:

- `charge_id` (string, required): Charge ID (CHAR_xxx)

### `list_charges` (~60 tokens)

List charges with optional filters

Input parameters:

- `limit` (number): Number of results (default 20)
- `offset` (number): Pagination offset
- `reference_id` (string): Filter by reference ID
- `status` (string): Filter by status

### `capture_charge` (~43 tokens)

Capture a pre-authorized credit card charge

Input parameters:

- `amount` (object)
- `charge_id` (string, required): Charge ID (CHAR_xxx) in AUTHORIZED state

### `cancel_charge` (~39 tokens)

Cancel a charge that has not yet been settled

Input parameters:

- `amount` (object)
- `charge_id` (string, required): Charge ID (CHAR_xxx)

### `create_boleto` (~40 tokens)

Create a boleto charge

Input parameters:

- `amount` (object, required)
- `payment_method` (object, required)
- `reference_id` (string): Your reference ID

### `get_boleto` (~33 tokens)

Get boleto charge details by ID

Input parameters:

- `charge_id` (string, required): Charge ID of the boleto (CHAR_xxx)

### `get_public_keys` (~35 tokens)

Get PagSeguro public key for card data encryption (type: card)

Input parameters:

- `type` (string, required): Public key type (card)

### `create_payout` (~56 tokens)

Create a payout/transfer to a bank account or Pix key

Input parameters:

- `amount` (object, required)
- `recipient` (object, required): Payout recipient (bank_account or pix_key)
- `reference_id` (string): Your reference ID

### `create_webhook` (~57 tokens)

Register an application webhook URL to receive event notifications

Input parameters:

- `events` (array): Event types to subscribe to (e.g. CHARGE.PAID, ORDER.CREATED)
- `url` (string, required): HTTPS URL that will receive webhook events

### `list_webhooks` (~38 tokens)

List registered application webhooks

Input parameters:

- `limit` (number): Number of results (default 20)
- `offset` (number): Pagination offset

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro#diagnostics

## Score history

- 2026-08-06: 66
- 2026-08-05: 66
- 2026-08-04: 65
- 2026-08-03: 65
- 2026-08-02: 61
- 2026-08-01: 36
- 2026-07-31: 5
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-pagseguro
- Socket report: https://socket.dev/npm/package/@codespar/mcp-pagseguro
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-pagseguro/codespar-mcp-pagseguro
