Skip to main content
Glama
aFedorov53412

Stock MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost the MCP/HTTP server binds to.127.0.0.1
MCP_PORTNoPort the MCP/HTTP server listens on.9898
PROXY_HOSTNoProxy host used by foreign data providers. In Docker mode this is overridden to host.docker.internal by default.
PROXY_PORTNoProxy port used by foreign data providers.
DATABASE_URLNoDatabase connection URL.
PROXY_ENABLEDNoEnable outbound proxy for foreign data providers.
TUSHARE_TOKENNoTushare API token.
TAVILY_API_KEYNoTavily API key used for unified news search.
FINNHUB_API_KEYNoFinnhub API key.
FINNHUB_ENABLEDNoEnable the Finnhub provider.
TUSHARE_ENABLEDNoEnable the Tushare provider.
TUSHARE_HTTP_URLNoTushare HTTP endpoint URL.
DOCKER_PROXY_HOSTNoOverrides the proxy host used inside Docker when the proxy is not on the host machine.host.docker.internal
DOCKER_POSTGRES_DBNoPostgres database name for the Docker Compose stack.
STOCK_MCP_AUTH_MODENoAuthentication mode: one of none, token, or jwt. In token and jwt modes, /mcp, /api/v1/*, /docs, /redoc, /openapi.json, and / require a Bearer token; /health stays anonymous.none
DOCKER_POSTGRES_PORTNoHost port mapped to the Postgres container (container-internal port stays 5432).15432
DOCKER_POSTGRES_USERNoPostgres user for the Docker Compose stack.
SECURITY_MASTER_BACKENDNoBackend used for the security master (e.g. sqlite).
DOCKER_POSTGRES_PASSWORDNoPostgres password for the Docker Compose stack.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool execution.
SECURITY_MASTER_SQLITE_PATHNoPath to the SQLite file used by the security master backend.
PROVIDER_CALL_TIMEOUT_SECONDSNoTimeout in seconds for provider calls.
STOCK_MCP_STATIC_BEARER_TOKENNoStatic Bearer token used for protected paths 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