ما الذي يفعله خادم MCP فعليًا؟
الخادم باعتباره حزمة منظمة من القدرات لعملاء الذكاء الاصطناعي.
ما الذي يفعله خادم MCP فعليًا؟ درس مجاني في MCP Academy على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في MCP Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة MCP Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
A Bundle of Skills
An MCP server is a small program that bundles up capabilities and offers them to AI clients in one tidy package. 🎁
It Advertises What It Can Do
When a client connects, the server first advertises its capabilities. The model learns exactly what is on offer before using anything.
Tools: Actions
A tool is an action the model can take, like sending an email or running a query. Tools do things and return a result.
Resources: Data
A resource is read-only data the model can pull in for context, like a file or a record. Resources inform, they do not act.
Prompts: Templates
A prompt is a reusable instruction template the user can trigger, like a ready-made review request. It shapes how the model is asked.
Three Primitives, One Server
Tools, resources, and prompts are the three primitives a server can expose. Most servers mix and match the ones they need.
It Runs Real Code
When the model calls a tool, the server runs your actual code and hands back the output. The model decides; your server does the work.
@mcp.tool()
def add(a: int, b: int) -> int:
return a + bA Clean Boundary
The server is a clear boundary. Your logic and secrets live inside it, while the model only ever sees the capabilities you choose to expose.
Speaks the Protocol
The server talks to clients using MCP's shared protocol. That common language is what lets any compatible client connect.
Small and Focused
Good servers stay focused: one server for files, another for your database. Each is a neat bundle around a single domain.
You Are the Author
You decide what your server exposes and how it behaves. Building one means deciding which capabilities the AI gets to use. 🛠️
Quick Check
Match each primitive to what it provides.
Recap
An MCP server bundles capabilities and advertises them: tools to act, resources to read, and prompts to reuse, all over the shared protocol.
الأسئلة الشائعة
هل درس «ما الذي يفعله خادم MCP فعليًا؟» مجاني؟
نعم — نص درس «ما الذي يفعله خادم MCP فعليًا؟» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة MCP Academy، انتقل إلى CoddyKit PRO. تتضمن دورة MCP Academy 4 دروس في المجموع.
ماذا ستتعلم في «ما الذي يفعله خادم MCP فعليًا؟»؟
الخادم باعتباره حزمة منظمة من القدرات لعملاء الذكاء الاصطناعي. تتمرن على MCP Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ MCP Academy؟
لا تُشترط خبرة سابقة. MCP Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.
كم من الوقت يستغرق درس «ما الذي يفعله خادم MCP فعليًا؟»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس MCP Academy هذا؟
نعم. كل درس في MCP Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- المشكلة: عمليات التكامل من نوع M-by-N
- MCP باعتباره USB-C للذكاء الاصطناعي
- ما الذي يفعله خادم MCP فعليًا؟
- MCP في العالم الحقيقي اليوم