Mcp Mercado Pago

io.github.codespar由 GitHub 账号 codespar 发布v0.2.2更新于 Oct 24, 2026

Mercado Pago — payments, checkout, PIX, refunds for LATAM

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

让助手创建和管理 Mercado Pago 支付、结账偏好、PIX 收款、退款、客户与订阅。

可以做什么
将拉丁美洲支付平台 Mercado Pago 封装为约 30 个工具。可创建和查询支付、发起全额或部分退款、创建 Checkout Pro 结账偏好、创建 PIX 支付、管理客户、门店和销售点、处理周期性订阅、对银行卡进行令牌化,并读取余额、拒付和结算报告。市场功能包括分账支付、OAuth 令牌交换和拒付证据上传。
适用场景
适合需要操作拉丁美洲 Mercado Pago 账户的场景:收款或查询支付、发起退款、搭建结账或 PIX 流程、管理订阅与客户,以及处理市场分账和争议。
运行要求
通过 npm 包 @codespar/mcp-mercado-pago 以 stdio 在本地运行,通常用 npx 启动,因此需要 Node.js。必须在 MERCADO_PAGO_ACCESS_TOKEN 环境变量中提供 Mercado Pago 访问令牌。可选的 MCP_HTTP 和 MCP_PORT 变量可启用 HTTP 传输。需要能访问 Mercado Pago API 的网络。
安装前请注意
该服务器持有可调动真实资金并读取账户数据的 Mercado Pago 访问令牌,请将 MERCADO_PAGO_ACCESS_TOKEN 视为高价值密钥,优先使用受限或测试凭据。相关工具会创建支付、退款、订阅、客户和门店,还能取消订阅或上传争议证据,助手操作会产生财务影响且可能不可撤销。银行卡令牌化和市场 OAuth 流程会处理敏感支付数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Mercado Pago,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@codespar/mcp-mercado-pago

MCP server for Mercado Pago, the leading payment platform in Latin America

[npm] [License: MIT]

Quick Start

Claude Desktop

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

json
{  "mcpServers": {    "mercado-pago": {      "command": "npx",      "args": ["-y", "@codespar/mcp-mercado-pago"],      "env": {        "MERCADO_PAGO_ACCESS_TOKEN": "APP_USR-..."      }    }  }}

Claude Code

bash
claude mcp add mercado-pago -- npx @codespar/mcp-mercado-pago

CLI

bash
# Set your access tokenexport MERCADO_PAGO_ACCESS_TOKEN="APP_USR-..."
# Run via stdionpx -y @codespar/mcp-mercado-pago
# Run via HTTPMCP_HTTP=true MCP_PORT=3000 npx -y @codespar/mcp-mercado-pago

Tools (30)

ToolPurpose
create_paymentCreate a new payment
get_paymentGet payment details by ID
search_paymentsSearch payments with filters
create_refundRefund a payment (full or partial)
create_preferenceCreate a checkout preference for Checkout Pro
get_preferenceGet checkout preference by ID
create_customerCreate a customer
list_customersList customers
get_payment_methodsList available payment methods
create_pix_paymentCreate a PIX payment
get_merchant_orderGet merchant order by ID
get_balanceGet account balance
create_subscriptionCreate a recurring subscription (preapproval)
get_subscriptionGet subscription (preapproval) details by ID
cancel_subscriptionCancel a subscription (preapproval)
create_card_tokenTokenize a card for secure payments
get_payment_method_detailsGet details of a specific payment method by ID
create_storeCreate a store (physical location or POS group)
list_storesList stores
create_posCreate a point of sale (POS) linked to a store
update_subscriptionUpdate a subscription (preapproval): amount, status, reason, card token, etc.
oauth_token_exchangeExchange an authorization code for a seller access token (marketplace onboarding).
create_advanced_paymentCreate a marketplace split payment with per-recipient disbursements (application_fee, money_release_days, c...
get_advanced_paymentGet an advanced (split) payment by ID
get_chargebackGet chargeback details by ID
upload_chargeback_evidenceUpload documentation/evidence for a chargeback dispute.
get_identification_typesGet document/identification types available per country (CPF, CNPJ, DNI, RUT, etc.).
get_payment_methods_by_siteList available payment methods for a specific Mercado Pago site (MLB=Brazil, MLA=Argentina, MLM=Mexico, MLC...
create_settlement_reportManually generate a settlement (account money) report for a date range.
search_merchant_ordersSearch merchant orders with filters (last 90 days).

Environment Variables

VariableRequiredDescription
MERCADO_PAGO_ACCESS_TOKENYesAccess token from Mercado Pago dashboard
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Authentication

Uses Bearer token authentication. Set this environment variable before launching the server:

  • MERCADO_PAGO_ACCESS_TOKEN (required, secret): access token for Mercado Pago

Issue credentials at the Mercado Pago Developers dashboard.

API Reference

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

来源:packages/payments/mercado-pago/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分