WAHA MCP Server
Enables Claude or other MCP clients to interact with WhatsApp through the WAHA HTTP API, supporting messaging, group management, and contact operations.
README
WAHA MCP Server
WhatsApp HTTP API (WAHA) için Model Context Protocol (MCP) server. Claude veya diğer MCP istemcilerini WAHA üzerinden WhatsApp'a bağlar.
Gereksinimler
- Node.js 18+
- Çalışan bir WAHA instance'ı
Kurulum
npm install
npm run build
Yapılandırma
Aşağıdaki ortam değişkenleri kullanılır:
| Değişken | Varsayılan | Açıklama |
|---|---|---|
WAHA_BASE_URL |
http://localhost:3000 |
WAHA API base URL |
WAHA_API_KEY |
(boş) | API anahtarı (WAHA Plus için) |
WAHA_SESSION |
default |
Kullanılacak oturum adı |
Claude Desktop Entegrasyonu
claude_desktop_config.json dosyanıza ekleyin:
{
"mcpServers": {
"waha": {
"command": "node",
"args": ["/tam/yol/waha-mcp/dist/index.js"],
"env": {
"WAHA_BASE_URL": "http://localhost:3000",
"WAHA_API_KEY": "your-api-key-if-any",
"WAHA_SESSION": "default"
}
}
}
}
MCP Inspector ile Test
npx @modelcontextprotocol/inspector node dist/index.js
Araçlar (Tools)
Oturum Yönetimi
| Araç | Açıklama |
|---|---|
waha_list_sessions |
Tüm oturumları listele |
Mesajlaşma
| Araç | Açıklama |
|---|---|
waha_send_text |
Metin mesajı gönder |
waha_send_image |
Görsel gönder (URL veya base64) |
waha_send_file |
Dosya/belge gönder |
waha_react_to_message |
Mesaja emoji ile tepki ver |
waha_delete_message |
Mesajı sil |
waha_star_message |
Mesajı yıldızla |
Sohbetler & Mesajlar
| Araç | Açıklama |
|---|---|
waha_get_messages |
Sohbet mesajlarını al |
waha_get_chats |
Sohbet listesini al |
Kişiler
| Araç | Açıklama |
|---|---|
waha_check_number_exists |
Numara WhatsApp'ta var mı? |
waha_get_contact |
Kişi bilgisi |
waha_get_contact_about |
Kişinin "hakkında" metni |
Gruplar
| Araç | Açıklama |
|---|---|
waha_get_groups |
Grupları listele |
waha_get_group |
Grup detayları |
waha_create_group |
Grup oluştur |
waha_leave_group |
Gruptan ayrıl |
waha_add_group_participants |
Üye ekle |
waha_remove_group_participants |
Üye çıkar |
waha_set_group_subject |
Grup adını değiştir |
waha_set_group_description |
Grup açıklamasını değiştir |
Profil
| Araç | Açıklama |
|---|---|
waha_get_my_profile |
Kendi profilini gör |
Chat ID Formatları
- Kişisel sohbet:
905551234567@c.us - Grup:
120363XXXXXXXX@g.us
Örnek Kullanım
Claude'a: "905551234567 numaralı kişiye 'Merhaba!' yaz"
Claude: waha_send_text(chatId: "905551234567@c.us", text: "Merhaba!")
Claude'a: "Tüm gruplarımı listele"
Claude: waha_get_groups()
Claude'a: "Pazarlama grubuna yeni bir üye ekle: 905559876543"
Claude: waha_add_group_participants(groupId: "120363...@g.us", participants: ["905559876543@c.us"])
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.