Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MP_CURRENCY | No | Default currency (defaults to ARS) | ARS |
| MP_SUCCESS_URL | No | Default success redirect URL for payment preferences | |
| WA_NOTIFY_PHONE | No | Phone number for WhatsApp payment notifications | |
| TELEGRAM_BOT_TOKEN | No | Telegram bot token from @BotFather | |
| WHATSAPP_ACCESS_TOKEN | No | Meta Graph API token | |
| WHATSAPP_VERIFY_TOKEN | No | Webhook verification token | |
| WHATSAPP_PHONE_NUMBER_ID | No | WhatsApp Business phone number ID | |
| MERCADO_PAGO_ACCESS_TOKEN | Yes | Mercado Pago API access token | |
| MERCADO_PAGO_WEBHOOK_SECRET | No | HMAC secret for Mercado Pago webhook signature validation |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_payment_preference | Creates a Mercado Pago checkout payment preference (payment link). Returns init_point URL for redirecting buyers. |
| get_payment | Retrieve a payment by its ID. Returns full payment details including status, amount, payer info. |
| create_refund | Refund a payment fully or partially. Omit amount for full refund. |
| search_payments | Search recent payments for the authenticated merchant. Supports filtering by status. |
| get_merchant_info | Retrieve the authenticated merchant's user profile including ID, nickname, and site. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |