cli-mcp-server
The CLI MCP Server is an implementation of a secure MCP server enabling controlled command-line operations. It offers robust security features like command and flag whitelisting, path validation, and shell protection, making it ideal for integrating controlled CLI access into applications.
What is the purpose of the CLI MCP Server?
The CLI MCP Server is designed to provide secure command-line execution with robust security measures, making it suitable for controlled CLI access in LLM applications.
How can I configure the allowed commands and flags?
You can configure allowed commands and flags using environment variables such as ALLOWED_COMMANDS and ALLOWED_FLAGS, specifying a comma-separated list or 'all' to allow any command or flag.
What security features does the server offer?
The server offers command whitelist enforcement, flag validation, path traversal prevention, shell operator blocking, command length limits, execution timeouts, and working directory restrictions.
How do I install the CLI MCP Server?
You can install the CLI MCP Server for Claude Desktop automatically via Smithery using the command: npx @smithery/cli install cli-mcp-server --client claude
.
What should I do if the server is not working or showing in the UI?
If the server is not working or showing in the UI, try clearing your cache via uv clean
.