From the course: Claude with Amazon Bedrock by Anthropic
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
The MCP Inspector
From the course: Claude with Amazon Bedrock by Anthropic
The MCP Inspector
We have put together some functionality inside of our MCP server but we have no idea if it works so it'd be really great if we could test this out somehow. It turns out that by using this Python SDK we automatically get access to an in-browser debugger so we can make sure that this server is working as expected. Let me show you how to use it really quickly. Back inside my terminal, I'm going to make sure that I have my Python environment activated. Remember the readme document goes into detail on the exact command to run to make sure that you have activated that environment. Once you are sure that it is activated, we'll run mcp dev and then the name of the file that contains our server. In this case it is mcpserver.py. Once I run that, I'll then be told that I have a server listening on port 6277 and I'll be given a direct address to actually access it. I'm going to open up that address inside my browser and once you go there you'll see something that looks like this. This is the MCP…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Introducing MCP4m 40s
-
(Locked)
MCP clients4m 56s
-
(Locked)
Project setup3m 24s
-
(Locked)
Defining tools with MCP7m 3s
-
(Locked)
The MCP Inspector3m 52s
-
(Locked)
Implementing a client8m 56s
-
(Locked)
Defining resources9m 45s
-
(Locked)
Accessing resources4m 38s
-
(Locked)
Defining prompts7m 45s
-
(Locked)
Prompts in the client3m 1s
-
(Locked)
MCP review4m 12s
-
(Locked)
-
-