Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost the MCP / HTTP server listens on.
MCP_PORTNoPort the MCP / HTTP server listens on (default 9898).
PROXY_HOSTNoProxy host used by foreign data sources.
PROXY_PORTNoProxy port used by foreign data sources.
DATABASE_URLNoDatabase connection URL.
PROXY_ENABLEDNoWhether to enable the outbound proxy for foreign data sources.
TUSHARE_TOKENNoTushare API token.
TAVILY_API_KEYNoTavily API key used for the unified news search.
FINNHUB_API_KEYNoFinnhub API key.
FINNHUB_ENABLEDNoWhether to enable the Finnhub data source.
TUSHARE_ENABLEDNoWhether to enable the Tushare data source.
TUSHARE_HTTP_URLNoTushare HTTP API URL.
DOCKER_PROXY_HOSTNoProxy host used inside Docker; defaults to host.docker.internal.
DOCKER_POSTGRES_DBNoPostgres database name for the Docker stack.
STOCK_MCP_AUTH_MODENoAuthentication mode: none (local development / default), token (static Bearer token), or jwt (OIDC / JWKS).none
DOCKER_POSTGRES_PORTNoHost port mapped to the Postgres container (default 15432).
DOCKER_POSTGRES_USERNoPostgres user for the Docker stack.
SECURITY_MASTER_BACKENDNoBackend used for the security master.
DOCKER_POSTGRES_PASSWORDNoPostgres password for the Docker stack.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool calls.
SECURITY_MASTER_SQLITE_PATHNoPath to the security master SQLite database.
PROVIDER_CALL_TIMEOUT_SECONDSNoTimeout in seconds for provider calls.
STOCK_MCP_STATIC_BEARER_TOKENNoStatic Bearer token used to protect /mcp, /api/v1/*, /docs, /redoc, /openapi.json and / when AUTH_MODE is token.

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