Skip to main content
Glama

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

Related MCP server: API Tester MCP Server

πŸ“‚ 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://evo-api.decisao.ai/ EVOLUTION_API_KEY=REPLACE_WITH_YOUR_REAL_KEY

Note: you provided the API URL and a key. For security, never commit real API keys to the repository or share them publicly. Use a local .env file or a secrets manager in production.

πŸ“‹ 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.

Examples

  • examples/hono-bun/ - pequeno servidor Hono para Bun (exemplo salvo). Veja examples/hono-bun/README.md para instruΓ§Γ΅es de execuΓ§Γ£o.

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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/aiteks-ltda/mcp-evolution-whatsapp-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server