From the course: Unboxing AI: Build a Remote MCP Server from Zero to Deployed with OAuth

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Using the MCP Inspector

Using the MCP Inspector

- Now that that's done, we can test out the package. So if I go back to README here and scroll down, zoom out so you can actually see, you'll see here it says, this is the description of how to set up the Python environment, then we go down here and it says to run this in the MCP inspector, you put in this command, "uv run mcp dev," then you point at whatever folder the current server sits in, which in this case is the sub folder mcp_open_meteo, and then point that server.py. This is an incredibly finicky function that I've had a lot of issue with because everything has to be set up exactly right, otherwise nothing works. But when it works, you're brought over to the MCP inspector in your browser. From here, you see we can choose the transport type. So STDIO is fine. We get the name of the server and connect. And when I connect I can now get whatever resources, whatever prompts, whatever tools, and anything else that's available. So in this case, for this server, I have no resources…

Contents