Evolution API

Messaging and emailFinance and commerce

MCP server for Evolution API, WhatsApp messaging, instances, contacts.

Your AI app calls the Evolution API MCP server, which does the messaging and email and finance and commerce work and sends the result back to the chat.

About Evolution API

Evolution API is a community MCP server from codespar, filed in our directory under messaging and email and finance and commerce. MCP server for Evolution API, WhatsApp messaging, instances, contacts.

Evolution API runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-evolution-api@0.2.2 and talks to it over standard input and output. It needs EVOLUTION_API_KEY set before Evolution API starts.

Evolution API is listed in the official MCP registry as io.github.codespar/mcp-evolution-api, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-evolution-api
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-evolution-api

How to set up Evolution API

  1. Install Node.js on the machine that runs your AI app, because Evolution API starts with npx and downloads its package on first run.
  2. Create EVOLUTION_API_KEY for Evolution API in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Evolution API to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Evolution API tools to confirm the connection.
  5. Run one read-only task with Evolution API first, and keep your app asking before each tool call until the results look right.

Evolution API compared with similar servers

  • Sendgrid by codespar has fewer GitHub stars than Evolution API (278 against 278); both are community servers, and both run locally.
  • Claude Code Teams by cs50victor has more GitHub stars than Evolution API (284 against 278); both are community servers, and both run locally.
  • Twilio by codespar has fewer GitHub stars than Evolution API (278 against 278); both are community servers, and both run locally.

Before you connect Evolution API

  • Give Evolution API its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Evolution API tool call until you trust what it does with them.
  • Treat text that Evolution API fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Evolution API on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Evolution API

How marketing and sales teams put Evolution API to work, by company size. Pick the size closest to yours and start Evolution API on one use case.

Small business

  • A small team can have Evolution API summarize the inbox or channel each morning, so nothing from a customer waits until the afternoon.
  • Owners can draft replies and follow-ups with Evolution API and send them only after a read, keeping the personal tone customers expect.
  • A small business can ask Evolution API which products and customers drive margin, then plan promotions around them.
  • Evolution API runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can use Evolution API to turn long launch threads into decisions, owners and dates that land in the project tracker.
  • Sales and success teams can connect Evolution API so an agent drafts follow-ups after every customer call, ready to edit and send.
  • Ecommerce teams can connect Evolution API to tie campaigns to orders and revenue, not just clicks.
  • Start Evolution API on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can deploy Evolution API with retention and data loss rules intact, so agents summarize conversations without moving data outside policy.
  • Internal comms teams can use Evolution API to find what employees ask most across channels and answer it once, in the right place.
  • Enterprises should keep Evolution API read-only for agents, with any money movement handled by people and existing approvals.
  • Evolution API is a community server, so have security review the code and pin a version before Evolution API touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Evolution API README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-evolution-api

MCP server for Evolution API, self-hosted WhatsApp messaging API

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "evolution-api": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-evolution-api"],
      "env": {
        "EVOLUTION_API_URL": "https://your-instance.example.com",
        "EVOLUTION_API_KEY": "your-key"
      }
    }
  }
}
Claude Code
claude mcp add evolution-api -- npx @codespar/mcp-evolution-api
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "evolution-api": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-evolution-api"],
      "env": {
        "EVOLUTION_API_URL": "https://your-instance.example.com",
        "EVOLUTION_API_KEY": "your-key"
      }
    }
  }
}

Tools (25)

Tool Purpose
send_text Send a text message via WhatsApp
send_image Send an image message via WhatsApp
send_document Send a document via WhatsApp
get_instances List all WhatsApp instances
create_instance Create a new WhatsApp instance
get_qrcode Get QR code for instance pairing
get_contacts Get contacts from an instance
send_poll Send a poll message via WhatsApp
get_messages Get messages from a chat
check_number Check if a phone number is registered on WhatsApp
create_group Create a WhatsApp group
get_group_info Get group metadata, participants, and settings
update_profile Update instance profile (name, status text, or picture)
set_presence Set online/offline presence for an instance
get_chat_history Get full chat history with pagination support
logout_instance Logout an instance (disconnects the WhatsApp session without deleting the instance)
restart_instance Restart an instance
delete_instance Delete an instance permanently
connection_state Get the connection state of an instance (open, connecting, close)
leave_group Leave a WhatsApp group
update_group_participants Add, remove, promote, or demote participants in a WhatsApp group
fetch_group_invite_code Fetch the invite code/link for a WhatsApp group
mark_message_as_read Mark one or more messages in a chat as read
archive_chat Archive or unarchive a chat
delete_message Delete a message for me or for everyone in a chat

Authentication

Evolution API uses an API key passed via the apikey header.

Sandbox / Testing

Evolution API is self-hosted. Deploy your own instance using Docker for testing.

Get your credentials
  1. Go to Evolution API Documentation
  2. Deploy your own instance (Docker recommended)
  3. Get the API key from your instance configuration
  4. Set the environment variables

Environment Variables

Variable Required Description
EVOLUTION_API_URL Yes Base URL of your Evolution API instance
EVOLUTION_API_KEY Yes API key for authentication

Roadmap

v0.2 (planned)
  • create_group, Create a WhatsApp group
  • get_group_info, Get group details and participants
  • update_profile, Update instance profile (name, photo, status)
  • set_presence, Set online/offline presence status
  • get_chat_history, Get full chat history with a contact
v0.3 (planned)
  • bulk_send, Send messages to multiple contacts
  • template_messages, Send WhatsApp Business template messages
  • label_management, Create, update, and assign labels to chats

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Evolution API

What is the Evolution API MCP server?

MCP server for Evolution API, WhatsApp messaging, instances, contacts. Evolution API is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Evolution API MCP server?

Add Evolution API to your AI app's MCP config with the command npx -y @codespar/mcp-evolution-api@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-evolution-api -- npx -y @codespar/mcp-evolution-api@0.2.2. To run Evolution API this way you need Node.js installed.

Does Evolution API need an API key?

Yes. Evolution API expects EVOLUTION_API_KEY to be set. Create the key for Evolution API in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Evolution API an official MCP server?

No. Evolution API is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Evolution API access to company data.

What license is Evolution API under?

Evolution API is released under the MIT license, according to its GitHub repository. The license covers the code of Evolution API; the service it connects to has its own terms.