cmd-line-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CMD_LINE_MCP_CONFIG | No | Path to a custom configuration JSON file. | |
| CMD_LINE_MCP_COMMANDS_READ | No | Comma-separated list of allowed read commands (e.g., awk,jq,wc). | |
| CMD_LINE_MCP_COMMANDS_WRITE | No | Comma-separated list of allowed write commands. | |
| CMD_LINE_MCP_COMMANDS_SYSTEM | No | Comma-separated list of allowed system commands. | |
| CMD_LINE_MCP_SECURITY_REQUIRE_SESSION_ID | No | Whether to require a session ID for operations (true/false). Defaults to false. | |
| CMD_LINE_MCP_SECURITY_WHITELISTED_DIRECTORIES | No | Comma-separated list of whitelisted directories (e.g., /home,/tmp). | |
| CMD_LINE_MCP_SECURITY_ALLOW_COMMAND_SEPARATORS | No | Whether to allow command separators like ; or && (true/false). | |
| CMD_LINE_MCP_SECURITY_AUTO_APPROVE_DIRECTORIES_IN_DESKTOP_MODE | No | Whether to auto-approve directories when running in desktop mode (true/false). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_commandC | Execute a Unix/macOS terminal command. |
| execute_read_commandA | Execute a read-only Unix/macOS terminal command (ls, cat, grep, etc.). |
| list_available_commandsB | List all available commands by category. |
| get_command_helpB | Get detailed help about command capabilities and usage. |
| approve_command_typeC | Approve a command type for the current session. |
| approve_directoryC | Approve access to a directory for the current session. |
| list_directoriesC | List all whitelisted and approved directories. |
| get_configurationC | Get the current configuration settings. |
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/wwqdrh/MCPcmd'
If you have feedback or need assistance with the MCP directory API, please join our Discord server