Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-evolution-whatsapp-api

MCP.Pizza Chef: aiteks-ltda

The mcp-evolution-whatsapp-api is an MCP server that connects Claude with the Evolution API, enabling automated WhatsApp interactions. It supports managing WhatsApp instances, sending messages, handling contacts and groups, and configuring webhooks and settings. This server facilitates seamless WhatsApp automation workflows within the MCP ecosystem.

Use This MCP server To

Automate sending and receiving WhatsApp messages via Evolution API Manage WhatsApp contacts and groups programmatically Configure and handle WhatsApp webhooks for real-time events Control multiple WhatsApp instances through a unified MCP interface Integrate WhatsApp messaging into AI workflows with Claude

README

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
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

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.

mcp-evolution-whatsapp-api FAQ

How do I deploy the mcp-evolution-whatsapp-api server?
You can deploy it using the provided Dockerfile and docker-compose.yml for easy containerized setup.
Can this server handle multiple WhatsApp instances simultaneously?
Yes, it supports managing multiple WhatsApp instances through the Evolution API integration.
What types of WhatsApp messages can be sent using this server?
It supports sending text, media, and other message types supported by the Evolution API.
How does the server integrate with Claude?
The server exposes Evolution API functionality as MCP tools, allowing Claude to interact with WhatsApp seamlessly.
Is webhook configuration supported?
Yes, you can configure and manage WhatsApp webhooks to receive real-time event notifications.
What programming languages and frameworks are used?
The server is implemented in TypeScript and uses Node.js, with configuration files for linting and building.
Can I extend the server with custom tools?
Yes, the modular structure allows adding new MCP tools for additional Evolution API features.
Does this server support secure communication?
Security depends on your deployment environment; the server supports standard HTTPS and webhook security best practices.