0Pricing
MCP Academy · درس

الاستكشاف باستخدام MCP Inspector

استكشفوا الأدوات والموارد والتعليمات بصريًا من خلال النقر عليها.

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

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

A Window Into Your Server

Editing config and restarting is slow for testing. The MCP Inspector gives you a visual tool to poke at your server directly. 🔍

What the Inspector Is

The Inspector is an official web app that acts as a client. It connects to your server and lets you browse and call everything it exposes.

Launch It with npx

You don’t install anything permanently. Run it on demand with npx, and it opens a local web UI in your browser.

npx @modelcontextprotocol/inspector python server.py

Or Use the mcp CLI

If you use the Python SDK, the mcp dev command launches the very same Inspector wired to your server in one step.

mcp dev server.py

Connect Over stdio

The Inspector spawns your script just like a host would, talking over stdio. So you test the exact path a real client uses.

See the Tools Tab

Open the Tools tab to list every tool your server advertises, complete with its name, description, and expected arguments.

Call a Tool by Hand

Pick a tool, fill in its fields in the form, and hit run. You see the exact result the server returns, with no model in the loop.

Browse Resources

The Resources tab shows everything your server can serve. Click one to read its contents and confirm the URI resolves correctly.

Preview Prompts

Under Prompts you can fill in arguments and preview the exact messages your template produces before any user ever triggers it.

Read the Message Log

A built-in log pane shows raw JSON-RPC traffic in both directions. It is the fastest way to see what your server truly sent.

Reconnect After Edits

Changed your code? Hit reconnect in the Inspector to restart the server and reload its tools, far faster than restarting a full host.

Quick Check

Why is the MCP Inspector handy when developing a server?

Recap

You used the Inspector to list tools, call them by hand, browse resources and prompts, and watch the wire. Now let’s tackle servers that won’t start. ✅

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

هل درس «الاستكشاف باستخدام MCP Inspector» مجاني؟

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

ماذا ستتعلم في «الاستكشاف باستخدام MCP Inspector»؟

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

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

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

كم من الوقت يستغرق درس «الاستكشاف باستخدام MCP Inspector»؟

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

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

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

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

  1. كيفية عمل نقل stdio
  2. ربط الخادم بـClaude Desktop
  3. الاستكشاف باستخدام MCP Inspector
  4. تصحيح أخطاء خادم لا يبدأ
← العودة إلى MCP Academy