Pan-LATAM card issuing as a service (Visa/Mastercard). Issue virtual or physical cards, freeze, set limits, and authorize each swipe against a CodeSpar mandate.
Pomelo gives your agent 9 tools it calls directly โ pick the ones it needs, in Claude, Cursor, or any MCP client.
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).get_user โ Fetch a user by id (GET /users/v1/{id}).update_user โ Patch a user (PATCH /users/v1/{id}). Pass only the fields to change (e.g. status ACTIVE | BLOCKED, email, phone, address).// Your agent calls a tool directly โ no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_user", { /* ... */ });$ npm install @codespar/mcp-pomeloAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"pomelo": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-pomelo"
],
"env": {
"POMELO_CLIENT_ID": "<your_pomelo_client_id>",
"POMELO_CLIENT_SECRET": "<your_pomelo_client_secret>"
}
}
}
}After restart, your agent can call any of the 9 tools below โ try create_user first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
POMELO_CLIENT_IDOAuth2 client id
POMELO_CLIENT_SECRETOAuth2 client secret
POMELO_ENVEnvironment: 'sandbox' or 'production'. Defaults to 'sandbox'.
POMELO_BASE_URLAPI base URL override. Defaults per environment.
POMELO_AUTH_URLAuth base URL override. Defaults per environment.
POMELO_AUDIENCEOAuth2 audience override. Defaults per environment.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
create_userget_userupdate_usercreate_cardget_cardlist_cardsupdate_card_statuslist_transactionsMCP is a protocol โ any framework that speaks it can mount this server.