How do you test MCP resources with the Inspector?
Defining MCP Resources for Data Access
Audio flashcard · 0:34Nortren·
How do you test MCP resources with the Inspector?
0:34
You can test resources using the MCP Inspector. Start your server with the MCP development command pointed at your server file, then open the Inspector in your browser. You will see two distinct sections: Resources, which lists your direct, static resources, and Resource Templates, which lists your templated resources. Click on any resource to test it. For templated resources, the Inspector prompts you to provide values for each parameter in the URI template. The Inspector then shows the exact response structure your client will receive, including the MIME type and the serialized data, so you can verify everything works before integrating with a real client.
modelcontextprotocol.io