0Pricing
MCP Academy · レッスン

MCP Inspectorで調査する

ツール、リソース、プロンプトを画面上で操作しながら確認します。

「MCP Inspectorで調査する」はCoddyKit上の無料MCP Academyレッスンです。 これはレッスン3/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これは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時間対応のAIチューター)、MCP Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 MCP Academyコースには全4レッスンが含まれています。

「MCP Inspectorで調査する」で何を学びますか?

ツール、リソース、プロンプトを画面上で操作しながら確認します。 ブラウザで直接実行するハンズオンコードでMCP Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

MCP Academyを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのMCP Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン3/4です。

「MCP Inspectorで調査する」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このMCP Academyレッスンでコードを書いて実行できますか?

はい。すべてのMCP Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. stdioトランスポートの仕組み
  2. Claude Desktopに接続する
  3. MCP Inspectorで調査する
  4. 起動しないサーバーをデバッグする
← MCP Academyに戻る