# WAHA WhatsApp HTTP API Configuration
# Copy this file to .env and fill in your actual values
# WAHA API Base URL (without trailing slash)
# Example: http://localhost:3000 or https://your-waha-instance.com
WAHA_BASE_URL=http://localhost:3000
# WAHA API Key
# This is the X-Api-Key header value required for authentication
WAHA_API_KEY=your-api-key-here
# WAHA Session Name
# Default session to use for WhatsApp operations
# Default: "default"
WAHA_SESSION=default
# MCP Server Port (for HTTP mode only)
# Port for the MCP server to listen on when running in HTTP mode
# Default: 3001
MCP_PORT=3001
# ============================================
# Webhook Configuration (Optional)
# ============================================
# Enable webhook support for real-time WhatsApp event notifications
# Set to "true" to enable webhooks, "false" to disable
# Default: false
WEBHOOK_ENABLED=false
# Webhook Server Port
# Local port for the webhook HTTP server
# Default: 3001
WEBHOOK_PORT=3001
# Webhook HMAC Secret Key (Optional but recommended)
# Secret key for validating webhook signatures from WAHA
# Generate a random string (e.g., using: openssl rand -hex 32)
WEBHOOK_HMAC_KEY=your-secret-key-here
# ngrok Auth Token (Optional)
# Get your free authtoken from https://dashboard.ngrok.com/get-started/your-authtoken
# Free tier works fine for testing. Leave empty for free usage with limits.
NGROK_AUTHTOKEN=
# Auto-start webhooks
# Automatically start the webhook system when server starts
# Default: true
WEBHOOK_AUTO_START=true
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seejux/waha-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server