Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost address for the MCP server. Default is 127.0.0.1.
MCP_PORTNoPort for the MCP server. Default is 9898.
PROXY_HOSTNoProxy host address for foreign data sources.
PROXY_PORTNoProxy port for foreign data sources.
DATABASE_URLNoDatabase connection URL for the application.
PROXY_ENABLEDNoEnable or disable proxy for foreign data sources. Set to true or false.
TUSHARE_TOKENNoAPI token for Tushare data provider.
TAVILY_API_KEYNoAPI key for Tavily news search.
FINNHUB_API_KEYNoAPI key for Finnhub data provider.
FINNHUB_ENABLEDNoEnable or disable the Finnhub data provider. Set to true or false.
TUSHARE_ENABLEDNoEnable or disable the Tushare data provider. Set to true or false.
TUSHARE_HTTP_URLNoCustom HTTP URL for Tushare API.
DOCKER_PROXY_HOSTNoOverride the proxy host when running in Docker. Default is host.docker.internal.
DOCKER_POSTGRES_DBNoPostgreSQL database name for Docker Compose.
STOCK_MCP_AUTH_MODENoAuthentication mode: none, token, or jwt. Default is none.
DOCKER_POSTGRES_PORTNoHost port mapping for PostgreSQL when using Docker Compose. Default is 15432.
DOCKER_POSTGRES_USERNoPostgreSQL username for Docker Compose.
SECURITY_MASTER_BACKENDNoBackend for security master data (e.g., sqlite).
DOCKER_POSTGRES_PASSWORDNoPostgreSQL password for Docker Compose.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool calls.
SECURITY_MASTER_SQLITE_PATHNoFile path for the SQLite security master database.
PROVIDER_CALL_TIMEOUT_SECONDSNoTimeout in seconds for provider API calls.
STOCK_MCP_STATIC_BEARER_TOKENNoStatic Bearer token used when STOCK_MCP_AUTH_MODE is set to 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