Launch Inspector:
npx @modelcontextprotocol/inspector python server.pyInspector automatically opens at http://localhost:5173
Test the tools:
- Run
ping→ returns{"ok": true, "message": "Server is running"} - Run
weatherwith a city name (e.g., "London")
If Inspector gets stuck:
# macOS/Linux
pkill -f "@modelcontextprotocol/inspector"
# Windows
Get-Process | Where-Object { $_.Path -like "*@modelcontextprotocol*" } | Stop-Process