Model Context Inspector

From the same blog post, we can also inspect MCP metadata and tools interactively using Model Context Inspector.

Source post:

Run Inspector with npx

npx @modelcontextprotocol/inspector --startup-url "https://localhost:7145/mcp"

If local self-signed TLS gives issues in local dev, I used this temporary workaround:

$env:NODE_TLS_REJECT_UNAUTHORIZED=0
npx @modelcontextprotocol/inspector --startup-url "https://localhost:7145/mcp" 

Inside Inspector, use:

The MCP endpoint on server side is:

app.MapMcp("/mcp"); // This exposes the SSE endpoint at /sse

Screenshot

Model Context Inspector in use:

Model Context Inspector local dev

Key notes (from the blog post)