mcp-pomelo

v0.1.1
io.github.codespar/mcp-pomelo Checked 5 days ago Published 2 months ago

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

Values you need

VariableWhat it is
POMELO_CLIENT_IDrequired secret OAuth2 client id
POMELO_CLIENT_SECRETrequired secret OAuth2 client secret
POMELO_ENVoptional Environment: 'sandbox' or 'production'. Defaults to 'sandbox'.
POMELO_BASE_URLoptional API base URL override. Defaults per environment.
POMELO_AUTH_URLoptional Auth base URL override. Defaults per environment.
POMELO_AUDIENCEoptional OAuth2 audience override. Defaults per environment.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp-pomelo -e 'POMELO_CLIENT_ID=<POMELO_CLIENT_ID>' -e 'POMELO_CLIENT_SECRET=<POMELO_CLIENT_SECRET>' -- npx -y @codespar/mcp-pomelo@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-pomelo": {
      "args": [
        "-y",
        "@codespar/mcp-pomelo@0.1.1"
      ],
      "command": "npx",
      "env": {
        "POMELO_CLIENT_ID": "<POMELO_CLIENT_ID>",
        "POMELO_CLIENT_SECRET": "<POMELO_CLIENT_SECRET>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-pomelo": {
      "args": [
        "-y",
        "@codespar/mcp-pomelo@0.1.1"
      ],
      "command": "npx",
      "env": {
        "POMELO_CLIENT_ID": "<POMELO_CLIENT_ID>",
        "POMELO_CLIENT_SECRET": "<POMELO_CLIENT_SECRET>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "POMELO_CLIENT_ID",
      "id": "pomelo-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "POMELO_CLIENT_SECRET",
      "id": "pomelo-client-secret",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-pomelo": {
      "args": [
        "-y",
        "@codespar/mcp-pomelo@0.1.1"
      ],
      "command": "npx",
      "env": {
        "POMELO_CLIENT_ID": "${input:pomelo-client-id}",
        "POMELO_CLIENT_SECRET": "${input:pomelo-client-secret}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-pomelo]
command = "npx"
args = ["-y", "@codespar/mcp-pomelo@0.1.1"]
env = { "POMELO_CLIENT_ID" = "<POMELO_CLIENT_ID>", "POMELO_CLIENT_SECRET" = "<POMELO_CLIENT_SECRET>" }

For AI agents

  1. Ask the user for: POMELO_CLIENT_ID, POMELO_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: create_user, get_user, update_user, create_card, get_card, list_cards, update_card_status, list_transactions, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json