# mcp-evolution-api

Gives your agent 25 WhatsApp tools backed by your own Evolution API instance: messages, groups, contacts, connection state.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/communication/evolution-api
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-evolution-api

## What it does

This is a bridge to Evolution API, the self-hosted WhatsApp gateway. Tool calls like `send_text`, `get_contacts` or `create_group` become requests against the instance you run. There is no hosted endpoint to point at, so bringing up Evolution API yourself — Docker is the shortest route — comes first.

Set `EVOLUTION_API_URL` and `EVOLUTION_API_KEY`. The key travels in the `apikey` header; without a working key every call fails auth. Wire the server into your MCP client through `npx`, or use the dedicated commands for Claude and Codex.

Beyond messaging, the toolset handles instance admin: list, restart, log out, delete, plus chat archiving, read receipts and group participant changes. Bulk sending and WhatsApp Business templates are not in this release — the author lists them for v0.3.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `EVOLUTION_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-evolution-api -e EVOLUTION_API_KEY=<EVOLUTION_API_KEY> -- npx -y @codespar/mcp-evolution-api
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add evolution-api --env EVOLUTION_API_KEY=<EVOLUTION_API_KEY> -- npx -y @codespar/mcp-evolution-api
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "evolution-api": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-evolution-api"
            ],
            "env": {
                "EVOLUTION_API_KEY": "<EVOLUTION_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "evolution-api": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-evolution-api"
            ],
            "env": {
                "EVOLUTION_API_KEY": "<EVOLUTION_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e EVOLUTION_API_KEY=<EVOLUTION_API_KEY> evolution-api npx -y @codespar/mcp-evolution-api
```
Replace <…> with your own values

## When to use it
- send a text or image to a WhatsApp chat from the agent
- pull a pairing QR code for a new instance
- verify whether a phone number is on WhatsApp
- add or remove members in a group
- read a chat history page by page

## Example prompts
- Use `check_number` and tell me whether this phone has WhatsApp
- Send that text with `send_text` and report the delivery status
- Get `get_qrcode` for the instance so I can scan it

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32221
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13169
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12791

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 40 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
