Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost interface for the MCP/HTTP server.
MCP_PORTNoPort for the MCP/HTTP server. Defaults to 9898 in the documented setup.9898
PROXY_HOSTNoProxy host for foreign data providers. In Docker mode this is overridden to host.docker.internal by default.host.docker.internal
PROXY_PORTNoProxy port for foreign data providers.
DATABASE_URLNoDatabase connection URL used by the server.
PROXY_ENABLEDNoWhether explicit proxy routing is enabled for foreign data providers.
TUSHARE_TOKENNoTushare token used when the Tushare provider is enabled.
TAVILY_API_KEYNoTavily API key used for unified news retrieval.
FINNHUB_API_KEYNoFinnhub API key used when the Finnhub provider is enabled.
FINNHUB_ENABLEDNoWhether the Finnhub data provider is enabled.
TUSHARE_ENABLEDNoWhether the Tushare data provider is enabled.
TUSHARE_HTTP_URLNoHTTP URL used by the Tushare provider.
DOCKER_PROXY_HOSTNoOverride for the proxy host used inside Docker when the proxy is not on the Docker host.
DOCKER_POSTGRES_DBNoPostgres database name for the Docker Compose database service.
STOCK_MCP_AUTH_MODENoAuthentication mode: none, token, or jwt. Defaults to none for local development/open-source trial.none
DOCKER_POSTGRES_PORTNoHost port mapped to the Docker Postgres service. Defaults to 15432 to avoid conflicting with local 5432.15432
DOCKER_POSTGRES_USERNoPostgres user for the Docker Compose database service.
SECURITY_MASTER_BACKENDNoBackend used for the security master data store.
DOCKER_POSTGRES_PASSWORDNoPostgres password for the Docker Compose database service.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool execution.
SECURITY_MASTER_SQLITE_PATHNoSQLite path for the security master data store when applicable.
PROVIDER_CALL_TIMEOUT_SECONDSNoTimeout in seconds for provider calls.
STOCK_MCP_STATIC_BEARER_TOKENNoStatic Bearer token used when STOCK_MCP_AUTH_MODE=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