Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server port when not using stdio transport | 8080 |
| TIMEZONE | No | The timezone setting for the server | GMT+7 |
| PAGE_SIZE | No | Number of items per page | 50 |
| MONGO_HOST | No | MongoDB server hostname | localhost |
| MONGO_PORT | No | MongoDB server port | 27017 |
| MONGO_USER | No | MongoDB username | admin |
| API_BASE_URL | Yes | Your stock market API URL | |
| DAYS_TO_FETCH | No | Number of days of data to fetch | 1 |
| MONGO_DATABASE | No | MongoDB database name | volume_wall_detector |
| MONGO_PASSWORD | No | MongoDB password | password |
| TRANSPORT_TYPE | No | Transport type for MCP communication | stdio |
| TRADES_TO_FETCH | No | Number of trades to fetch | 10000 |
| MONGO_AUTH_SOURCE | No | MongoDB authentication source | admin |
| MONGO_AUTH_MECHANISM | No | MongoDB authentication mechanism | SCRAM-SHA-1 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch-order-book | Fetch current order book data for a symbol |
| fetch-trades | Fetch recent trades for a symbol |
| analyze-stock | Analyze stock data including volume and value analysis |