Skip to main content
Glama

mcphub

by samanhappy
entrypoint.sh578 B
#!/bin/bash NPM_REGISTRY=${NPM_REGISTRY:-https://registry.npmjs.org/} echo "Setting npm registry to ${NPM_REGISTRY}" npm config set registry "$NPM_REGISTRY" # 处理 HTTP_PROXY 和 HTTPS_PROXY 环境变量 if [ -n "$HTTP_PROXY" ]; then echo "Setting HTTP proxy to ${HTTP_PROXY}" npm config set proxy "$HTTP_PROXY" export HTTP_PROXY="$HTTP_PROXY" fi if [ -n "$HTTPS_PROXY" ]; then echo "Setting HTTPS proxy to ${HTTPS_PROXY}" npm config set https-proxy "$HTTPS_PROXY" export HTTPS_PROXY="$HTTPS_PROXY" fi echo "Using REQUEST_TIMEOUT: $REQUEST_TIMEOUT" exec "$@"

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/samanhappy/mcphub'

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