Cli
Enables secure execution of command-line operations with customizable security policies.
About
Cli provides a secure Model Context Protocol (MCP) server implementation, allowing for controlled command-line operations with comprehensive security features. It's designed to give LLM applications secure CLI access by enforcing command whitelisting, path validation, and execution controls, preventing vulnerabilities like shell operator injection and path traversal.
Key Features
- Secure command execution with strict validation
- Shell operator injection protection
- Configurable command and flag whitelisting
- Execution timeouts and length limits
- Path traversal prevention and validation
- 51 GitHub stars
Use Cases
- Securely executing commands within defined security policies
- Restricting command execution to specific directories
- Providing controlled CLI access to LLM applications