Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 569 Bytes

File metadata and controls

27 lines (18 loc) · 569 Bytes

MCP Server Workshop

Test with MCP Inspector

Launch Inspector:

npx @modelcontextprotocol/inspector python server.py

Inspector automatically opens at http://localhost:5173

Test the tools:

  1. Run ping → returns {"ok": true, "message": "Server is running"}
  2. Run weather with a city name (e.g., "London")

Troubleshooting

If Inspector gets stuck:

# macOS/Linux
pkill -f "@modelcontextprotocol/inspector"

# Windows
Get-Process | Where-Object { $_.Path -like "*@modelcontextprotocol*" } | Stop-Process