cli2mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLI_CWD | No | Working directory for subprocess (default: process.cwd()). Corresponds to --cwd option. | |
| CLI_NAME | No | Tool name shown to the AI (default: <command>). Corresponds to --name option. | |
| CLI_STDERR | No | stderr handling mode: 'include' (appended to tool output, default), 'drop' (discarded), or 'error' (any stderr → isError: true). Corresponds to --stderr option. | |
| CLI_COMMAND | Yes | The command-line binary to expose as an MCP tool (e.g., 'rg', 'jq'). This is passed as the first argument to cli2mcp. | |
| CLI_TIMEOUT | No | Subprocess timeout per call in milliseconds (default: 60000). Corresponds to --timeout option. | |
| CLI_DESCRIPTION | No | Tool description shown to the AI (default: first --help line). Corresponds to --description option. |
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
ActivityInactive
ResponsivenessNo issues