We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/isaachansen/wiki-osrs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/usr/bin/env bash
set -euo pipefail
CONFIG="$HOME/.mcp/config.json"
BACKUP="$CONFIG.bak.$(date +%s)"
mkdir -p "$HOME/.mcp"
# Backup existing config
if [ -f "$CONFIG" ]; then
cp "$CONFIG" "$BACKUP"
fi
# Create base config if missing
if [ ! -f "$CONFIG" ]; then
cat > "$CONFIG" <<'JSON'
{
"clients": {
"default": {
"transport": "stdio",
"servers": {}
}
}
}
JSON
fi
# Ensure jq is installed
if ! command -v jq >/dev/null 2>&1; then
echo "Please install 'jq' (brew install jq, apt-get install jq, etc.)"
exit 1
fi
TMP="$(mktemp)"
jq '
.clients //= {} |
.clients.default //= {} |
.clients.default.transport = "stdio" |
.clients.default.servers //= {} |
.clients.default.servers["osrs-wiki-mcp"] = {
"title": "OSRS Wiki",
"icons": [
{
"src": "https://oldschool.runescape.wiki/images/thumb/b/bc/Old_School_RuneScape_Wiki_logo.png/284px-Old_School_RuneScape_Wiki_logo.png",
"mimeType": "image/png",
"sizes": "284x270"
}
],
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://wiki-osrs-mcp.isaachansen2400.workers.dev/mcp"
]
}
' "$CONFIG" > "$TMP"
mv "$TMP" "$CONFIG"
echo "✅ osrs-wiki-mcp server added to $CONFIG"
echo "➡ Reload Cursor or Claude to pick up the new server."