Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default | 
|---|---|---|---|
| LOG_FILE | No | Path to log file | ./logs/xiaohongshu-mcp.log | 
| MCP_HOST | No | MCP service host | localhost | 
| MCP_PORT | No | MCP service port | 18060 | 
| LOG_LEVEL | No | Logging level | INFO | 
| XIAOHONGSHU_HEADLESS | No | Whether to run the browser in headless mode | true | 
| XIAOHONGSHU_COOKIES_PATH | No | Path to store cookies | ./cookies | 
| XIAOHONGSHU_SCREENSHOTS_PATH | No | Path to store screenshots | ./screenshots | 
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  | |