Testing with SSE
There are differences, though, when it comes to how testing tools using SSE work. Let’s list the differences:
- Inspector tool: The Inspector tool is a command-line tool that allows you to test your server using both a visual interface and a command-line interface. The difference between STDIO and SSE is that you need to specify Transport Type as SSE and URL as
http://<address>:<port>/sse. This is something you need to do when using the visual interface.
For the CLI mode, you need to specify a URL instead of how to run the server. So, the following command will work, provided you have the server running at localhost:8000:
npx @modelcontextprotocol/inspector --cli http:localhost:8000/sse --method tools/list
Let’s see the difference in the visual interface:

Figure 4.1 – Inspector tool, visual mode, SSE
Quick tip: Need to see a high-resolution version of this image? Open this book in the...