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. |
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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RonieNeubauer/cli2mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server