mcp-command-server MCP Server

A secure Model Context Protocol (MCP) server for executing system commands through LLM applications like Claude.

Local serverstdio

What is the mcp-command-server MCP Server?

mcp-command-server is an MCP project maintained in the andrew-beniash/mcp-command-server repository. The maintainer describes its purpose as “A secure Model Context Protocol (MCP) server for executing system commands through LLM applications like Claude”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares ALLOWED_COMMANDS. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mcp-command-server MCP Server

{
  "mcpServers": {
    "command-server": {
      "command": "uv",
      "args": [
        "run",
        "python",
        "-m",
        "mcp_command_server"
      ],
      "env": {
        "ALLOWED_COMMANDS": "ls,pwd,echo"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ALLOWED_COMMANDSDeclared in the maintainer’s client configuration.Check documentation