Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLI_CWDNoWorking directory for subprocess (default: process.cwd()). Corresponds to --cwd option.
CLI_NAMENoTool name shown to the AI (default: <command>). Corresponds to --name option.
CLI_STDERRNostderr handling mode: 'include' (appended to tool output, default), 'drop' (discarded), or 'error' (any stderr → isError: true). Corresponds to --stderr option.
CLI_COMMANDYesThe command-line binary to expose as an MCP tool (e.g., 'rg', 'jq'). This is passed as the first argument to cli2mcp.
CLI_TIMEOUTNoSubprocess timeout per call in milliseconds (default: 60000). Corresponds to --timeout option.
CLI_DESCRIPTIONNoTool 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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