Skip to main content
Glama
kill-inspector.sh497 B
#!/bin/bash echo "Cleaning up MCP inspector processes..." # Kill all inspector-related processes pkill -f "@modelcontextprotocol/inspector" || true # Wait for graceful termination sleep 1 # Force kill any remaining processes on inspector ports for port in 6274 6277; do if lsof -i :$port >/dev/null 2>&1; then echo "Force killing process on port $port..." lsof -ti :$port | xargs kill -9 2>/dev/null || true fi done # Final wait sleep 1 echo "✓ Inspector processes cleaned up"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/robertn702/mcp-sunsama'

If you have feedback or need assistance with the MCP directory API, please join our Discord server