Waha MCP
The WAHA MCP Server is a tool that connects the WhatsApp HTTP API with AI assistants such as Claude Desktop. It enables automated control of WhatsApp through the MCP protocol and provides 63 tools covering functions such as session management, message sending and receiving, and group operations.
2.5 points
4.6K

What is the WAHA MCP Server?

The WAHA MCP Server is a bridge that connects the WhatsApp HTTP API with AI assistants (such as Claude Desktop). Through the Model Context Protocol (MCP), it enables AI to seamlessly control WhatsApp, achieving automated functions such as message sending, group management, and contact operations.

How to use the WAHA MCP Server?

Using the WAHA MCP Server requires three steps: 1) Install Node.js and run a WAHA instance; 2) Configure environment variables and API keys; 3) Add server configuration in Claude Desktop or other MCP clients. After configuration, the AI assistant can control WhatsApp through 63 tools.

Applicable scenarios

The WAHA MCP Server is particularly suitable for the following scenarios: AI assistants need to communicate with users via WhatsApp, automated customer service, group management, message broadcasting, and AI workflows that need to obtain information from WhatsApp. For Claude Code users, it can also achieve true autonomous development, where AI can ask questions via WhatsApp when user input is required and continue working.

Main Features

Full WhatsApp Control
Provides 63 tools covering all WhatsApp functions such as session management, message sending, chat management, contacts, groups, and status settings.
Intelligent Media Processing
Automatically converts voice/video formats, supports local files and URLs, automatically detects MIME types, and processes over 50 file formats.
AI Native Design
Specifically designed for LLM integration, it seamlessly collaborates with AI assistants such as Claude through the MCP protocol.
Interactive Workflow
The new ask_user_via_whatsapp tool allows AI to ask questions via WhatsApp and wait for a response when user input is required, achieving a truly autonomous workflow.
Safe and Reliable
Manages API keys based on environment variables, is developed in TypeScript, and provides robust error handling.
Advantages
๐Ÿค– AI Automation: Allows AI assistants to directly control WhatsApp without manual intervention.
โšก Efficient Workflow: 63 tools cover all common functions, resulting in high development efficiency.
๐Ÿ“ฑ Multi-client Support: Compatible with MCP clients such as Claude Desktop, Cline, and VS Code.
๐Ÿ”ง Easy Integration: Simple configuration steps and clear documentation.
๐Ÿ”„ Continuous Work: Particularly suitable for Claude Code, where AI can ask questions via WhatsApp when input is required and continue working.
Limitations
๐Ÿ”ง Requires Technical Setup: Requires installing Node.js and configuring a WAHA instance, which may be a barrier for non-technical users.
๐Ÿ“ฑ Depends on Third-party: Requires running the WAHA (WhatsApp HTTP API) service.
๐Ÿ”‘ Requires API Key: Requires obtaining and managing API keys from the WAHA dashboard.
๐Ÿ’พ Resource Consumption: Running a WAHA instance requires a certain amount of server resources.

How to Use

Installation Prerequisites
Ensure that Node.js 18+ is installed and the WAHA instance is set up. Obtain the API key from the WAHA dashboard.
Clone and Install the Project
Clone the project from GitHub, install the dependencies, and then build the project.
Configure Environment Variables
Set the necessary environment variables, including the WAHA API key and URL.
Configure Claude Desktop
Add the WAHA MCP server configuration to the Claude Desktop configuration file.
Restart and Test
Restart Claude Desktop and test whether the WAHA MCP function works properly.

Usage Examples

AI Customer Service Assistant
Use an AI assistant to automatically reply to WhatsApp customer inquiries and provide 24/7 customer support.
Group Management Automation
AI automatically manages WhatsApp groups, including adding members, setting rules, and sending announcements.
Claude Code Autonomous Development
When Claude Code encounters a need for user decision during development, it asks questions via WhatsApp and continues working.
Message Broadcasting System
The AI assistant sends the same message to multiple contacts or groups, such as event notifications and product updates.

Frequently Asked Questions

Is the WAHA MCP Server free?
Which MCP clients are supported?
How to obtain a WhatsApp chat ID?
How does the ask_user_via_whatsapp tool work?
Is programming knowledge required to use it?
Which types of media files are supported for sending?

Related Resources

WAHA Official Documentation
Official documentation and installation guide for the WhatsApp HTTP API
GitHub Repository
Source code and issue tracking for the WAHA MCP Server
Model Context Protocol
Official documentation and specifications for the MCP protocol
Claude Code Setup Guide
How to configure the WAHA MCP Server for Claude Code autonomous development
Detailed Documentation
Detailed usage documentation for the WAHA MCP Server, including session management, message sending, group management, etc.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "waha": {
      "command": "node",
      "args": ["/absolute/path/to/waha-mcp/dist/index.js"],
      "env": {
        "WAHA_API_KEY": "your-api-key-here",
        "WAHA_URL": "http://localhost:3001"
      }
    }
  }
}

{
  "mcpServers": {
    "waha": {
      "command": "node",
      "args": ["/absolute/path/to/waha-mcp/dist/index.js"],
      "env": {
        "WAHA_API_KEY": "your-api-key-here"
      }
    }
  }
}

{
  "mcpServers": {
    "waha": {
      "command": "node",
      "args": ["/path/to/waha-mcp/dist/index.js"],
      "env": {
        "WAHA_API_KEY": "your-key",
        "USER_WHATSAPP_CHAT_ID": "1234567890@c.us"
      }
    }
  },
  "globalInstructions": "When you need user input during development, use ask_user_via_whatsapp tool. Never stop and wait for manual console input."
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.3K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
9.7K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
10.4K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
10.6K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
12.4K
5 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
21.7K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
9.2K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.4K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.4K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
71.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
35.3K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
31.1K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
64.4K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.0K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
96.8K
4.7 points