Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGS_DIRNoDirectory for log files (Node.js only). Default <app-root>/logs.
NCBI_API_KEYNoNCBI API key; raises the rate limit from 3 to 10 req/s.
OTEL_ENABLEDNoEnable OpenTelemetry. Default false.
MCP_AUTH_MODENoAuthentication: none, jwt, or oauth. Default none.
MCP_HTTP_PORTNoHTTP server port. Default 3010.
MCP_LOG_LEVELNoLog level (debug, info, warning, error, etc.). Default info.
EUROPEPMC_EMAILNoOptional contact email sent with Europe PMC requests.
NCBI_TIMEOUT_MSNoPer-request HTTP timeout, in ms. Default 30000.
UNPAYWALL_EMAILNoContact email for Unpaywall. Setting it enables the Unpaywall tier of pubmed_fetch_fulltext for non-PMC DOIs.
MCP_SESSION_MODENoHTTP session mode: stateless, stateful, or auto. Default stateless.
NCBI_ADMIN_EMAILNoContact email sent with NCBI requests, as NCBI recommends.
NCBI_MAX_RETRIESNoRetry attempts for failed NCBI requests. Default 6.
EUROPEPMC_ENABLEDNoSet false to disable every Europe PMC call. Default true.
MCP_TRANSPORT_TYPENoTransport: stdio or http. Default stdio.
NCBI_MAX_CONCURRENTNoMax concurrent in-flight NCBI requests. Default 8.
EUROPEPMC_TIMEOUT_MSNoPer-request timeout for Europe PMC calls, in ms. Default 20000.
UNPAYWALL_TIMEOUT_MSNoPer-request timeout for Unpaywall lookups and content fetches, in ms. Default 20000.
EUROPEPMC_MAX_RETRIESNoRetry attempts for failed Europe PMC requests. Default 3.
NCBI_REQUEST_DELAY_MSNoMinimum gap between NCBI request starts, in ms. Default 400 (100 with a key).
STORAGE_PROVIDER_TYPENoStorage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1. Default in-memory.
NCBI_TOTAL_DEADLINE_MSNoDeadline for one NCBI call across queue wait, retries, and backoff, in ms. Default 60000.
EUROPEPMC_REQUEST_DELAY_MSNoMinimum gap between Europe PMC request starts, in ms. Default 200.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources