Stock MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Host interface for the MCP/HTTP server. | |
| MCP_PORT | No | Port for the MCP/HTTP server. Defaults to 9898 in the documented setup. | 9898 |
| PROXY_HOST | No | Proxy host for foreign data providers. In Docker mode this is overridden to host.docker.internal by default. | host.docker.internal |
| PROXY_PORT | No | Proxy port for foreign data providers. | |
| DATABASE_URL | No | Database connection URL used by the server. | |
| PROXY_ENABLED | No | Whether explicit proxy routing is enabled for foreign data providers. | |
| TUSHARE_TOKEN | No | Tushare token used when the Tushare provider is enabled. | |
| TAVILY_API_KEY | No | Tavily API key used for unified news retrieval. | |
| FINNHUB_API_KEY | No | Finnhub API key used when the Finnhub provider is enabled. | |
| FINNHUB_ENABLED | No | Whether the Finnhub data provider is enabled. | |
| TUSHARE_ENABLED | No | Whether the Tushare data provider is enabled. | |
| TUSHARE_HTTP_URL | No | HTTP URL used by the Tushare provider. | |
| DOCKER_PROXY_HOST | No | Override for the proxy host used inside Docker when the proxy is not on the Docker host. | |
| DOCKER_POSTGRES_DB | No | Postgres database name for the Docker Compose database service. | |
| STOCK_MCP_AUTH_MODE | No | Authentication mode: none, token, or jwt. Defaults to none for local development/open-source trial. | none |
| DOCKER_POSTGRES_PORT | No | Host port mapped to the Docker Postgres service. Defaults to 15432 to avoid conflicting with local 5432. | 15432 |
| DOCKER_POSTGRES_USER | No | Postgres user for the Docker Compose database service. | |
| SECURITY_MASTER_BACKEND | No | Backend used for the security master data store. | |
| DOCKER_POSTGRES_PASSWORD | No | Postgres password for the Docker Compose database service. | |
| MCP_TOOL_TIMEOUT_SECONDS | No | Timeout in seconds for MCP tool execution. | |
| SECURITY_MASTER_SQLITE_PATH | No | SQLite path for the security master data store when applicable. | |
| 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. |
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
ResponsivenessNo issues