Command Executor MCP ServerServer

Sunwood-ai-labs
GitHub
command-executionAI-integrationsecurity

Loading subscription status...

💡 Description

A Model Context Protocol server that securely executes pre-approved commands, allowing AI assistants to interact safely with user systems.

📝 JSON Entries

{
  "mcpServers": [
    {
      "command-executor": {
        "env": {
          "ALLOWED_COMMANDS": "git,ls,mkdir,python"
        },
        "args": [],
        "command": "/path/to/command-executor/build/index.js"
      }
    }
  ]
}

🛠️ Tools

execute_command

Features

  • Execution of pre-approved commands
  • Configuration of allowed commands via environment variables
  • Error handling and security validation
  • Real-time command output streaming

💬 Example Queries

  • Execute git status
  • Run npm install
  • Check the current directory