opencli-mcp
by AloneAtWar
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCLI_MCP_BIN | No | Optional override for the OpenCLI executable or entry point. Supports .js/.mjs/.cjs, native executables, and bare command names. Takes precedence over .opencli-mcp.json and auto-discovery. | |
| OPENCLI_MCP_DEBUG | No | Set to 1 to include internal invocation and stderr details in error results. | |
| OPENCLI_MCP_SESSION | No | Default browser session name used when a Browser tool call does not specify session. Defaults to hermes-default if unset. | |
| OPENCLI_SITE_SESSION | No | OpenCLI site session lifecycle mode. Defaults to ephemeral; can be persistent. The Xiaohongshu media wrapper toggles this mode on a Navigation rejected retry. | |
| OPENCLI_MCP_TIMEOUT_MS | No | Default timeout in milliseconds for a single OpenCLI command. Defaults to 90000. | |
| OPENCLI_MCP_PREFIX_ARGS | No | Optional JSON string array of arguments appended after a .js OpenCLI entry point, for example ["C:\\path\\to\\opencli\\dist\\src\\main.js"]. | |
| OPENCLI_MCP_SITE_QUEUE_MAX | No | Maximum queued opencli_run calls per site. Integer from 1 to 256. Defaults to 8; invalid values fall back to the default. | |
| OPENCLI_MCP_SKIP_PREFLIGHT | No | Set to 1 to disable the background opencli --version preflight check. | |
| OPENCLI_MCP_SITE_CONCURRENCY | No | Maximum concurrent opencli_run calls per site. Integer from 1 to 64. Defaults to 1; invalid values fall back to the default. | |
| OPENCLI_MCP_SITE_QUEUE_WAIT_MS | No | Maximum wait time in milliseconds for a queued opencli_run call. Integer from 1 to 2147483647. Defaults to 30000; invalid values fall back to the default. | |
| OPENCLI_XIAOHONGSHU_DOWNLOAD_DIR | No | Download root directory for Xiaohongshu media. Used by download and images subcommands when --output is not provided. | |
| OPENCLI_XIAOHONGSHU_DOWNLOAD_CACHE_MAX_MB | No | Soft cache budget in MB shared by Xiaohongshu download request directories and image cache directories. Defaults to 100. | |
| OPENCLI_XIAOHONGSHU_IMAGE_CACHE_MAX_FILES | No | Maximum number of files kept in the Xiaohongshu image cache subtree. Defaults to 10. | |
| OPENCLI_XIAOHONGSHU_IMAGE_BLOCKS_PER_RESPONSE | No | Maximum number of Xiaohongshu image content blocks returned per images response. Defaults to 1 and can be set up to 20. |
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