Sheet 3 of 4 · Ways to test
Four ways to test an MCP server
Test an MCP server online
For a server on the internet, paste its link on the QAmcp test page and press Test it. The checks fill in while you watch, and you get a report link you can share. Nothing to install, no account. Only tools labeled read-only are run.
Test an MCP server locally
A server that runs on your own computer (stdio) can't be reached from a website, so test it from your terminal. QAmcp starts the program and checks it the same way, including that it prints nothing but MCP messages:
npx qamcp-cli --stdio "npm start"
A local server that listens on a port works with its link instead, like npx qamcp-cli http://localhost:3000/mcp. For local servers on a port, QAmcp also checks that they refuse requests from other websites, which the MCP spec requires.
Test an MCP server with MCP Inspector
MCP Inspector is the official tool from the MCP project. Start it with npx @modelcontextprotocol/inspector, connect to your server, and you can list its tools and call each one yourself with any inputs you like. It's the best way to explore a server and debug one tool at a time.
An automatic test does the opposite job: the same checks every time, a score, and a clear list of what failed, so you can run it on every change without clicking through each tool. Use Inspector to investigate, and an automatic test to make sure nothing broke.
Test an MCP server with curl
To check that a remote server answers at all, send it the first message every MCP app sends, initialize:
curl -X POST https://your-server.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
A working server answers with its name, version and the features it supports. If it sends back an Mcp-Session-Id header, include that header in your next requests, such as tools/list. curl shows that the server answers; it doesn't tell you whether an AI can use the tools well. That's what the checklist above is for.