MladenSU_cli-mcp-server
If you are the rightful owner of MladenSU_cli-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A secure Model Context Protocol (MCP) server implementation for executing controlled command-line operations with comprehensive security features.
The CLI MCP Server is a secure Model Context Protocol (MCP) server designed to execute command-line operations with robust security measures. It ensures secure command execution by implementing command whitelisting, path validation, and execution controls. This server is ideal for providing controlled CLI access to LLM applications while maintaining high security standards. It supports configurable command and flag whitelisting, path traversal prevention, shell operator injection protection, execution timeouts, and detailed error reporting. Additionally, it supports asynchronous operations, making it a versatile tool for secure command-line execution.
Features
- 🔒 Secure command execution with strict validation
- ⚙️ Configurable command and flag whitelisting
- 🛡️ Path traversal prevention
- 🚫 Shell operator injection protection
- ⏱️ Execution timeouts and length limits
Tools
run_command
Executes whitelisted CLI commands within allowed directories.
show_security_rules
Displays current security configuration and restrictions.