Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoServer host127.0.0.1
PORTNoServer port3000
NODE_ENVNoSet to 'production' to enable security features
USER_AGENTNoUser agent string for API requestsmedical-mcp/1.0
SERPAPI_KEYNoOptional API key to use SerpAPI for Google Scholar with fallback to scraping
FDA_API_BASENoOptional API base override for FDA
PBS_API_BASENoRequired for PBS. e.g. https://data-api.health.gov.au/pbs/api/v3
WHO_API_BASENoOptional API base override for WHO
RXNAV_API_BASENoOptional API base override for RxNorm
ALLOWED_ORIGINSNoComma-separated list of allowed origins for CORS (when DNS rebinding protection is enabled)
PUBMED_API_BASENoOptional API base override for PubMed
PBS_CACHE_TTL_MSNoPBS GET cache TTL in milliseconds300000
MCP_REQUEST_TIMEOUTNoRequest timeout in milliseconds (max: 300000)30000
PBS_MIN_INTERVAL_MSNoMinimum delay between PBS requests (global throttle) in milliseconds20000
DEFAULT_COUNTRY_ISO3Noe.g. 'AUS' to default WHO queries to Australia
PBS_SUBSCRIPTION_KEYNoRequired by API gateway. Provide your key or use the public unregistered key from docs
GOOGLE_SCHOLAR_API_BASENoOptional API base override for Google Scholar
ENABLE_DNS_REBINDING_PROTECTIONNoEnable DNS rebinding attack protection (default: false, true in production)false

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/ThrownLemon/medical-mcp'

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