We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tznthou/simple-console-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
start-chrome.sh•960 B
#!/bin/bash
# Start Chrome with CDP enabled for simple-console-mcp
# Usage: ./bin/start-chrome.sh [port]
PORT=${1:-9222}
# 驗證 port 必須是 1024-65535 的整數,防止命令注入
if ! [[ "$PORT" =~ ^[0-9]+$ ]]; then
echo "Error: Port must be a number. Got: $PORT"
exit 1
fi
if [ "$PORT" -lt 1024 ] || [ "$PORT" -gt 65535 ]; then
echo "Error: Port must be between 1024 and 65535. Got: $PORT"
exit 1
fi
echo "Starting Chrome with CDP on port $PORT..."
# macOS
if [[ "$OSTYPE" == "darwin"* ]]; then
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=$PORT \
--no-first-run \
--no-default-browser-check \
"$@"
# Linux
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
google-chrome \
--remote-debugging-port=$PORT \
--no-first-run \
--no-default-browser-check \
"$@"
# Windows (Git Bash / WSL)
else
echo "Please start Chrome manually with: --remote-debugging-port=$PORT"
fi