Cmd MCP Server

Experimental MCP server to execute command line commands

Local serverstdio

What is the Cmd MCP Server?

Experimental MCP server to execute command line commands

What it actually does

The server implements one tool: - run_command: Runs a command line comment - Takes "cmd" and "args" as string arguments - Runs the command and returns stdout, stderr, status_code, etc.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
run_commandRuns a command line comment

How to install the Cmd MCP Server

{
  "mcpServers": {
    "cmd-line-executor": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/$(whoami)/experiments/claude-mvp/cmd-line-executor",
        "run",
        "cmd-line-executor"
      ]
    }
  }
}

Maintainer configuration example. Replace example paths and credential placeholders before connecting.

Example prompts to try

  • “Use Cmd to run command.”
  • “Use Cmd to Tools.”
  • “Use Cmd to Debugging.”

Frequently asked questions

It returns `stdout`, `stderr`, and `status_code` from the executed command.