Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MP_CURRENCYNoDefault currency (defaults to ARS)ARS
MP_SUCCESS_URLNoDefault success redirect URL for payment preferences
WA_NOTIFY_PHONENoPhone number for WhatsApp payment notifications
TELEGRAM_BOT_TOKENNoTelegram bot token from @BotFather
WHATSAPP_ACCESS_TOKENNoMeta Graph API token
WHATSAPP_VERIFY_TOKENNoWebhook verification token
WHATSAPP_PHONE_NUMBER_IDNoWhatsApp Business phone number ID
MERCADO_PAGO_ACCESS_TOKENYesMercado Pago API access token
MERCADO_PAGO_WEBHOOK_SECRETNoHMAC secret for Mercado Pago webhook signature validation

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dan1d/cobroya'

If you have feedback or need assistance with the MCP directory API, please join our Discord server