Skip to main content
Glama

نظام تصميم واجهات المستخدم العربية (mcp-arabic-ui-ux)

npm version License: MIT MCP Protocol

خادم MCP (Model Context Protocol) عالي الدقة متخصص في تصميم وبناء واجهات المستخدم باللغة العربية مع الدعم الكامل والفيزيائي للاتجاه من اليمين إلى اليسار (Native RTL)، بناءً على معايير Material 3 Expressive وجودة Google Stitch.


🌟 المميزات الرئيسية

  • معمارية RTL أولاً (Logical Properties First): التحويل التلقائي لاستخدام الخصائص المنطقية (ms-*, pe-*, start-*, text-start) بدلاً من الخصائص الفيزياء الثابتة.

  • جماليات Material 3 Expressive: حاويات بحواف دائرية تعبيرية (28px), تباينات ألوان مدروسة متوافقة مع معايير الوصول الشامل (WCAG AAA).

  • محرك الخطوط العربية (Typography Engine): حماية المسافات العمودية للخطوط العربية (Descender Protection) بنسب ارتفاع أسطر تراوح بين 1.6 و 1.8 واستخدام خطوط Tajawal, Cairo, و Readex Pro.

  • فحص الامتثال والتصحيح (RTL Audit & Fix): أداة تحليل ذكية لاكتشاف الأخطاء وتصحيح الاتجاهات الفيزيائية الخاطئة في الكود.


Related MCP server: Stitch MCP Auto

📦 التثبيت والاستخدام

التثبيت المباشر عبر npm

npm install -g mcp-arabic-ui-ux

أو تشغيله مباشرة عبر npx:

npx mcp-arabic-ui-ux

⚙️ التجميع والإعداد مع بيئات الذكاء الاصطناعي (AI Clients)

1. Claude Desktop

أضف الإعدادات التالية إلى ملف claude_desktop_config.json:

{
  "mcpServers": {
    "arabic-ui-ux": {
      "command": "npx",
      "args": ["-y", "mcp-arabic-ui-ux"]
    }
  }
}

2. Antigravity IDE / Cursor

أضف الإعدادات إلى ملف إعدادات MCP الخادمي:

{
  "mcpServers": {
    "arabic-ui-ux": {
      "command": "node",
      "args": ["/path/to/mcp-arabic-ui-ux/dist/index.js"]
    }
  }
}

🛠️ الأدوات المتاحة (Tools)

1. generate_arabic_design_tokens

توليد حزمة رموز تصميم (Tokens) متوافقة مع الأنماط العربية و Material 3.

  • المعاملات:

    • theme: "material-3-expressive" | "minimalist-dark" | "warm-beige-dashboard"

    • primaryColor (اختياري): لون الأساس (مثال: #6750A4)

2. build_arabic_ui_component

بناء مكونات تفاعلية جاهزة باللغة العربية تدعم RTL كلياً.

  • المعاملات:

    • componentType: "stat-card" | "navigation-bar" | "user-list-item" | "action-modal" | "dashboard-widget"

    • title: عنوان المكون

    • subtitle (اختياري): النص الفرعي

    • theme: نسق التصميم المطلوب

3. stitch_arabic_layout

تجميع صفحة كامة وتطبيق تنسيقات Google Stitch للواجهات العربية.

  • المعاملات:

    • layoutName: اسم الصفحة أو اللوحة

    • sections: مصفوفة بأسماء الأقسام

    • theme: نسق التصميم

4. audit_rtl_ui_compliance

فحص كود الواجهات والتأكد من عدم وجود خصائص فيزيائية متعارضة مع الاتجاه العربي.

  • المعاملات:

    • codeSnippet: كود HTML / Tailwind المراد فحصه


📚 المصادر والقوالب (Resources & Prompts)

  • Resource: arabic-ui://design-systems/m3-expressive - مواصفات نظام تصميم Material 3 Expressive RTL.

  • Prompt: design_arabic_dashboard - قالب توجيهي جاهز لإنشاء لوحة تحكم فاخرة.


📄 الترخيص (License)

هذا المشروع مرخص بموجب رخصة MIT.

Available Tools

4 tools
audit_rtl_ui_complianceC

فحص كود الواجهات والتحقق من الالتزام بقواعد RTL والاتجاهات المنطقية

Inputs: codeSnippet (required).

build_arabic_ui_componentC

توليد مكون UI تفاعلي يدعم العربية والاتدجاه RTL بجودة عالي جداً

Inputs: theme (required), title (required), componentType (required), subtitle.

generate_arabic_design_tokensB

توليد حزمة رموز تصميم (Tokens) عربية متوافقة مع Material 3 و RTL

Inputs: theme (required), primaryColor.

stitch_arabic_layoutC

تجميع صفحة كاملة وتطبيق تنسيقات Google Stitch للواجهات العربية

Inputs: theme (required), sections (required), layoutName (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct phase of the Arabic UI/UX workflow: design tokens, component building, layout stitching, and RTL compliance auditing. There is no overlap in their purposes, making selection unambiguous.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (generate_, build_, stitch_, audit_). While the fourth uses 'rtl' instead of 'arabic', it remains within the same naming style and is intuitive.

    Tool Count5/5

    4 tools is well-scoped for the server's purpose, covering the core stages of Arabic UI creation and validation without unnecessary redundancy or missing essentials.

    Completeness5/5

    The tool set forms a complete pipeline: design tokens (generate), individual components (build), full layout (stitch), and compliance verification (audit). This covers the full lifecycle of Arabic UI/UX development from foundation to validation.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      An automated MCP server for Google Stitch that enables AI-driven UI design generation, screen management, and design system extraction. It provides 19 professional tools for creating consistent web interfaces, conducting accessibility audits, and exporting design tokens.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An automated MCP server for Google Stitch that enables AI-driven UI design generation, accessibility audits, and design system management. It streamlines workflows for creating responsive screens, extracting design tokens, and maintaining visual consistency across professional web projects.
      44 npm
      31
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      Comprehensive MCP server for Google Stitch with 36 tools covering design-to-code workflows, including screen generation, code extraction, design analysis, and project management.
      44
      5
      Apache 2.0