Stock MCP
by Georgeg635
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host used by the MCP server / service. | |
| MCP_PORT | No | Port used by the MCP server / service (default 9898). | |
| PROXY_HOST | No | Proxy host. In Docker mode it is overridden to host.docker.internal by default so foreign sources can reach the host proxy. | |
| PROXY_PORT | No | Proxy port. | |
| DATABASE_URL | No | Database connection URL. | |
| PROXY_ENABLED | No | Whether the proxy is enabled for foreign data sources (Yahoo/yfinance, Finnhub, Futures, Alpha Vantage, Twelve Data, FRED, CCXT, Crypto, EDGAR). Domestic sources (Tushare, Akshare, Baostock) stay direct. | |
| TUSHARE_TOKEN | No | Tushare API token. | |
| TAVILY_API_KEY | No | Tavily API key used for unified news search. | |
| FINNHUB_API_KEY | No | Finnhub API key. | |
| FINNHUB_ENABLED | No | Whether the Finnhub data source is enabled. | |
| TUSHARE_ENABLED | No | Whether the Tushare data source is enabled. | |
| TUSHARE_HTTP_URL | No | Tushare HTTP URL. | |
| DOCKER_PROXY_HOST | No | Override the Docker proxy host when your proxy is not running on the host machine. | |
| DOCKER_POSTGRES_DB | No | Postgres database name for the Docker stack. | |
| STOCK_MCP_AUTH_MODE | No | Authentication mode: none (local development / open-source trial default, no auth, recommended to listen on 127.0.0.1 only), token (static Bearer token for personal or intranet deployment), or jwt (production mode using OIDC / JWKS compatible JWT verification). | |
| DOCKER_POSTGRES_PORT | No | Host port mapping for postgres in Docker (default 15432, to avoid conflicting with a local 5432). The container internally still uses postgres:5432. | |
| DOCKER_POSTGRES_USER | No | Postgres user for the Docker stack. | |
| SECURITY_MASTER_BACKEND | No | Backend used for the security master. | |
| DOCKER_POSTGRES_PASSWORD | No | Postgres password for the Docker stack. | |
| MCP_TOOL_TIMEOUT_SECONDS | No | Timeout in seconds for MCP tool calls. | |
| SECURITY_MASTER_SQLITE_PATH | No | SQLite path used for the security master. | |
| PROVIDER_CALL_TIMEOUT_SECONDS | No | Timeout in seconds for provider calls. | |
| STOCK_MCP_STATIC_BEARER_TOKEN | No | Static Bearer token used when STOCK_MCP_AUTH_MODE=token. All protected paths require this Bearer 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessResponsive