Skip to main content
Glama
Tuyend733

Stock MCP

by Tuyend733

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost to bind the MCP/HTTP server to.
MCP_PORTNoPort to bind the MCP/HTTP server to.
PROXY_HOSTNoProxy host used for foreign data sources. In Docker mode it is overridden to host.docker.internal by default.
PROXY_PORTNoProxy port used for foreign data sources.
DATABASE_URLNoDatabase connection URL.
PROXY_ENABLEDNoWhether to route foreign data sources (Yahoo/yfinance, Finnhub, Futures, Alpha Vantage, Twelve Data, FRED, CCXT, Crypto, EDGAR) through an explicit proxy. Domestic sources (Tushare, Akshare, Baostock) stay direct.
TUSHARE_TOKENNoTushare API token.
TAVILY_API_KEYNoTavily API key used for unified news retrieval/search.
FINNHUB_API_KEYNoFinnhub API key.
FINNHUB_ENABLEDNoWhether to enable the Finnhub provider.
TUSHARE_ENABLEDNoWhether to enable the Tushare provider.
TUSHARE_HTTP_URLNoTushare HTTP endpoint URL.
DOCKER_PROXY_HOSTNoOverride 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 (local development, no auth, default), token (static Bearer token), jwt (OIDC/JWKS-based JWT verification for production).none
DOCKER_POSTGRES_PORTNoHost port mapping for Postgres when running via Docker Compose (default 15432 to avoid clashing with local 5432).
DOCKER_POSTGRES_USERNoPostgres user for the Docker Compose stack.
SECURITY_MASTER_BACKENDNoBackend used by the security master lookup.
DOCKER_POSTGRES_PASSWORDNoPostgres password for the Docker Compose stack.
MCP_TOOL_TIMEOUT_SECONDSNoTimeout in seconds for MCP tool calls.
SECURITY_MASTER_SQLITE_PATHNoSQLite path used by the security master when the SQLite backend is selected.
PROVIDER_CALL_TIMEOUT_SECONDSNoTimeout in seconds for provider calls.
STOCK_MCP_STATIC_BEARER_TOKENNoStatic Bearer token required for protected paths (/mcp, /api/v1/*, /docs, /redoc, /openapi.json, /) 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