Lanhu MCP
by Falling502
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANHU_AI_MODEL | No | Model name sent to the compatible AI service. | |
| LANHU_FLOW_DIR | No | Directory for page-flow JSON files. | .lanhu/flows |
| LANHU_HEADLESS | No | Whether Chromium runs headless for MCP calls. | true |
| LANHU_AI_API_KEY | No | Optional local environment variable for the AI API key. Takes precedence over the key file. | |
| LANHU_TIMEOUT_MS | No | Timeout for page and asset requests in milliseconds. | 30000 |
| LANHU_AI_BASE_URL | No | Local OpenAI-compatible service base URL, for example `http://127.0.0.1:1234/v1`. | |
| LANHU_AI_PROVIDER | No | Provider identifier shown in the AI settings UI. | custom |
| FIGMA_ACCESS_TOKEN | No | Optional Figma access token environment variable. Takes precedence over the token file. | |
| LANHU_DOWNLOAD_DIR | No | Directory for downloaded assets. | downloads |
| LANHU_PROJECT_ROOT | No | Base path for resolving `.env`, `.auth`, and download directories. Defaults to the current directory. | |
| FIGMA_STORAGE_STATE | No | Figma browser login state file. Defaults to using LANHU_STORAGE_STATE. | |
| LANHU_AI_TIMEOUT_MS | No | Timeout for AI optimization requests in milliseconds. | 30000 |
| LANHU_STORAGE_STATE | No | Playwright login state file for Lanhu. | .auth/storage-state.json |
| LANHU_AI_API_KEY_FILE | No | Local AI API key file. May be omitted for local services without authentication. | .auth/ai-api-key |
| LANHU_AI_SETTINGS_FILE | No | AI settings file for the endpoint and model saved from the UI. | .auth/ai-settings.json |
| MOCKPLUS_STORAGE_STATE | No | Mockplus browser login state file. Defaults to using LANHU_STORAGE_STATE. | |
| FIGMA_ACCESS_TOKEN_FILE | No | Figma official API token file. When present, enables Figma API mode. | .auth/figma-api-token |
| LANHU_MAX_DOWNLOAD_BYTES | No | Maximum size in bytes for a single downloaded asset (50 MiB by default). | 52428800 |
| LANHU_DEFAULT_VIEWPORT_WIDTH | No | Default browser viewport width. | 1440 |
| LANHU_BROWSER_EXECUTABLE_PATH | No | Optional path to a Chrome/Chromium executable. Defaults to the Playwright bundled browser. | |
| LANHU_DEFAULT_VIEWPORT_HEIGHT | No | Default browser viewport height. | 900 |
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
ActivityMaintained
ResponsivenessNo issues