Skip to main content
Glama

Shortcut MCP Server

by currentspace
reload_mcp.sh1.15 kB
#!/bin/bash # PID file locations WRAPPER_PID_FILE="/tmp/shortcut-mcp-wrapper.pid" PROXY_PID_FILE="/tmp/shortcut-mcp-proxy.pid" # Check for proxy first (new hot-reload capable version) if [ -f "$PROXY_PID_FILE" ]; then PID=$(cat "$PROXY_PID_FILE") if kill -0 "$PID" 2>/dev/null; then echo "Sending reload signal to Shortcut MCP proxy (PID: $PID)..." kill -HUP "$PID" echo "Reload signal sent. Check /tmp/shortcut-mcp-debug.log for status." else echo "Shortcut MCP proxy not running (stale PID file)" rm -f "$PROXY_PID_FILE" fi # Fall back to wrapper (old version) elif [ -f "$WRAPPER_PID_FILE" ]; then WRAPPER_PID=$(cat "$WRAPPER_PID_FILE") if kill -0 "$WRAPPER_PID" 2>/dev/null; then echo "Sending reload signal to Shortcut MCP server (PID: $WRAPPER_PID)..." kill -HUP "$WRAPPER_PID" echo "Note: Hot reload not supported in this mode. Consider using start_mcp_with_proxy.sh" else echo "Shortcut MCP wrapper not running (stale PID file)" rm -f "$WRAPPER_PID_FILE" fi else echo "Shortcut MCP server not running (no PID file found)" fi

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/currentspace/shortcut_mcp'

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