0Pricing
MCP Academy · درس

مضيف واحد وخوادم متعددة

شغّلوا مجموعة من الخوادم خلف تطبيق عميل واحد.

مضيف واحد وخوادم متعددة درس مجاني في MCP Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في MCP Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة MCP Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

One App, Many Powers

So far you have run a single server. But a real host like Claude Desktop can connect to many servers at once, each adding its own set of skills. 🔌

Why Not One Giant Server?

You could cram everything into one server, but small focused servers are easier to build, test, and reuse. One does files, another does GitHub, another does search.

The Host Coordinates

The host is the conductor. It launches each server, opens a client for it, and gathers all their tools into one menu the model can choose from.

One Client per Server

Remember the one-link rule: the host spins up a separate client for every server. Three servers means three independent client connections.

Config Lists Them All

You register each server in the host's config under mcpServers. Add an entry and the host knows one more place to find tools.

"mcpServers": {
  "files": {...},
  "github": {...}
}

Tools Merge Into One Pool

At startup the host asks each server for its tools and merges them into a single pool. The model sees one combined list, not three separate ones.

Servers Stay Isolated

Each server runs in its own process. If the search server crashes, the files and GitHub servers keep working, so one fault does not sink the whole app.

The Model Sees Capabilities

The model never thinks in servers. It just sees a flat list of capabilities and picks the best tool for the task, wherever it lives.

Routing Calls Back

When the model calls a tool, the host knows which server owns it and routes the request to that server's client. The reply travels back the same path.

Mix and Match Freely

Because servers are independent, you can add, remove, or upgrade one without touching the others. Your toolset grows like installing plugins. 🧩

The Big Picture

A fleet of small servers behind one host gives the model rich, combined powers while keeping each piece simple and replaceable. ✨

Quick Check

How does a host manage three separate MCP servers?

Recap: One Host, Many Servers

A host runs many small servers, each with its own client, and pools all their tools. Isolation keeps faults contained and lets you swap pieces freely. 🎉

الأسئلة الشائعة

هل درس «مضيف واحد وخوادم متعددة» مجاني؟

نعم — نص درس «مضيف واحد وخوادم متعددة» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة MCP Academy، انتقل إلى CoddyKit PRO. تتضمن دورة MCP Academy 4 دروس في المجموع.

ماذا ستتعلم في «مضيف واحد وخوادم متعددة»؟

شغّلوا مجموعة من الخوادم خلف تطبيق عميل واحد. تتمرن على MCP Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ MCP Academy؟

لا تُشترط خبرة سابقة. MCP Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.

كم من الوقت يستغرق درس «مضيف واحد وخوادم متعددة»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس MCP Academy هذا؟

نعم. كل درس في MCP Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. مضيف واحد وخوادم متعددة
  2. تجنب تعارض أسماء الأدوات
  3. سجلات الخوادم واكتشافها
  4. تركيب الأدوات عبر الخوادم
← العودة إلى MCP Academy