Description
MCP Command Executor is a secure server that enables safe remote command execution via the MCP protocol, with robust security controls like command allowlisting, direct command execution without shell invocation, and strict environment variable management. Created by cnosuke, it provides a controlled mechanism for executing predefined system commands with granular configuration options, making it useful for scenarios requiring restricted, auditable command execution across different environments.
🔬 Playground
Try Command Executor live in the browser with security context.
Installation
git clone https://github.com/cnosuke/mcp-command-exec Claude Desktop Configuration
Add this configuration to your Claude Desktop config file to enable this MCP server:
Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json
Config file location: %APPDATA%\Claude\claude_desktop_config.json
Config file location: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"command-executor": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
} Community Reviews
Authenticated reviews from GitHub users. No anonymous submissions. Your experience helps others choose wisely.
No reviews yet. Be the first to share your experience.