mcp-pomelo
v0.1.1MCP server for Pomelo — pan-LATAM card issuing: users, virtual/physical cards, transactions
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_user
Create a card-holder identity (POST /users/v1). The user is the person or business the card is issued to. Pass the Pomelo user shape for the target country (name, surname, identification_type/value, birthdate, address, email, phone).
| Parameter | Type | Description |
|---|---|---|
identification_type * | string | Country document type (e.g. DNI, CPF, CURP, CC) |
identification_value * | string | Document number |
name * | string | Given name |
operation_country * | string | ISO-3 country of operation (e.g. ARG, BRA, MEX, COL) |
surname * | string | Family name |
address | object | Residential address: street_name, street_number, zip_code, city, region, country (ISO-3) |
birthdate | string | YYYY-MM-DD |
email | string | Email address |
extra | object | Any additional Pomelo user fields, merged into the payload |
gender | string | MALE | FEMALE | OTHER (country-dependent requirement) |
idempotency_key | string | Optional idempotency key. Auto-generated when omitted. |
phone | string | Phone in international format |
get_user
Fetch a user by id (GET /users/v1/{id}).
| Parameter | Type | Description |
|---|---|---|
user_id * | string | Pomelo user id (usr-...) |
update_user
Patch a user (PATCH /users/v1/{id}). Pass only the fields to change (e.g. status ACTIVE | BLOCKED, email, phone, address).
| Parameter | Type | Description |
|---|---|---|
patch * | object | Fields to update, Pomelo user shape |
user_id * | string | Pomelo user id (usr-...) |
idempotency_key | string | Optional idempotency key. Auto-generated when omitted. |
create_card
Issue a card for a user (POST /cards/v1). card_type VIRTUAL is usable immediately; PHYSICAL enters embossing/shipping and must be activated on receipt. affinity_group_id selects the card program (BIN, art, limits) configured with Pomelo.
| Parameter | Type | Description |
|---|---|---|
affinity_group_id * | string | Card program id (afg-...) |
card_type * | string | Card form factor |
user_id * | string | Owner user id (usr-...) |
address | object | Shipping address for PHYSICAL cards (street_name, street_number, zip_code, city, region, country) |
extra | object | Any additional Pomelo card fields, merged into the payload |
idempotency_key | string | Optional idempotency key. Auto-generated when omitted. |
get_card
Fetch a card by id (GET /cards/v1/{id}). Returns masked PAN, status, type and program data — never full card credentials.
| Parameter | Type | Description |
|---|---|---|
card_id * | string | Pomelo card id (crd-...) |
list_cards
List cards (GET /cards/v1), filterable by user and status. Paginated.
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (0-based) |
size | number | Page size |
status | string | Filter by status (e.g. ACTIVE, BLOCKED, DISABLED) |
user_id | string | Filter by owner user id |
update_card_status
Change a card's lifecycle status (PATCH /cards/v1/{id}): ACTIVE to unblock/activate, BLOCKED to freeze, DISABLED to cancel permanently. status_reason is required by Pomelo for blocks (e.g. CLIENT_INTERNAL_REASON, LOST, STOLEN).
| Parameter | Type | Description |
|---|---|---|
card_id * | string | Pomelo card id (crd-...) |
status * | string | Target status |
idempotency_key | string | Optional idempotency key. Auto-generated when omitted. |
status_reason | string | Reason code (required for BLOCKED/DISABLED) |
list_transactions
Search the card-transactions feed (GET /transactions/v1), filterable by card, user and time window. Paginated.
| Parameter | Type | Description |
|---|---|---|
card_id | string | Filter by card id |
from | string | ISO-8601 start of window |
page | number | Page number (0-based) |
size | number | Page size |
to | string | ISO-8601 end of window |
user_id | string | Filter by user id |
get_transaction
Fetch a single card transaction by id (GET /transactions/v1/{id}).
| Parameter | Type | Description |
|---|---|---|
transaction_id * | string | Pomelo transaction id (ctx-...) |