cli-mcp-server
0
CLI MCP Server is a Model Context Protocol server enabling secure and controlled execution of command-line operations with comprehensive security features, designed for use with LLM applications. It supports configurable command whitelisting, path validation, and execution controls to ensure safety and integrity.
CLI MCP Server
A secure Model Context Protocol (MCP) server allowing controlled command-line operations with extensive security features.
Features
- Secure command execution with validation
- Command and flag whitelisting
- Path traversal and shell operator injection protection
- Execution timeouts and detailed error reporting
Configuration
Configure via environment variables for allowed directories, commands, flags, command length, and execution timeout. Options for shell operator allowance.
Security Features
- Command and flag validation
- Path traversal prevention
- Execution timeouts and directory restrictions