mcp-evolution
Provides tools for interacting with WhatsApp through the Evolution API, enabling sending and receiving messages, managing chats, groups, contacts, profile, and webhooks.
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., "@mcp-evolutionSend a WhatsApp text to John saying Hello!"
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.
mcp-evolution
TypeScript MCP server for Evolution API (WhatsApp) with instance pinning.
Architecture
This server implements the Model Context Protocol:
Transport: stdio — the MCP host (Claude Desktop, Claude Code, etc.) spawns this process and speaks JSON-RPC over stdin/stdout.
Server: uses the high-level
McpServerclass from the official TypeScript SDK, which handles capability negotiation and session lifecycle automatically.Tools: 50 tools registered via
registerTool()with Zod-validated input schemas — the SDK enforces types before the handler runs.
All three connection parameters (API URL, API key, instance name) are pinned at startup via environment variables. The AI caller cannot switch instances mid-conversation.
Tools
Message
Tool | Description |
| Send a plain text message |
| Send an image, video, audio, or document |
| Send a WhatsApp audio (PTT voice note) |
| Send a sticker (webp) |
| Send a location pin |
| Share one or more contacts (vCards) |
| React to a message with an emoji |
| Send a poll message |
| Send an interactive list/menu message |
| Send an interactive button message |
| Post a WhatsApp Status (story) update |
Chat
Tool | Description |
| Find chats, optionally filtered with a Prisma-style |
| Find contacts, optionally filtered |
| Find messages by remoteJid with optional limit |
| Get message history for a contact or group JID |
| Mark one or more messages as read |
| Archive or unarchive a chat |
| Delete a message for everyone |
| Fetch a contact's profile picture URL |
| Download media from a message as base64 |
| Send a presence update (typing, recording, etc.) |
| Check whether phone numbers have WhatsApp accounts |
Profile
Tool | Description |
| Fetch a contact's WhatsApp Business profile |
| Update the instance's display name |
| Update the instance's about/status text |
| Update the instance's profile picture |
| Remove the instance's profile picture |
| Fetch current privacy settings |
| Update privacy settings |
| Block or unblock a contact |
Group
Tool | Description |
| List all WhatsApp groups for the pinned instance |
| Get detailed info for a specific group by JID |
| Create a new WhatsApp group |
| Update a group's name |
| Update a group's description |
| Update a group's profile picture |
| Fetch the invite code/link for a group |
| Revoke and regenerate a group's invite code |
| Accept a group invite by code |
| Send a group invite link to specific contacts |
| Add, remove, promote, or demote group participants |
| Update group settings (announcement mode, locked) |
| Leave a group |
| Get group info from an invite code without joining |
Instance
Tool | Description |
| Get the current connection state of the instance |
| Restart the instance (reconnects without logging out) |
| Logout the instance (clears session) |
| Get current instance settings |
| Update instance settings |
Webhook
Tool | Description |
| Get the current webhook configuration |
| Configure the webhook |
Label
Tool | Description |
| List all labels (requires WhatsApp Business) |
| Add or remove a label from a chat |
Install & run via npx
EVOLUTION_API_URL=http://localhost:8080 \
EVOLUTION_API_KEY=your-key \
EVOLUTION_INSTANCE=your-instance \
npx mcp-evolutionConfiguration
Variable | Required | Description |
| Yes | Base URL of your Evolution API (e.g. |
| Yes | Global API key from Evolution API config |
| Yes | Instance name created in Evolution API |
Copy .env.example to .env for local development.
Use with Claude Desktop / Claude Code
Add to ~/.claude/claude_desktop_config.json or project .mcp.json:
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["mcp-evolution"],
"env": {
"EVOLUTION_API_URL": "http://localhost:8080",
"EVOLUTION_API_KEY": "your-evolution-api-key",
"EVOLUTION_INSTANCE": "your-instance-name"
}
}
}
}Or point directly at the built binary if running from a local checkout:
{
"mcpServers": {
"whatsapp": {
"command": "node",
"args": ["/absolute/path/to/mcp-evolution/dist/index.js"],
"env": {
"EVOLUTION_API_URL": "http://localhost:8080",
"EVOLUTION_API_KEY": "your-evolution-api-key",
"EVOLUTION_INSTANCE": "your-instance-name"
}
}
}
}Development
# Install dependencies
npm install
# Run in dev mode (no build step)
npm run dev
# Build TypeScript → dist/
npm run build
# Run tests
npm test
# Start from built output
npm startEvolution API endpoints wrapped
Tool | Method | Path |
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| DELETE |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| DELETE |
|
| GET |
|
| POST |
|
| POST |
|
| GET |
|
| GET |
|
| POST |
|
| POST |
|
| POST |
|
| POST |
|
| GET |
|
| POST |
|
| GET |
|
| POST |
|
| POST |
|
| POST |
|
| DELETE |
|
| GET |
|
| GET |
|
| POST |
|
| DELETE |
|
| GET |
|
| POST |
|
| GET |
|
| POST |
|
| GET |
|
| POST |
|
Requires Evolution API v2.
License
MIT — see LICENSE.
Disclaimer
Community software, not affiliated with Evolution API or any WhatsApp entity.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/billyfranklim1/mcp-evolution'
If you have feedback or need assistance with the MCP directory API, please join our Discord server