| title | Quickstart |
|---|---|
| description | Get WAHA MCP Server running in 5 minutes |
Get the WAHA MCP Server running and connected to Claude Desktop.
```bash git clone https://github.com/your-org/waha-mcp-server.git cd waha-mcp-server ``` ```bash npm install ``` Copy the example environment file and edit it with your WAHA credentials:```bash
cp .env.example .env
```
Edit `.env` with your values:
```bash
WAHA_BASE_URL=http://localhost:3000
WAHA_API_KEY=your-api-key-here
WAHA_SESSION=default
```
```bash
npm run inspector
```
This opens a web UI where you can test all tools interactively.
Add the server to your Claude Desktop MCP configuration:
Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:```json
{
"mcpServers": {
"waha": {
"command": "node",
"args": ["/absolute/path/to/waha-mcp-server/dist/index.js"],
"env": {
"WAHA_BASE_URL": "http://localhost:3000",
"WAHA_API_KEY": "your-api-key-here",
"WAHA_SESSION": "default"
}
}
}
}
```
```json
{
"mcpServers": {
"waha": {
"command": "node",
"args": ["C:\\path\\to\\waha-mcp-server\\dist\\index.js"],
"env": {
"WAHA_BASE_URL": "http://localhost:3000",
"WAHA_API_KEY": "your-api-key-here",
"WAHA_SESSION": "default"
}
}
}
}
```
Restart Claude Desktop to load the new configuration.
In Claude Desktop, you should now see the WAHA tools available. Try asking Claude:
"Show me my recent WhatsApp chats"
Claude will use the waha_get_chats tool to retrieve your conversations.
For development with auto-reload:
npm run dev- Configure webhooks for real-time message notifications
- Explore all available tools
- Learn about chat ID formats