Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost the MCP / HTTP server binds to (default 127.0.0.1).
MCP_PORTNoPort the MCP / HTTP server listens on (default 9898).
PROXY_HOSTNoProxy host used by foreign providers (Yahoo/yfinance, Finnhub, Futures, Alpha Vantage, Twelve Data, FRED, CCXT, Crypto, EDGAR). In Docker mode this is overridden to host.docker.internal by default.
PROXY_PORTNoProxy port used by foreign providers.
DATABASE_URLNoDatabase connection URL used by the service.
PROXY_ENABLEDNoWhether to route foreign data providers through the configured proxy.
TUSHARE_TOKENNoTushare API token.
TAVILY_API_KEYNoTavily API key used for unified news search (all news retrieval now goes through Tavily).
FINNHUB_API_KEYNoFinnhub API key.
FINNHUB_ENABLEDNoWhether the Finnhub data provider is enabled.
TUSHARE_ENABLEDNoWhether the Tushare domestic data provider is enabled.
TUSHARE_HTTP_URLNoTushare HTTP API endpoint URL.
DOCKER_PROXY_HOSTNoOverride for PROXY_HOST when running in Docker, if your proxy is not on the host machine.
DOCKER_POSTGRES_DBNoPostgres database name for the Docker stack.
STOCK_MCP_AUTH_MODENoAuthentication mode for the server. One of: none (local development / open-source trial default, no auth), token (static Bearer token for personal/intranet deployment), or jwt (production OIDC/JWKS compatible JWT verification).
DOCKER_POSTGRES_PORTNoHost port mapped to Postgres in the Docker stack (default 15432, to avoid clashing with a local 5432; internally the container still uses postgres:5432).
DOCKER_POSTGRES_USERNoPostgres user for the Docker stack.
SECURITY_MASTER_BACKENDNoBackend used for the security master data store.
DOCKER_POSTGRES_PASSWORDNoPostgres password for the Docker stack.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool calls.
SECURITY_MASTER_SQLITE_PATHNoFilesystem path to the SQLite database used by the security master backend.
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 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