Overview
This page provides configuration examples for popular MCP-enabled AI tools. All clients connect to the same SSE endpoint but may use different configuration formats.Before configuring clients, ensure the MCP server is running on
http://localhost:8080.Cursor IDE
Cursor is a popular AI-powered code editor with built-in MCP support.Configuration File Location
- macOS
- Linux
- Windows
Configuration Example
Add the following to yourmcp.json:
Verifying the Connection
- Restart Cursor after saving the configuration
- Open the MCP panel (usually in the sidebar)
- You should see “whatsapp” listed as an available server
- Click to connect and verify tools are loaded
Claude Desktop
Claude Desktop supports MCP through a JSON configuration file.Configuration File Location
- macOS
- Windows
Configuration Example
Testing in Claude Desktop
- Save the configuration file
- Restart Claude Desktop
- In a conversation, ask Claude to list available tools:
- Claude should respond with the list of MCP tools
Cline (VS Code Extension)
Cline is a VS Code extension that supports MCP.Configuration
- Open VS Code Settings (JSON)
- Add the following:
- Reload VS Code
- Open Cline and verify the WhatsApp server is connected
Generic MCP Client
For any MCP-compatible client that supports SSE transport:Required Configuration
Server Metadata
Remote Server Configuration
If you must connect to a remote MCP server:Using SSH Tunnel (Recommended)
http://localhost:8080/sse as usual.
Direct Remote Connection
-
Start the MCP server with
--host 0.0.0.0: -
Configure your client:
Consider using a reverse proxy (nginx, Caddy) with TLS and authentication if remote access is required.
Docker Configuration
When running the MCP server in Docker:Docker Compose
Client Configuration
Connect to the exposed port:Environment-Specific Settings
Development
Production
Testing the Configuration
Once configured, test the connection using your AI tool:1. Check Connection Status
Ask your AI assistant:2. List Available Tools
3. Test a Simple Tool
whatsapp_list_contacts and verifies end-to-end functionality.
Troubleshooting
Tools Not Appearing
Problem: AI client doesn’t show WhatsApp tools Solutions:- Verify the MCP server is running (
http://localhost:8080/sseshould be accessible) - Check the configuration file syntax (validate JSON)
- Restart the AI client after configuration changes
- Check client logs for connection errors
Connection Timeouts
Problem: SSE connection times out Solutions:- Increase timeout in client configuration:
- Check network connectivity
- Verify no proxy/firewall is blocking SSE
SSL/TLS Errors
Problem: Certificate validation errors with HTTPS Solutions:- Use a valid SSL certificate (Let’s Encrypt recommended)
- For development only, some clients support
"insecure": true - Use SSH tunnel instead of direct HTTPS
Next Steps
Connection Tools
Learn about login, logout, and status tools
Messaging Tools
Send messages, images, and more via MCP
Contacts & Chats
Query contacts, list chats, and download media
Group Management
Create and manage WhatsApp groups
