Исследование с помощью 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.pyOr 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.pyConnect 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 включает встроенный редактор кода, поэтому ты пишешь и запускаешь реальный код прямо в браузере и получаешь моментальную обратную связь от AI — локальная установка не требуется.
Все уроки этого курса
- Как работает транспорт stdio
- Подключение к Claude Desktop
- Исследование с помощью MCP Inspector
- Отладка незапускающегося сервера