Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TUSHARE_TOKEN | No | Your Tushare token (optional, for A-share fundamentals). Register at: https://tushare.pro/ | |
| FINNHUB_API_KEY | Yes | Your Finnhub API key (required for fundamentals and financial statements). Get yours at: https://finnhub.io/register | |
| FUTU_OPEND_HOST | No | Futu OpenD host address (optional, for real-time HK/US/CN data) | 127.0.0.1 |
| FUTU_OPEND_PORT | No | Futu OpenD port number (optional, for real-time HK/US/CN data) | 11111 |
| STOCK_MCP_CACHE_TTL_QUOTE | No | Quote cache TTL in seconds | 5 |
| STOCK_MCP_TIMEOUT_SECONDS | No | Request timeout in seconds | 10 |
| STOCK_MCP_CACHE_TTL_STATEMENTS | No | Financial statements cache TTL in seconds (24 hours) | 86400 |
| STOCK_MCP_CACHE_TTL_FUNDAMENTALS | No | Fundamentals cache TTL in seconds (1 hour) | 3600 |
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 | |