Evolution API WhatsApp MCP Server
This server provides a comprehensive WhatsApp integration via Evolution API, enabling complete management of WhatsApp instances and interactions.
Core Capabilities:
Instance Management: Create, connect, list, check status, and delete WhatsApp instances
Message Sending: Send text, media (images, videos, audio, documents), interactive buttons, and list messages
Template Management: Create, retrieve, update, delete, search, and send message templates with variable support
Contact & Group Operations: Verify WhatsApp numbers, list contacts/groups, create groups, manage participants
Chat Management: Retrieve chats and messages, mark messages as read
Server Monitoring: Check health status and retrieve server information
Provides comprehensive WhatsApp Business API integration through Evolution API, enabling management of WhatsApp instances, sending various message types (text, media, interactive buttons/lists), managing contacts and groups, and using dynamic message templates for common business scenarios like order confirmations, appointment reminders, and customer support.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Evolution API WhatsApp MCP Server send order confirmation to 554198908495 with template variables: order number 12345, delivery date tomorrow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Evolution API MCP Server - Guía de Uso
Configuración Actual
URL del Servidor MCP: https://mcp-evolution-api-fixed-production.up.railway.app
URL de Evolution API: https://evolution-api-evolution-api.dqyvuv.easypanel.host
API Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24
Instancia: Luis2
Número de prueba: 554198908495
Related MCP server: WhatsApp Cloud API MCP Server
Endpoints Disponibles
1. Información del Servidor
curl https://mcp-evolution-api-fixed-production.up.railway.app/2. Estado de Salud
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/health \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"3. Listar Instancias
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/instances \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"4. Estado de una Instancia
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/instances/Luis2/status \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"5. Enviar Mensaje de Texto
curl -X POST https://mcp-evolution-api-fixed-production.up.railway.app/api/send/text \
-H "Content-Type: application/json" \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24" \
-d '{
"instanceName": "Luis2",
"number": "554198908495",
"text": "Hola! Este es un mensaje de prueba"
}'6. Verificar Números de WhatsApp
curl -X POST https://mcp-evolution-api-fixed-production.up.railway.app/api/check-numbers \
-H "Content-Type: application/json" \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24" \
-d '{
"instanceName": "Luis2",
"numbers": ["554198908495", "5541999999999"]
}'7. Listar Contactos
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/instances/Luis2/contacts \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"8. Listar Grupos
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/instances/Luis2/groups \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"9. Listar Chats
curl https://mcp-evolution-api-fixed-production.up.railway.app/api/instances/Luis2/chats \
-H "X-API-Key: BC10D87095B7-44E2-B1A4-F03BE2BECE24"Solución de Problemas
El mensaje no llega a WhatsApp
Verificar que la instancia esté conectada:
La instancia debe tener estado "open" o "connected"
Si no está conectada, necesitas escanear el código QR nuevamente
Formato del número:
Brasil: 55 + código de área + número (ejemplo: 554198908495)
Sin espacios, guiones o símbolos
Sin el símbolo + al inicio
Verificar si el número tiene WhatsApp:
Usa el endpoint
/api/check-numberspara verificar
Error "Access denied"
Verifica que estés enviando el header
X-API-Keycon el valor correctoEl API Key debe ser: BC10D87095B7-44E2-B1A4-F03BE2BECE24
Error de conexión
Verifica que Evolution API esté funcionando:
curl https://evolution-api-evolution-api.dqyvuv.easypanel.host/instance/fetchInstances \ -H "apikey: BC10D87095B7-44E2-B1A4-F03BE2BECE24"Si Evolution API no responde, el problema está en Easypanel
Scripts de Prueba
Hay dos scripts de prueba disponibles:
test-mcp.sh - Prueba el servidor MCP
test-evolution-direct.sh - Prueba directamente Evolution API
Para ejecutarlos en Windows, usa Git Bash:
bash test-mcp.sh
bash test-evolution-direct.shActualización del Código
Cuando hagas cambios en el código:
Commit y push a GitHub:
git add . git commit -m "Descripción del cambio" git push origin masterRailway detectará automáticamente los cambios y redesplegará
Verifica el estado del deployment en Railway:
Ve a https://railway.app
Entra al proyecto "MCP Servers"
Revisa el estado del deployment
Estructura del Proyecto
evolution-api-mcp-server/
├── src/
│ ├── index.ts # Archivo principal
│ ├── routes/
│ │ └── api.ts # Rutas HTTP de la API
│ ├── services/
│ │ ├── evolution-api.ts # Cliente de Evolution API
│ │ └── template-service.ts # Servicio de templates
│ └── types/
│ └── evolution.ts # Tipos TypeScript
├── package.json
├── tsconfig.json
├── Dockerfile
└── .env # Variables de entorno (local)Variables de Entorno en Railway
Las siguientes variables están configuradas en Railway:
EVOLUTION_API_URL: https://evolution-api-evolution-api.dqyvuv.easypanel.hostEVOLUTION_API_KEY: BC10D87095B7-44E2-B1A4-F03BE2BECE24MCP_SERVER_PORT: 3000NODE_ENV: production
Notas Importantes
Seguridad: Nunca expongas el API Key en código público
Rate Limiting: Evolution API puede tener límites de tasa
Sesión de WhatsApp: La sesión puede expirar y requerir nuevo escaneo de QR
Números bloqueados: WhatsApp puede bloquear números que envían muchos mensajes
Contacto y Soporte
Para problemas con:
Evolution API: Revisa la documentación en https://doc.evolution-api.com
Railway: https://railway.app/support
Easypanel: Panel de control de tu instancia
Última actualización: 14 de Septiembre de 2025
Available Tools
25 toolsadd_participantsC
Add participants to a group
Inputs: groupJid (required), instanceName (required), participants (required).
check_numberC
Check if phone numbers have WhatsApp
Inputs: instanceName (required), numbers (required).
connect_instanceC
Connect a WhatsApp instance
Inputs: instanceName (required).
create_groupB
Create a new WhatsApp group
Inputs: instanceName (required), participants (required), subject (required), description.
create_instanceB
Create a new WhatsApp instance
Inputs: instanceName (required), qrcode, webhookUrl.
create_templateC
Create a new message template
Inputs: name (required), text (required), category, description, +2 more.
delete_instanceB
Delete a WhatsApp instance
Inputs: instanceName (required).
delete_templateC
Delete a custom template
Inputs: templateId (required).
get_chatsC
Get all chats
Inputs: instanceName (required).
get_messagesC
Get messages from a chat
Inputs: instanceName (required), remoteJid (required), limit.
get_templateB
Get a specific template by ID
Inputs: templateId (required).
instance_statusA
Get connection status of an instance
Inputs: instanceName (required).
list_contactsC
List all contacts
Inputs: instanceName (required).
list_groupsC
List all groups
Inputs: instanceName (required), getParticipants.
list_instancesC
List all WhatsApp instances
Inputs: no named parameters.
list_templatesC
List all message templates
Inputs: category, tags.
read_messageC
Mark message as read
Inputs: instanceName (required), remoteJid (required), fromMe, id.
remove_participantsB
Remove participants from a group
Inputs: groupJid (required), instanceName (required), participants (required).
search_templatesC
Search templates by text
Inputs: query (required).
send_buttonsD
Send message with buttons
Inputs: buttons (required), instanceName (required), number (required), description, +2 more.
send_listC
Send interactive list message
Inputs: instanceName (required), number (required), sections (required), buttonText, +2 more.
send_mediaC
Send media (image, video, audio, document)
Inputs: instanceName (required), media (required), mediatype (required), number (required), +2 more.
send_templateC
Send a message using a template
Inputs: instanceName (required), number (required), templateId (required), variables (required).
send_textC
Send a text message
Inputs: instanceName (required), number (required), text (required), delay.
update_templateB
Update an existing template
Inputs: templateId (required), description, name, text, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have clearly distinct purposes targeting specific WhatsApp operations like instance management, messaging, group handling, and template management. However, there is some potential overlap between 'send_text', 'send_template', 'send_buttons', 'send_list', and 'send_media' as they all involve sending messages, though their descriptions differentiate them by message type.
Tool names follow a highly consistent verb_noun pattern throughout, such as 'create_group', 'list_contacts', 'send_media', and 'update_template'. All tools use snake_case with clear, descriptive verbs aligned with their actions, making the set predictable and easy to understand.
With 25 tools, the count is on the higher end for an MCP server, bordering on heavy. While it covers a broad range of WhatsApp functionalities comprehensively, it may feel overwhelming or redundant in some areas, such as multiple message-sending tools, which could have been consolidated.
The tool set provides extensive coverage for WhatsApp operations, including instance lifecycle (create, connect, delete, status), messaging (text, media, templates, interactive), group management (create, add/remove participants, list), and template CRUD (create, get, update, delete, list, search). No obvious gaps are present for the domain.
Related MCP Connectors
Send WhatsApp messages and templates, manage chats, contacts, broadcasts and AI agents.
Send WhatsApp messages, templates and media, and manage templates via the WhatsApp Business API.
Send and schedule SMS and WhatsApp messages, manage contacts and templates, and track delivery.
Send and read WhatsApp messages, templates, chats and campaigns through the official Business API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables WhatsApp integration through Evolution API, allowing users to send messages, manage media, track conversations, and control presence status directly from Claude.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send WhatsApp messages, templates, and retrieve media through the WhatsApp Cloud API. Provides webhook handling and seamless integration with Meta's WhatsApp Business platform.23ISC
- AlicenseBqualityDmaintenanceEnables sending WhatsApp Business messages including text, media, interactive lists/buttons, and template management through the WhatsApp Business API via Nango integration.11MIT
- AlicenseBqualityDmaintenanceEnables WhatsApp messaging and management through the Evolution API, supporting sending texts, checking numbers, listing contacts and groups, and more.25MIT