mcp-apps-builder
ما الذي تفعله
تمنح هذه المهارة وكيلك أفضل الممارسات لبناء خوادم MCP، التي تربط مساعدي الذكاء الاصطناعي بالأدوات والبيانات. وهي للمطورين الذين ينشئون خادم MCP أو يغيّرونه.
متى تستخدمها
- ✓عندما تطلب من وكيلك إنشاء خادم MCP جديد.
- ✓عندما تريد إضافة أدوات أو موارد أو أوامر أو أدوات تفاعلية إلى خادم MCP أو تغييرها.
- ✓عندما تحتاج إلى مساعدة في تصحيح خادم MCP أو مراجعته.
رابط المهارة
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/generative_ui_agents/ai-mcp-app-builder/apps/mcp-use-server/.agent/skills/mcp-apps-builder/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أضف أداة إلى خادم MCP لدي تبحث عن حالة الطلب، واعرض النتيجة في أداة تفاعلية بسيطة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تتحقق المهارة أولًا مما إذا كان لديك مشروع mcp-use. ثم توجه الوكيل إلى أدلة المرجع لكل ميزة، مثل الأدوات أو الأدوات التفاعلية أو الأمان، قبل كتابة الشيفرة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
IMPORTANT: How to Use This Skill
This file provides a NAVIGATION GUIDE ONLY. Before implementing any MCP server features, you MUST:
- Read this overview to understand which reference files are relevant
- ALWAYS read the specific reference file(s) for the features you're implementing
- Apply the detailed patterns from those files to your implementation
Do NOT rely solely on the quick reference examples in this file - they are minimal examples only. The reference files contain critical best practices, security considerations, and advanced patterns.
MCP Server Best Practices
Comprehensive guide for building production-ready MCP servers with tools, resources, prompts, and widgets using mcp-use.
⚠️ FIRST: New Project or Existing Project?
Before doing anything else, determine whether you are inside an existing mcp-use project.
Detection: Check the workspace for a package.json that lists "mcp-use" as a dependency, OR any .ts file that imports from "mcp-use/server".
├─ mcp-use project FOUND → Do NOT scaffold. You are already in a project.
│ └─ Skip to "Quick Navigation" below to add features.
│
├─ NO mcp-use project (empty dir, unrelated project, or greenfield)
│ └─ Scaffold first with npx create-mcp-use-app, then add features.
│ See "Scaffolding a New Project" below.
│
└─ Inside an UNRELATED project (e.g. Next.js app) and user wants an MCP server
└─ Ask the user where to create it, then scaffold in that directory.
Do NOT scaffold inside an existing unrelated project root.
NEVER manually create MCPServer boilerplate, package.json, or project structure by hand. The CLI sets up TypeScript config, dev scripts, inspector integration, hot reload, and widget compilation that are difficult to replicate manually.
Scaffolding a New Project
npx create-mcp-use-app my-server
cd my-server
npm run dev
For full scaffolding details and CLI flags, see quickstart.md.
Quick Navigation
Choose your path based on what you're building:
🚀 Foundations
When: ALWAYS read these first when starting MCP work in a new conversation. Reference later for architecture/concept clarification.
- concepts.md - MCP primitives (Tool, Resource, Prompt, Widget) and when to use each
- architecture.md - Server structure (Hono-based), middleware system, server.use() vs server.app
- quickstart.md - Scaffolding, setup, and first tool example
- deployment.md - Deploying to Manufact Cloud, self-hosting, Docker, managing deployments
Load these before diving into tools/resources/widgets sections.
🔐 Adding Authentication?
When: Protecting your server with OAuth (WorkOS, Supabase, or custom)
-
- When: First time adding auth, understanding
ctx.auth, or choosing a provider - Covers:
oauthconfig, user context shape, provider comparison, common mistakes
- When: First time adding auth, understanding
-
- When: Using WorkOS AuthKit for authentication
- Covers: Setup, env vars, DCR vs pre-registered, roles/permissions, WorkOS API calls
-
- When: Using Supabase for authentication
- Covers: Setup, env vars, HS256 vs ES256, RLS-aware API calls
-
- When: Using any other identity provider (GitHub, Okta, Azure AD, Google, etc.)
- Covers: Custom verification, user info extraction, provider examples
🔧 Building Server Backend (No UI)?
When: Implementing MCP features (actions, data, templates). Read the specific file for the primitive you're building.
-
- When: Creating backend actions the AI can call (send-email, fetch-data, create-user)
- Covers: Tool definition, schemas, annotations, context, error handling
-
- When: Exposing read-only data clients can fetch (config, user profiles, documentation)
- Covers: Static resources, dynamic resources, parameterized resource templates, URI completion
-
- When: Creating reusable message templates for AI interactions (code-revie
الأسئلة الشائعة
هل ستنشئ لي مشروعًا جديدًا؟
فقط إذا لم تكن في مشروع mcp-use أصلًا. وإن كنت فيه، تضيف الميزات إليه.
ماذا تغطي؟
الأدوات والموارد والأوامر والأدوات التفاعلية والتصحيح ومراجعة الشيفرة وأسئلة تطوير MCP.
لماذا تطلب من الوكيل قراءة ملفات المرجع؟
لأن ملفات المرجع تحتوي على الأنماط التفصيلية وملاحظات الأمان التي تغفلها الأمثلة القصيرة.
التفاصيل
الوصف الأصلي من المؤلف
**MANDATORY for ALL MCP server work** - mcp-use framework best practices and patterns. **READ THIS FIRST** before any MCP server work, including: - Creating new MCP servers - Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) - Debugging MCP server issues or errors - Reviewing MCP server code for quality, security, or performance - Answering questions about MCP development or mcp-use patterns - Making ANY changes to server.tool(), server.resource(), server.prompt(), or widgets This skill contains critical architecture decisions, security patterns, and common pi
الشعبية
- نجوم GitHub
- 144k
- الترتيب
- #681
- الترخيص
- Apache-2.0
- آخر تحديث
- 22/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
advisor-orchestrator-worker
144kيساعد وكيلك على تقسيم مهمة كبيرة جدًا على فريق من نماذج الذكاء الاصطناعي، يخطط نموذج أقوى ويدقق بينما تنجز النماذج الأرخص العمل.
commit-archaeologist
144kيساعد وكيلك على شرح سبب وجود جزء من الشيفرة بقراءة سجل git المحلي، بما في ذلك من أضافه وما الذي تغير لاحقًا.
dependency-doctor
144kيساعد وكيلك على فحص ملف requirements.txt أو pyproject.toml أو package.json بحثًا عن مشكلات الاعتماديات الشائعة، واقتراح إصلاحات صغيرة قابلة للمراجعة.
first-reader
144kيساعد وكيلك على اختبار المسودة بمحاكاة تجربة القراء الحقيقيين، فيُظهر أين قد يفقدون اهتمامهم وما الذي يتذكرونه.
مهارات مشابهة
mcporter
394kيساعد وكيلك على عرض خوادم MCP وأدواتها واستدعائها وفحصها عبر HTTP أو stdio، وإدارة إعدادات تسجيل الدخول الخاصة بها.
fastmcp
260kيساعدك على بناء خادم MCP بلغة Python واختباره ونشره، ليمنح مساعدي الذكاء الاصطناعي وصولًا إلى واجهة برمجتك أو قاعدة بياناتك أو ملفاتك كأدوات.
mcp-oauth-remote-gateway
260kيرشدك خلال تسجيل الدخول عبر OAuth إلى خادم MCP بعيد، عندما يعمل Hermes على خادم لا يصله تسجيل الدخول العادي عبر المتصفح.