Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Server host | 127.0.0.1 |
| PORT | No | Server port | 3000 |
| NODE_ENV | No | Set to 'production' to enable security features | |
| USER_AGENT | No | User agent string for API requests | medical-mcp/1.0 |
| SERPAPI_KEY | No | Optional API key to use SerpAPI for Google Scholar with fallback to scraping | |
| FDA_API_BASE | No | Optional API base override for FDA | |
| PBS_API_BASE | No | Required for PBS. e.g. https://data-api.health.gov.au/pbs/api/v3 | |
| WHO_API_BASE | No | Optional API base override for WHO | |
| RXNAV_API_BASE | No | Optional API base override for RxNorm | |
| ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for CORS (when DNS rebinding protection is enabled) | |
| PUBMED_API_BASE | No | Optional API base override for PubMed | |
| PBS_CACHE_TTL_MS | No | PBS GET cache TTL in milliseconds | 300000 |
| MCP_REQUEST_TIMEOUT | No | Request timeout in milliseconds (max: 300000) | 30000 |
| PBS_MIN_INTERVAL_MS | No | Minimum delay between PBS requests (global throttle) in milliseconds | 20000 |
| DEFAULT_COUNTRY_ISO3 | No | e.g. 'AUS' to default WHO queries to Australia | |
| PBS_SUBSCRIPTION_KEY | No | Required by API gateway. Provide your key or use the public unregistered key from docs | |
| GOOGLE_SCHOLAR_API_BASE | No | Optional API base override for Google Scholar | |
| ENABLE_DNS_REBINDING_PROTECTION | No | Enable DNS rebinding attack protection (default: false, true in production) | false |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |