evolution-api-mcp-server
Provides tools for sending text messages, checking WhatsApp numbers, managing groups and chats, and interacting with the Evolution API to control WhatsApp instances.
Click on "Install 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-mcp-serverSend a WhatsApp message to +5511999999999 saying 'Olá, tudo bem?'"
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 - Guia de Uso
Configuração Atual
URL do Servidor MCP:
http://localhost:{MCP_SERVER_PORT}(ou sua URL de produção)URL do Evolution API: (sua URL do Evolution API)
API Key: (sua API Key)
Instância: (nome da sua instância)
Número de teste: (número de teste em formato E.164)
Related MCP server: Evolution API MCP Server
Endpoints Disponíveis
1. Informações do Servidor
curl http://localhost:{MCP_SERVER_PORT}/2. Verificação de Saúde
curl http://localhost:{MCP_SERVER_PORT}/api/health \
-H "X-API-Key: {SUA_API_KEY}"3. Listar Instâncias
curl http://localhost:{MCP_SERVER_PORT}/api/instances \
-H "X-API-Key: {SUA_API_KEY}"4. Status de uma Instância
curl http://localhost:{MCP_SERVER_PORT}/api/instances/{NOME_DA_INSTANCIA}/status \
-H "X-API-Key: {SUA_API_KEY}"5. Enviar Mensagem de Texto
curl -X POST http://localhost:{MCP_SERVER_PORT}/api/send/text \
-H "Content-Type: application/json" \
-H "X-API-Key: {SUA_API_KEY}" \
-d '{
"instanceName": "{NOME_DA_INSTANCIA}",
"number": "{NUMERO_DESTINO}",
"text": "Olá! Esta é uma mensagem de teste"
}'6. Verificar Números de WhatsApp
curl -X POST http://localhost:{MCP_SERVER_PORT}/api/chat/check-numbers \
-H "Content-Type: application/json" \
-H "X-API-Key: {SUA_API_KEY}" \
-d '{
"instanceName": "{NOME_DA_INSTANCIA}",
"numbers": ["{NUMERO_1}", "{NUMERO_2}"]
}'7. Listar Contatos
curl http://localhost:{MCP_SERVER_PORT}/api/chat/{NOME_DA_INSTANCIA}/contacts \
-H "X-API-Key: {SUA_API_KEY}"8. Listar Grupos
curl http://localhost:{MCP_SERVER_PORT}/api/groups/{NOME_DA_INSTANCIA} \
-H "X-API-Key: {SUA_API_KEY}"9. Listar Chats
curl http://localhost:{MCP_SERVER_PORT}/api/chat/{NOME_DA_INSTANCIA}/chats \
-H "X-API-Key: {SUA_API_KEY}"Solução de Problemas
A mensagem não chega ao WhatsApp
Verificar que a instância está conectada:
A instância deve ter estado "open" ou "connected"
Se não estiver conectada, você precisa escanear o QR code novamente
Formato do número:
Brasil: 55 + código de área + número (exemplo: 554198908495)
Sem espaços, traços ou símbolos
Sem o símbolo + no início
Verificar se o número tem WhatsApp:
Use o endpoint
/api/chat/check-numberspara verificar
Erro "Access denied"
Verifique que você está enviando o cabeçalho
X-API-Keycom o valor correto
Erro de conexão
Verifique que o Evolution API está funcionando:
curl {SUA_URL_EVOLUTION_API}/instance/fetchInstances \ -H "apikey: {SUA_API_KEY}"Se o Evolution API não responder, o problema está no Easypanel/Coolify
Scripts de Teste
Há dois scripts de teste disponíveis:
test-mcp.sh - Testa o servidor MCP
test-evolution-direct.sh - Testa diretamente o Evolution API
Para executá-los no Windows, use Git Bash:
bash test-mcp.sh
bash test-evolution-direct.shDeploy com Docker
Você pode fazer deploy usando o Dockerfile incluído:
docker build -t evolution-api-mcp .
docker run -p 3000:3000 --env-file .env evolution-api-mcpOu usando Docker Compose:
docker-compose up -dAtualização do Código
Quando fizer alterações no código:
Commit e push para GitHub:
git add . git commit -m "Descrição da alteração" git push origin masterRailway detectará automaticamente as alterações e redeployará
Verifique o status do deploy no Railway:
Acesse https://railway.app
Entre no projeto "MCP Servers"
Revise o status do deploy
Estrutura do Projeto
evolution-api-mcp-server/
├── src/
│ ├── index.ts # Arquivo principal
│ ├── routes/ # Rotas organizadas por categoria
│ │ ├── api.ts # Roteador principal
│ │ ├── instance/ # Instâncias
│ │ ├── message/ # Mensagens
│ │ ├── chat/ # Chat
│ │ ├── group/ # Grupos
│ │ ├── business/ # Business
│ │ ├── settings/ # Configurações
│ │ ├── label/ # Etiquetas
│ │ ├── call/ # Chamadas
│ │ └── template/ # Templates
│ ├── services/
│ │ ├── evolution-api.ts # Cliente de Evolution API
│ │ ├── instance-manager.ts # Gerenciador de instâncias
│ │ └── template-service.ts # Serviço de templates
│ ├── utils/
│ │ └── logger.ts # Logger
│ └── types/
│ └── evolution.ts # Tipos TypeScript
├── package.json
├── tsconfig.json
├── Dockerfile
└── .env # Variáveis de ambiente (local)Variáveis de Ambiente
As seguintes variáveis precisam ser configuradas no seu .env ou na plataforma de deploy:
EVOLUTION_API_URL: URL base do Evolution APIEVOLUTION_API_KEY: Chave da Evolution APIMCP_SERVER_PORT: Porta do servidor MCP (padrão: 3000)NODE_ENV: Ambiente (production ou development)
Notas Importantes
Segurança: Nunca exponha a API Key em código público
Limites de taxa: Evolution API pode ter limites de taxa
Sessão do WhatsApp: A sessão pode expirar e exigir novo escaneamento de QR
Números bloqueados: WhatsApp pode bloquear números que enviam muitos mensagens
Contato e Suporte
Para problemas com:
Evolution API: Revise a documentação em https://docs.evolutionfoundation.com.br/evolution-api/
Railway: https://railway.app/support
Coolify/Easypanel: Painel de controle da sua instância
Última atualização: 29 de Junho de 2026
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables WhatsApp Business messaging through Evolution API with support for creating instances, sending messages using dynamic templates, and managing contacts and groups. Includes 10+ predefined message templates for common business scenarios like order confirmations, appointment reminders, and promotional messages.Last updated25
- Alicense-qualityCmaintenanceEnables WhatsApp integration through Evolution API, allowing users to send messages, manage media, track conversations, and control presence status directly from Claude.Last updatedMIT
- AlicenseBqualityBmaintenanceEnables sending messages, images, documents and more on WhatsApp directly from any MCP-compatible AI, with tools for chat management, groups, and webhooks.Last updated371MIT
- AlicenseBqualityCmaintenanceExposes the Evolution API v2 (WhatsApp) as 121 tools for MCP clients, enabling management of instances, messages, chats, groups, profiles, labels, webhooks, and integrations.Last updated6434MIT
Related MCP Connectors
Send and read WhatsApp messages on your Leporis account from AI coding agents, via your own API key.
Drive your real WhatsApp inbox from Claude — send, reply, label, assign, and triage via TimelinesAI.
Send notifications, manage templates, and configure integrations with Courier.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Floryvibla/mcp-evolution-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server