Pomelo

Finance and commerce

MCP server for Pomelo, pan-LATAM card issuing: users, virtual/physical cards, transactions.

Your AI app calls the Pomelo MCP server, which does the finance and commerce work and sends the result back to the chat.

About Pomelo

Pomelo is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Pomelo, pan-LATAM card issuing: users, virtual/physical cards, transactions.

Pomelo runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-pomelo@0.1.1 and talks to it over standard input and output. It needs POMELO_CLIENT_ID and POMELO_CLIENT_SECRET set before Pomelo starts.

Pomelo is listed in the official MCP registry as io.github.codespar/mcp-pomelo, version 0.1.1.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-pomelo
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-pomelo

How to set up Pomelo

  1. Install Node.js on the machine that runs your AI app, because Pomelo starts with npx and downloads its package on first run.
  2. Create POMELO_CLIENT_ID and POMELO_CLIENT_SECRET for Pomelo in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Pomelo to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Pomelo tools to confirm the connection.
  5. Run one read-only task with Pomelo first, and keep your app asking before each tool call until the results look right.

Pomelo compared with similar servers

  • Quickbooks by codespar has fewer GitHub stars than Pomelo (278 against 278); both are community servers, and both run locally.
  • Pluggy by codespar has fewer GitHub stars than Pomelo (278 against 278); both are community servers, and both run locally.
  • Rapyd by codespar has fewer GitHub stars than Pomelo (278 against 278); both are community servers, and both run locally.

Before you connect Pomelo

  • Give Pomelo its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Pomelo tool call until you trust what it does with them.
  • Treat text that Pomelo fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Pomelo on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Pomelo

How marketing and sales teams put Pomelo to work, by company size. Pick the size closest to yours and start Pomelo on one use case.

Small business

  • A small business can ask Pomelo which products and customers drive margin, then plan promotions around them.
  • Owners can use Pomelo to check refunds, failed payments and churn reasons without opening three dashboards.
  • Pomelo runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Pomelo to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Pomelo to check spend against budget each week and move money to what's working.
  • Start Pomelo on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Pomelo read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Pomelo to answer revenue questions by channel and region with figures finance signs off on.
  • Pomelo is a community server, so have security review the code and pin a version before Pomelo touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Pomelo README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-pomelo

MCP server for Pomelo, pan-LATAM card issuing as a service: card-holder users, virtual and physical Visa/Mastercard issuance, lifecycle management, and the transactions feed. Argentina, Brazil, Mexico, Colombia, Peru, Chile.

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "pomelo": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-pomelo"],
      "env": {
        "POMELO_CLIENT_ID": "your-client-id",
        "POMELO_CLIENT_SECRET": "your-client-secret",
        "POMELO_ENV": "sandbox"
      }
    }
  }
}
Claude Code
claude mcp add pomelo -- npx @codespar/mcp-pomelo
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "pomelo": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-pomelo"],
      "env": {
        "POMELO_CLIENT_ID": "your-client-id",
        "POMELO_CLIENT_SECRET": "your-client-secret",
        "POMELO_ENV": "sandbox"
      }
    }
  }
}

Environment

Variable Required Description
POMELO_CLIENT_ID yes OAuth2 client id
POMELO_CLIENT_SECRET yes OAuth2 client secret
POMELO_ENV no sandbox (default) or production
POMELO_BASE_URL no API base override (default https://api-stage.pomelo.la in sandbox, https://api.pomelo.la in production)
POMELO_AUTH_URL no Auth base override; the token call is {AUTH_URL}/oauth/token (default: the same host as the API, per Pomelo's docs)
POMELO_AUDIENCE no OAuth2 audience override (defaults per env)

Authentication is OAuth2 client-credentials; the server exchanges and caches the Bearer token automatically.

Tools (9)

Tool What it does
create_user Create a card-holder identity (POST /users/v1)
get_user Fetch a user by id
update_user Patch user fields (status, contact, address)
create_card Issue a VIRTUAL or PHYSICAL card (POST /cards/v1)
get_card Fetch a card (masked PAN, status, program)
list_cards List cards, filterable by user/status
update_card_status ACTIVE / BLOCKED / DISABLED lifecycle changes
list_transactions Search the card-transactions feed
get_transaction Fetch one transaction by id

Mutating calls carry an x-idempotency-key (auto-generated, overridable per call via idempotency_key).

Example

"Issue a virtual card for the new contractor and freeze the old one."

The agent calls create_user (if needed) → create_card (card_type: "VIRTUAL") → update_card_status (status: "BLOCKED", status_reason: "CLIENT_INTERNAL_REASON").

Notes

  • Card credentials (full PAN/CVV) are never returned by these tools; Pomelo exposes sensitive data only through its PCI-scoped widgets.
  • Authorization decisioning (approving each swipe in real time) is a webhook you host, not an API call, pair this server with CodeSpar's governed authorizer if you want mandate checks per transaction.

Authentication

OAuth2 client-credentials: the server exchanges POMELO_CLIENT_ID / POMELO_CLIENT_SECRET for a Bearer token at {AUTH_URL}/oauth/token and caches it until shortly before expiry. Mutating calls carry an x-idempotency-key.

Enterprise

Need governance, budget limits, and audit trails for agent-driven card issuing on Pomelo? CodeSpar Enterprise adds a policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Pomelo

What is the Pomelo MCP server?

MCP server for Pomelo, pan-LATAM card issuing: users, virtual/physical cards, transactions. Pomelo is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Pomelo MCP server?

Add Pomelo to your AI app's MCP config with the command npx -y @codespar/mcp-pomelo@0.1.1. In Claude Code, run claude mcp add --transport stdio codespar-pomelo -- npx -y @codespar/mcp-pomelo@0.1.1. To run Pomelo this way you need Node.js installed.

Does Pomelo need an API key?

Yes. Pomelo expects POMELO_CLIENT_ID and POMELO_CLIENT_SECRET to be set. Create the key for Pomelo in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Pomelo an official MCP server?

No. Pomelo is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Pomelo access to company data.

What license is Pomelo under?

Pomelo is released under the MIT license, according to its GitHub repository. The license covers the code of Pomelo; the service it connects to has its own terms.