Skip to main contentDescription
A secure Model Context Protocol (MCP) server implementation for executing controlled command-line operations with comprehensive security features. Enables safe CLI access for LLM applications.
Key Features
- 🔒 Secure command execution with validation
- ⚙️ Configurable command and flag whitelisting
- 🛡️ Path traversal prevention
- 🚫 Shell operator injection protection
- ⏱️ Execution timeouts and length limits
- 📝 Detailed error reporting
- 🔄 Async operation support
- 🎯 Working directory restrictions
Codebase
This is a local MCP server that runs on your machine.
Source Code: /mcp_servers/local/terminal/
GitHub Repository: https://github.com/Klavis-AI/klavis/tree/main/mcp_servers/local/terminal
For detailed documentation, installation instructions, and usage examples, please refer to the README in the codebase.