Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | MySQL database host | localhost |
| DB_NAME | No | MySQL database name | xiaohongshu_mcp |
| DB_PORT | No | MySQL database port | 3306 |
| DB_USER | No | MySQL database user | root |
| REDIS_DB | No | Redis database number | 0 |
| REDIS_HOST | No | Redis host | localhost |
| REDIS_PORT | No | Redis port | 6379 |
| DB_PASSWORD | Yes | MySQL database password | |
| PROXY_ENABLED | No | Enable proxy configuration | true |
| PROXY_TIMEOUT | No | Proxy timeout in milliseconds | 10000 |
| REDIS_PASSWORD | No | Redis password | |
| BROWSER_TIMEOUT | No | Browser timeout in milliseconds | 30000 |
| MCP_SERVER_HOST | No | MCP server host | 0.0.0.0 |
| MCP_SERVER_PORT | No | MCP server port | 3000 |
| BROWSER_HEADLESS | No | Browser headless mode | true |
| TASK_RETRY_DELAY | No | Task retry delay in milliseconds | 2000 |
| MCP_WEBSOCKET_PORT | No | MCP WebSocket port | 3001 |
| FINGERPRINT_ENABLED | No | Enable fingerprint configuration | true |
| TASK_RETRY_ATTEMPTS | No | Task retry attempts | 3 |
| PROXY_CHECK_INTERVAL | No | Proxy check interval in milliseconds | 300000 |
| TASK_MAX_CONCURRENCY | No | Maximum task concurrency | 10 |
| FINGERPRINT_CACHE_SIZE | No | Fingerprint cache size | 1000 |
| BROWSER_MAX_CONCURRENCY | No | Maximum browser concurrency | 5 |
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 |
|---|---|
No tools | |