cli-mcp-server
A secure command line interface for executing controlled command-line operations with customizable security policies.
This MCP server enables secure command-line execution with robust security measures including command whitelisting, path validation, and execution controls. It is designed to provide controlled CLI access to LLM applications while maintaining security. With comprehensive security features, it ensures that only authorized commands are executed, preventing unauthorized access and potential security breaches.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"cli-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-cli-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions