customer-replies-mcp-server
Generates WhatsApp links (wa.me) pre-filled with a composed reply message for manual sending via WhatsApp.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@customer-replies-mcp-server Write a reply to Ahmed about his iPhone 13 repair status, delivery tomorrow 5pm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
customer-replies-mcp-server
خادم MCP لإدارة وتوليد ردود العملاء لمحل صيانة الهواتف النقالة وأجهزة الكمبيوتر. يعمل مع Claude Desktop و Claude Code وأي عميل MCP آخر.
MCP server for managing and composing customer replies for a phone & computer repair shop. Arabic-first with English variants.
الأدوات | Tools
Tool | الوظيفة |
| عرض تصنيفات الردود وعدد القوالب في كل تصنيف |
| البحث في القوالب بالكلمة، التصنيف، اللغة، أو النبرة |
| جلب قالب كامل مع المتغيرات |
| تعبئة قالب بقيم حقيقية وإرجاع رد جاهز للإرسال |
| تحويل رد (من قالب أو نص حر) إلى رابط |
| إضافة قالب جديد (المتغيرات تُستخرج تلقائياً من النص) |
| تعديل قالب موجود |
| حذف قالب نهائياً |
Related MCP server: whatsapp-mcp-server
التصنيفات | Categories
greeting, price_inquiry, diagnosis, repair_status, ready_for_pickup, delay_apology, warranty, complaint, unrepairable, data_disclaimer, part_unavailable, location_hours, payment, follow_up
17 قالباً جاهزاً مضمّناً (عربي + إنجليزي) تغطي: الترحيب، التسعير، نتيجة الفحص، تحديث الحالة، جاهزية الاستلام، الاعتذار عن التأخير، الضمان، الشكاوى، تعذر الإصلاح، إخلاء مسؤولية البيانات، قطع الغيار، الموقع والأوقات، الدفع، والمتابعة بعد التسليم.
التثبيت | Install
npm install
npm run buildالتشغيل مع Claude Desktop / Claude Code
claude_desktop_config.json أو .mcp.json:
{
"mcpServers": {
"customer-replies": {
"command": "node",
"args": ["/ABSOLUTE/PATH/customer-replies-mcp-server/dist/index.js"],
"env": {
"REPLIES_DATA_PATH": "/ABSOLUTE/PATH/data/templates.json"
}
}
}
}Claude Code:
claude mcp add customer-replies -- node /ABSOLUTE/PATH/customer-replies-mcp-server/dist/index.jsتخزين البيانات | Data storage
القوالب تُحفظ في ملف JSON. المسار الافتراضي: ~/.customer-replies/templates.json. يُغيّر عبر متغير البيئة REPLIES_DATA_PATH. عند أول تشغيل يُنشأ الملف بالقوالب المضمّنة تلقائياً.
مثال استخدام | Usage example
Prompt: "اكتب رد لأحمد، جهازه iPhone 13، الحالة بانتظار قطعة الشاشة، التسليم غداً 5 مساءً"
Flow:
replies_search_templates→category: repair_status, language: arreplies_compose_reply→template_id: status-ar-1+ variables
Output:
مرحباً أحمد 👋
تحديث بخصوص جهازك iPhone 13:
الحالة الحالية: بانتظار قطعة الشاشة
الموعد المتوقع للتسليم: غداً 5 مساءً
سنبلغك فور جاهزية الجهاز.الربط بواتساب | WhatsApp link
replies_whatsapp_link يبني رابط https://wa.me/<phone>?text=<message> من قالب (template_id + variables) أو نص حر (text). العربية مدعومة بالكامل عبر ترميز UTF-8 القياسي في الرابط. فتح الرابط يفتح واتساب مع الرسالة معبّأة مسبقاً، لكن الإرسال يبقى ضغطة يدوية — لا إرسال تلقائي.
مثال: phone: "+966 5x xxx xxxx", template_id: "status-ar-1", variables: {...} → { url, text, missingVariables }.
واجهة الويب المحلية | Local web UI
صفحة ويب محلية بالعربية (RTL) لتصفح القوالب وتعبئتها وإرسالها عبر واتساب دون الحاجة لـ Claude أو Inspector — مخصصة لموظف المحل مباشرة.
npm run build
npm run webثم افتح http://localhost:8787 (يمكن تغيير المنفذ عبر PORT). التدفق: اختر تصنيفاً من الشريط الجانبي أو ابحث ← اضغط على القالب ← عبّئ المتغيرات وشاهد المعاينة الحيّة ← أدخل رقم العميل ← اضغط فتح واتساب لفتح محادثة واتساب مع الرسالة جاهزة (الإرسال يبقى ضغطة يدوية بشرية).
الواجهة متجاوبة مع الجوال (RTL أيضاً على الشاشات الصغيرة).
تسجيل الدخول
الواجهة محمية بـ HTTP Basic Auth. اسم المستخدم الافتراضي admin. إن لم تُحدَّد WEB_PASSWORD، تُولَّد كلمة مرور عشوائية وتُطبع في الطرفية عند بدء التشغيل — راقب الناتج. لتحديد بيانات دخول ثابتة:
WEB_USERNAME=shop WEB_PASSWORD=your-secret npm run webالنسخ الاحتياطي
قبل كل عملية حفظ (إضافة/تعديل/حذف قالب)، يُنسخ الملف الحالي إلى <REPLIES_DATA_PATH>.bak قبل الكتابة فوقه. للاستعادة من نسخة احتياطية، أعد تسمية .bak إلى الاسم الأصلي يدوياً.
صيغة المتغيرات | Placeholder syntax
{{variable_name}} — أحرف لاتينية وأرقام وشرطة سفلية. replies_compose_reply يعيد missingVariables لأي متغير لم تُمرَّر قيمته، ويُبقي العنصر النائب في النص كما هو.
الاختبار | Testing
npx @modelcontextprotocol/inspector node dist/index.jsAvailable Tools
8 toolsreplies_add_templateAdd Reply TemplateA
Create a new reply template. Placeholders in body use {{variable}} syntax; variables are auto-extracted from the body.
Args:
id (string): unique slug, e.g. 'promo-ar-1'
category (string): one of greeting, price_inquiry, diagnosis, repair_status, ready_for_pickup, delay_apology, warranty, complaint, unrepairable, data_disclaimer, part_unavailable, location_hours, payment, follow_up
title (string)
language ('ar'|'en')
tone ('formal'|'friendly')
body (string): reply text with {{placeholders}}
tags (string[], optional)
Returns: the created template JSON.
Inputs: id (required), body (required), tone (required), title (required), +3 more.
replies_compose_replyCompose Customer ReplyARead-onlyIdempotent
Render a ready-to-send customer reply by filling a template's {{variables}} with real values.
Args:
template_id (string): id from replies_search_templates
variables (object): map of variable name -> value, e.g. { "customer_name": "أحمد", "device_model": "iPhone 13", "status": "بانتظار قطعة الشاشة", "eta": "غداً الساعة 5 مساءً" }
Returns: { text, missingVariables }. If missingVariables is non-empty the reply still contains raw {{placeholders}} — fill them and call again, or ask the user for the values.
Example: compose a status update in Arabic for customer أحمد about his iPhone 13.
Inputs: template_id (required), variables.
replies_delete_templateDelete Reply TemplateADestructiveIdempotent
Permanently delete a template by id. This cannot be undone.
Args:
id (string): template id
Returns: { deleted: boolean, id }.
Inputs: id (required).
replies_get_templateGet Reply TemplateARead-onlyIdempotent
Get one template by id, including the full body with {{variable}} placeholders.
Args:
id (string): template id from replies_search_templates
Returns: full template JSON { id, category, title, language, tone, body, variables, tags, createdAt, updatedAt }.
Inputs: id (required).
replies_list_categoriesList Reply CategoriesARead-onlyIdempotent
List all reply categories with template counts per category and language.
Use this first to discover what kinds of customer replies exist (greeting, price_inquiry, repair_status, ready_for_pickup, warranty, complaint, etc.).
Returns: JSON array of { category, count, languages }.
Inputs: no named parameters.
replies_search_templatesSearch Reply TemplatesARead-onlyIdempotent
Search customer reply templates by keyword, category, language, or tone.
Args:
query (string, optional): keyword matched against title, body, category, and tags (Arabic or English)
category (string, optional): exact category, e.g. 'repair_status', 'complaint'
language ('ar'|'en', optional)
tone ('formal'|'friendly', optional)
Returns: JSON array of template summaries { id, category, title, language, tone, variables, tags }. Use the id with replies_get_template or replies_compose_reply.
Examples:
"Find a reply for a delayed repair" -> category='delay_apology', language='ar'
"رد على شكوى" -> query='شكوى'
Inputs: tone, query, category, language.
replies_update_templateUpdate Reply TemplateAIdempotent
Update fields of an existing template. Only provided fields change. If body changes, variables are re-extracted automatically.
Args:
id (string): existing template id
title, category, language, tone, body, tags: all optional
Returns: the updated template JSON.
Inputs: id (required), body, tags, tone, +3 more.
replies_whatsapp_linkBuild WhatsApp Reply LinkARead-onlyIdempotent
Compose a reply (from a template + variables, or from raw text) and wrap it in a clickable https://wa.me deep link that opens WhatsApp with the message pre-filled, ready for a human to press send. Arabic and English text both work — the text is URL-encoded as UTF-8.
Args:
phone (string): customer's phone number, any formatting accepted (spaces, +, dashes) as long as it includes the country code, e.g. '+966 5x xxx xxxx'. Non-digit characters are stripped automatically.
template_id (string, optional): template id from replies_search_templates
variables (object, optional): variable name -> value map, used when template_id is given
text (string, optional): raw message text, used instead of template_id
Provide either template_id or text (not both, not neither).
Returns: { url, text, missingVariables }. This does NOT send anything — it only builds a link. Opening the link (or the human clicking it) still requires WhatsApp to be installed/logged in on that device; sending is a manual click, nothing is sent automatically.
Inputs: phone (required), text, variables, template_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a distinct purpose: CRUD for templates, search, categories listing, composing a reply, and generating a WhatsApp link. There is no overlap or ambiguity.
All tools share the 'replies_' prefix and most follow a verb_noun pattern (e.g., replies_add_template, replies_delete_template). The exception is replies_whatsapp_link, which is a noun_noun and slightly deviates from the pattern.
Eight tools is a well-scoped number for a customer reply template management server. It covers creation, retrieval, updating, deletion, search, categories, composition, and WhatsApp integration without bloat.
The server covers the full CRUD lifecycle for templates, plus search, categories, composition, and WhatsApp linking. A direct 'list all templates' tool is missing, but the search tool with no filters likely serves that purpose.
Related MCP Connectors
Unified messaging MCP server: WhatsApp, Instagram, Telegram, SMS, Messenger & email support inbox
Free WhatsApp MCP server for ChatGPT and Claude: read and search chats, every send you approve.
Unified inbox MCP for WhatsApp, Telegram, Email, voice — read/send messages, search, AI agents.
WhatsApp MCP on your own number: read chats, search contacts, send messages.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables interaction with the WhatsApp Business API, allowing agents to send messages, manage media, and perform other WhatsApp business operations through natural language.1-
- AlicenseNot gradedqualityDmaintenanceThe most complete MCP Server for WhatsApp Business Cloud API. 43 tools across 10 modules including messaging, templates, media, webhooks, analytics, AI auto-reply, and anti-spam protection.13 npm3MIT

lingtai-whatsappofficial
AlicenseNot gradedqualityFmaintenanceMCP server for interacting with the official Meta WhatsApp Business Platform/Cloud API, enabling sending messages, managing contacts, templates, and handling webhook callbacks.Apache 2.0- AlicenseAqualityDmaintenanceMCP server for the WhatsApp Business API that enables managing business accounts, phone numbers, message templates, sending template messages, and tracking message status via the Meta Graph API.834 npmMIT