MCP Evolution API
by aiteks-ltda
The MCP Evolution API is a Model Context Protocol (MCP) server for Claude that integrates with the Evolution API for WhatsApp automation. It enables Claude to interact with WhatsApp through the Evolution API, allowing for managing instances, sending messages, and working with contacts and groups.
Last updated: N/A
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://your-evolution-api-server.com
EVOLUTION_API_KEY=your-api-key-here
š Deployment Options
| Environment | Steps | Command |
|-------------|-------|---------|
| Local Development | 1. Clone and install<br>2. Run in dev mode | git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install
<br>bun run dev
|
| Local Production | 1. Clone and install<br>2. Build and run | git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install
<br>bun 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-api
<br>docker-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<br>ā Create Instance<br>ā Fetch Instances<br>ā Instance Connect<br>ā Restart Instance<br>ā Connection State<br>ā Logout Instance<br>ā Delete Instance<br>ā Set Presence | ā Check is WhatsApp | | Webhook & Settings | ā Set Webhook<br>ā Find Webhook<br>ā Set Settings<br>ā Find Settings | | | Messaging | ā Send Plain Text<br>ā Send Status<br>ā Send Media<br>ā Send WhatsApp Audio<br>ā Send Sticker<br>ā Send Location<br>ā Send Contact<br>ā Send Reaction<br>ā Send Poll<br>ā Send List<br>ā Send Buttons | ā Mark Message As Read<br>ā Mark Message As Unread<br>ā Archive Chat<br>ā Delete Message for Everyone<br>ā Update Message<br>ā Send Presence (Chat Ctrl) | | Chat & Contacts | ā Find Contacts<br>ā Find Chats | ā Update Block Status<br>ā Fetch Profile Picture URL<br>ā Get Base64<br>ā Find Messages<br>ā Find Status Message | | Groups | ā Find Group by JID<br>ā Fetch All Groups<br>ā Find Group Members | ā Create Group<br>ā Update Group Picture<br>ā Update Group Subject<br>ā Update Group Description<br>ā Fetch Invite Code<br>ā Revoke Invite Code<br>ā Send Group Invite<br>ā Find Group by Invite Code<br>ā Update Group Members<br>ā Update Group Setting<br>ā Toggle Ephemeral<br>ā Leave Group | | Profile Settings | | ā Fetch Business Profile<br>ā Fetch Profile<br>ā Update Profile Name<br>ā Update Profile Status<br>ā Update Profile Picture<br>ā Remove Profile Picture<br>ā Fetch Privacy Settings<br>ā Update Privacy Settings | | Bot Integrations | | ā Typebot Integrations<br>ā OpenAI Integrations<br>ā Evolution Bot<br>ā Dify Bot<br>ā Flowise Bot | | Other Integrations | | ā Chatwoot<br>ā Websocket<br>ā SQS<br>ā RabbitMQ |
For more information, refer to the Evolution API Documentation.