Command Executor MCP Server

A Model Context Protocol server for executing pre-approved commands

Local serverstdioPython

What is the Command Executor MCP server?

Command Executor MCP server exists for a simple reason — assistants are far more useful when they can act on Command Executor directly instead of describing what you should do. A Model Context Protocol server for executing pre-approved commands.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once Command Executor is connected, these are the calls the assistant has available:

  • mkdir — cd
  • execute_command — Parameters: - command (string, required): The command to execute

Configuration and credentials

You will need one environment variable: ALLOWED_COMMANDS. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the command executor mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Command Executor's toolset — mkdir, execute_command — is a fair guide to whether it matches your workflow. It is maintained by Sunwood-ai-labs; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Command Executor's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
mkdircd
execute_commandParameters: - command (string, required): The command to execute

How to install the Command Executor MCP server

{
  "mcpServers": {
    "command-executor": {
      "command": "/path/to/command-executor/build/index.js"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ALLOWED_COMMANDSConfiguration value read at startup.Optional

Example prompts to try

  • Use Command Executor to mkdir.
  • Use Command Executor to execute command.

Frequently asked questions

It connects Command Executor to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (mkdir, execute_command) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Command Executor directly.