We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fonoster/fonoster'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/bin/bash
set -e
KEY_SIZE=2048
KEY_ALGORITHM="rsa"
KEY_OUT_DIR=".keys"
mkdir -p $KEY_OUT_DIR
echo "generating keys in the '$KEY_OUT_DIR' directory..."
if [ -f $KEY_OUT_DIR/private.pem ] && [ -f $KEY_OUT_DIR/public.pem ]; then
echo "keys already exist in the '$KEY_OUT_DIR' directory."
exit 0
fi
openssl genpkey -algorithm $KEY_ALGORITHM -out $KEY_OUT_DIR/private.pem -pkeyopt rsa_keygen_bits:$KEY_SIZE
openssl rsa -in $KEY_OUT_DIR/private.pem -pubout -out $KEY_OUT_DIR/public.pem
echo "keys generated in the '$KEY_OUT_DIR' directory."