We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yaniv-golan/mcp-bash-framework'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ping.sh•263 B
#!/usr/bin/env bash
# Ping handler.
set -euo pipefail
mcp_handle_ping() {
local _method="$1"
local json_payload="$2"
local id
if ! id="$(mcp_json_extract_id "${json_payload}")"; then
id="null"
fi
printf '{"jsonrpc":"2.0","id":%s,"result":{}}' "${id}"
}