Skip to main content
Glama
README.mdβ€’4.99 kB
# MCP Evolution API A Model Context Protocol (MCP) server for Claude that integrates with [Evolution API](https://doc.evolution-api.com/) 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://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<br>2. Run in dev mode | `git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install`<br>`bun run dev` | | **Local Production** | 1. Clone and install<br>2. Build and run | `git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install`<br>`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`<br>`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`): ```json { "mcpServers": { "evo-api": { "command": "node", "args": [ "/path/to/your/mcp-evo-api/dist/main.js" ] } } } ``` If using the Docker deployment: ```json { "mcpServers": { "evo-api": { "url": "http://localhost:3000" } } } ``` ## πŸ“Š Implementation Status | Category | Implemented | Pending Implementation | |----------|-------------|------------------------| | **Core API** | βœ… Get Information<br>βœ… Create Instance<br>βœ… Fetch Instances<br>βœ… Instance Connect<br>βœ… Restart Instance<br>βœ… Connection State<br>βœ… Logout Instance<br>βœ… Delete Instance<br>βœ… Set Presence | ❌ Check is WhatsApp | | **Webhook & Settings** | βœ… Set Webhook<br>βœ… Find Webhook<br>βœ… Set Settings<br>βœ… Find Settings | | | **Messaging** | βœ… Send Plain Text<br>βœ… Send Status<br>βœ… Send Media<br>βœ… Send WhatsApp Audio<br>βœ… Send Sticker<br>βœ… Send Location<br>βœ… Send Contact<br>βœ… Send Reaction<br>βœ… Send Poll<br>βœ… Send List<br>βœ… Send Buttons | ❌ Mark Message As Read<br>❌ Mark Message As Unread<br>❌ Archive Chat<br>❌ Delete Message for Everyone<br>❌ Update Message<br>❌ Send Presence (Chat Ctrl) | | **Chat & Contacts** | βœ… Find Contacts<br>βœ… Find Chats | ❌ Update Block Status<br>❌ Fetch Profile Picture URL<br>❌ Get Base64<br>❌ Find Messages<br>❌ Find Status Message | | **Groups** | βœ… Find Group by JID<br>βœ… Fetch All Groups<br>βœ… Find Group Members | ❌ Create Group<br>❌ Update Group Picture<br>❌ Update Group Subject<br>❌ Update Group Description<br>❌ Fetch Invite Code<br>❌ Revoke Invite Code<br>❌ Send Group Invite<br>❌ Find Group by Invite Code<br>❌ Update Group Members<br>❌ Update Group Setting<br>❌ Toggle Ephemeral<br>❌ Leave Group | | **Profile Settings** | | ❌ Fetch Business Profile<br>❌ Fetch Profile<br>❌ Update Profile Name<br>❌ Update Profile Status<br>❌ Update Profile Picture<br>❌ Remove Profile Picture<br>❌ Fetch Privacy Settings<br>❌ Update Privacy Settings | | **Bot Integrations** | | ❌ Typebot Integrations<br>❌ OpenAI Integrations<br>❌ Evolution Bot<br>❌ Dify Bot<br>❌ Flowise Bot | | **Other Integrations** | | ❌ Chatwoot<br>❌ Websocket<br>❌ SQS<br>❌ RabbitMQ | For more information, refer to the [Evolution API Documentation](https://doc.evolution-api.com/). ## Examples - `examples/hono-bun/` - pequeno servidor Hono para Bun (exemplo salvo). Veja `examples/hono-bun/README.md` para instruΓ§Γ΅es de execuΓ§Γ£o.

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