MCP Evolution API
An MCP server for Claude that integrates with the Evolution API for WhatsApp automation.
MCP Evolution API
A Model Context Protocol (MCP) server for Claude that integrates with Evolution API for WhatsApp automation.
Overview
This MCP server allows Claude to interact with WhatsApp through the Evolution API, enabling capabilities like:
- Managing WhatsApp instances
- Sending various types of messages
- Working with contacts and groups
- Configuring webhooks and settings
π Project Structure
mcp-evo-api/
βββ src/
β βββ tools/ # MCP tools implementation for Evolution API
β βββ utils/ # Shared utilities, including Evolution API client
β βββ main.ts # Server entry point
β βββ types.ts # Shared type definitions
βββ scripts/ # Helper scripts
βββ biome.json # Linting configuration
βββ tsconfig.json # TypeScript configuration
βββ docker-compose.yml # Docker Compose configuration
βββ Dockerfile # Docker build configuration
βββ package.json # Project dependencies
π Quick Setup
Environment Setup
Create a .env file with your Evolution API credentials:
EVOLUTION_API_URL=https://evo-api.decisao.ai/
EVOLUTION_API_KEY=REPLACE_WITH_YOUR_REAL_KEY
Note: you provided the API URL and a key. For security, never commit real API keys to the repository or share them publicly. Use a local .env file or a secrets manager in production.
π Deployment Options
| Environment | Steps | Command |
|---|---|---|
| Local Development | 1. Clone and install2. Run in dev mode | git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun installbun run dev |
| Local Production | 1. Clone and install2. Build and run | git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun installbun run build && bun run dist/main.js |
| Docker Compose | Run with Docker Compose | git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-apidocker-compose up -d |
| Docker | Build and run container | docker run -d -p 3000:3000 -e EVOLUTION_API_URL=yoururl -e EVOLUTION_API_KEY=yourkey --name mcp-evo-api ghcr.io/aiteks-ltda/mcp-evo-api:latest |
Claude Desktop Configuration
Add this to your Claude Desktop config file (typically located at ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"evo-api": {
"command": "node",
"args": [
"/path/to/your/mcp-evo-api/dist/main.js"
]
}
}
}
If using the Docker deployment:
{
"mcpServers": {
"evo-api": {
"url": "http://localhost:3000"
}
}
}
π Implementation Status
| Category | Implemented | Pending Implementation |
|---|---|---|
| Core API | β Get Informationβ Create Instanceβ Fetch Instancesβ Instance Connectβ Restart Instanceβ Connection Stateβ Logout Instanceβ Delete Instanceβ Set Presence | β Check is WhatsApp |
| Webhook & Settings | β Set Webhookβ Find Webhookβ Set Settingsβ Find Settings | |
| Messaging | β Send Plain Textβ Send Statusβ Send Mediaβ Send WhatsApp Audioβ Send Stickerβ Send Locationβ Send Contactβ Send Reactionβ Send Pollβ Send Listβ Send Buttons | β Mark Message As Readβ Mark Message As Unreadβ Archive Chatβ Delete Message for Everyoneβ Update Messageβ Send Presence (Chat Ctrl) |
| Chat & Contacts | β Find Contactsβ Find Chats | β Update Block Statusβ Fetch Profile Picture URLβ Get Base64β Find Messagesβ Find Status Message |
| Groups | β Find Group by JIDβ Fetch All Groupsβ Find Group Members | β Create Groupβ Update Group Pictureβ Update Group Subjectβ Update Group Descriptionβ Fetch Invite Codeβ Revoke Invite Codeβ Send Group Inviteβ Find Group by Invite Codeβ Update Group Membersβ Update Group Settingβ Toggle Ephemeralβ Leave Group |
| Profile Settings | β Fetch Business Profileβ Fetch Profileβ Update Profile Nameβ Update Profile Statusβ Update Profile Pictureβ Remove Profile Pictureβ Fetch Privacy Settingsβ Update Privacy Settings | |
| Bot Integrations | β Typebot Integrationsβ OpenAI Integrationsβ Evolution Botβ Dify Botβ Flowise Bot | |
| Other Integrations | β Chatwootβ Websocketβ SQSβ RabbitMQ |
For more information, refer to the Evolution API Documentation.
Examples
examples/hono-bun/- pequeno servidor Hono para Bun (exemplo salvo). Vejaexamples/hono-bun/README.mdpara instruΓ§Γ΅es de execuΓ§Γ£o.
Related Servers
LINE Bot MCP Server
Connects an AI agent to a LINE Official Account using the LINE Messaging API.
Slack MCP Client in Go
A Slack bot client that bridges Slack and Model Context Protocol (MCP) servers, enabling LLMs to use MCP tools.
Gmail MCP
A standardized interface for managing, sending, and retrieving emails through the Gmail API.
Microsoft Teams MCP
Interact with Microsoft Teams to read, create, and reply to messages, and mention members.
CData Google Contacts
A read-only MCP server for Google Contacts, powered by the CData JDBC Driver.
Didlogic MCP Server
Interact with the Didlogic API for telecommunication services, including virtual phone numbers and SMS.
Voice MCP
Enables voice interactions with Claude and other LLMs using an OpenAI API key for STT/TTS services.
Tldv
Connect your AI agents to Google-Meet, Zoom & Microsoft Teams through tl;dv
Notifications
Send native macOS notifications with full Notification Center integration and interactive features.
Human-In-the-Loop MCP Server
Enables AI assistants to interact with humans through GUI dialogs for input, choices, and confirmations.