Loading...
npx @smithery/cli install cli-mcp-server --client claude{
"command": {
"type": "string",
"description": "Single command to execute (e.g., 'ls -l' or 'cat file.txt')"
}
}run_commandExecutes a specified command-line command with pre-defined security constraints.
Can execute arbitrary commands within the allowed directory, potentially leading to unintended consequences if not properly configured.
show_security_rulesDisplays the current security configuration of the MCP server.
Read-only operation that only reveals the current security settings.
This server is relatively safe when command and flag whitelists are strictly defined and shell operators are disabled. Enabling shell operators or using 'all' for commands/flags significantly increases the risk of exploitation. Proper configuration and monitoring are crucial.