
Cobroya
io.github.dan1dPublished by GitHub account dan1dv1.0.1Updated Oct 24, 2026
Mercado Pago payments for AI agents: payment links, search, refunds, merchant info.
Overview
Local MCP server that lets an AI assistant create Mercado Pago payment links, look up and search payments, issue refunds, and read merchant profile info.
- What you can do
- Create Mercado Pago checkout payment links, optionally with back and notification URLs, and get a shareable checkout URL for buyers. Retrieve full details of a single payment by ID, including status, amount and payer info. Search payments by status with sorting and pagination. Issue full or partial refunds on a payment. Read the authenticated merchant's profile: user ID, nickname and site.
- When to use it
- Useful when an assistant should handle Mercado Pago collections in chat: generating a payment link for a product or course, checking whether today's payments were approved, or refunding a buyer. Suited to merchants already using Mercado Pago who want payment actions inside an AI tool.
- Requirements
- Runs locally via npx as a stdio process; Node.js is needed. Requires a Mercado Pago access token supplied in the MERCADO_PAGO_ACCESS_TOKEN environment variable. Network access to the Mercado Pago API. Optional variables cover Telegram, WhatsApp, webhook secret, default currency and redirect URL.
Installation
In SourceWeft
- Open Cobroya in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
CobroYa
Cobra con Mercado Pago en 10 segundos.
[npm version] [tests] [coverage] [license]
CobroYa is an open-source Mercado Pago payment tool for AI agents, Telegram, WhatsApp, and automation platforms. Create payment links, search payments, issue refunds -- all from your AI assistant or chat bot.
Quick Start with AI
CobroYa is an MCP (Model Context Protocol) server. Add it to your AI tool in one step -- no cloning, no building. Just provide your Mercado Pago access token.
Claude Desktop
Add to your claude_desktop_config.json:
Claude Code
Cursor
Add to .cursor/mcp.json in your project root:
Windsurf
Add to your Windsurf MCP configuration:
Once configured, ask your AI assistant things like: "Create a payment link for $5000 for a Python course" or "Show me today's approved payments".
Available Tools
CobroYa exposes 5 MCP tools that any connected AI agent can call:
Telegram Bot
CobroYa includes a ready-to-use Telegram bot: @CobroYa_bot
Self-hosting the bot
- Create a bot via @BotFather and get your token.
- Set environment variables:
- Run:
Or from source:
CobroYa supports WhatsApp Business Cloud API for receiving commands and sending payment notifications.
- Create a Meta app at Meta for Developers and enable WhatsApp Business API.
- Set environment variables:
- Run the webhook server:
- Expose with ngrok (
ngrok http 3000) and configure the webhook URL in your Meta Dashboard.
For full details on supported commands and payment notifications, see the WhatsApp documentation.
Automation Platforms
Pre-built packages for popular automation platforms are available in the packages/ directory:
- n8n --
packages/n8n-nodes-mercadopago - Zapier --
packages/zapier-mercadopago - Make --
packages/make-mercadopago - Pipedream --
packages/pipedream-mercadopago
Each package wraps the CobroYa core with platform-specific configuration. See the README in each package for setup instructions.
AI Framework Adapters
LangChain (Python)
OpenAI Function Calling (TypeScript)
Programmatic Usage
Install as a dependency:
Error Handling
Environment Variables
Development
License
Source: README.md at commit 4e4c6f3
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts