A Model Context Protocol (MCP) server for Claude that integrates with
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
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
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
Environment | Steps | Command |
---|---|---|
Local Development | 1. Clone and install 2. Run in dev mode |
git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install bun run dev |
Local Production | 1. Clone and install 2. Build and run |
git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install 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 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 |
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"
}
}
}
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