WhatsApp multi-device with QR code pairing. Messaging, groups, status updates, and contacts -- self-hosted friendly.
Evolution API gives your agent 25 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
send_text β Send a text message via WhatsAppsend_image β Send an image message via WhatsAppsend_document β Send a document via WhatsApp// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("send_text", { /* ... */ });$ npm install @codespar/mcp-evolution-apiAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"evolution-api": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-evolution-api"
],
"env": {
"EVOLUTION_API_KEY": "<your_evolution_api_key>"
}
}
}
}After restart, your agent can call any of the 25 tools below β try send_text first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
EVOLUTION_API_KEYAPI key for evolution-api
Each tool is independent β your agent loads only what it needs to reduce context and response time.
send_textsend_imagesend_documentget_instancescreate_instanceget_qrcodeget_contactssend_pollMCP is a protocol β any framework that speaks it can mount this server.