MM

mumunha/mcp-evolution-whatsapp-api

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

44 stars 20 forks 质量 63 趋势 12MIT

mumunha/mcp-evolution-whatsapp-API 是从 https://github.com/mumunha/mcp-evolution-whatsapp-api. 导入的 MCP 服务器候选。

概览

mumunha/mcp-evolution-whatsapp-API 是从 https://github.com/mumunha/mcp-evolution-whatsapp-api. 导入的 MCP 服务器候选。

概述(AI 翻译)

一个面向 Claude 的模型上下文协议(MCP)服务器,集成于 Evolution API 用于 WhatsApp 自动化。

概述

该 MCP 服务器允许 Claude 通过 Evolution API 与 WhatsApp 交互,实现以下功能:

  • 管理WhatsApp实例
  • 发送各种类型的消息
  • 与联系人和团体合作
  • 配置 webhook 和设置

📂 项目结构

🚀 快速布置

环境设置

创建一个包含 Evolution API 凭证的 .env 文件:

📋 部署选项

环境 步骤 指挥
本地开发 1. 克隆并安装 2.在开发模式下运行 git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api && bun install``bun run dev
本地生产 1. 克隆并安装 2.构建并运行 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 使用 Docker Compose 运行 git clone https://github.com/aiteks-ltda/mcp-evo-api.git && cd mcp-evo-api``docker-compose up -d

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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

📂 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://your-evolution-api-server.com
EVOLUTION_API_KEY=your-api-key-here

📋 Deployment Options

Environment Steps Command
Local Development 1. Clone and install2. 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 install2. 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
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "evo-api": { "command": "node", "args": [ "/path/to/your/mcp-evo-api/dist/main.js" ] } } }