Skip to main content
Glama
safe-wrapper.sh•413 B
#!/usr/bin/env bash # safe-wrapper.sh <cmd_key> # Map keys to actual commands. Keep this file owned by root and not writable by others. case "$1" in "SYS_UPTIME") /usr/bin/uptime ;; "DF_H") /bin/df -h ;; "TAIL_SYSLOG") /usr/bin/tail -n 200 /var/log/syslog ;; "RESTART_MYAPP") /usr/bin/systemctl restart myapp.service ;; *) echo "UNAUTHORIZED" exit 2 ;; esac

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/rpavez/ssh-mcp'

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