
Mcp Pomelo
io.github.codespar由 GitHub 账号 codespar 发布v0.1.1更新于 Oct 24, 2026
MCP server for Pomelo — pan-LATAM card issuing: users, virtual/physical cards, transactions
概览
让助手管理 Pomelo 在拉美的发卡业务:创建持卡人、发行虚拟或实体卡、变更卡状态并查询交易。
- 可以做什么
- 把 Pomelo 发卡 API 封装为九个工具:create_user、get_user、update_user 管理持卡人身份;create_card、get_card、list_cards、update_card_status 用于虚拟或实体 Visa/Mastercard 的发行与生命周期变更;list_transactions、get_transaction 查询交易流水。它使用 OAuth2 客户端凭证认证,自动换取并缓存 Bearer 令牌,并在写操作中附带幂等键。
- 适用场景
- 当助手需要协助运营 Pomelo 在阿根廷、巴西、墨西哥、哥伦比亚、秘鲁或智利的卡项目时适用,例如录入持卡人、发卡或冻结卡、查询交易。它不用于实时授权决策,那由你自行托管的 webhook 处理。
- 运行要求
- 以 npm 包形式通过 npx 在本地运行(需要 Node.js),在桌面版 MCP 客户端中配置。需要 POMELO_CLIENT_ID 和 POMELO_CLIENT_SECRET;POMELO_ENV 选择 sandbox(默认)或 production,POMELO_BASE_URL、POMELO_AUTH_URL、POMELO_AUDIENCE 可覆盖默认值。需要访问 Pomelo 的 API 与认证端点。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Pomelo,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@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:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Environment
Authentication is OAuth2 client-credentials; the server exchanges and caches the Bearer token automatically.
Tools (9)
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
来源:packages/banking/pomelo/README.md,提交 d0a519a
工具
0版本历史
2- v0.1.1最新Sep 27, 2026
- v0.1.0Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分