Skip to content
MCP server

mcp-server-commands

MCP server that lets AI clients run shell commands and processes on the host machine

Actively maintained

The repository was last updated 37 days ago and is published under MIT.

mcp-server-commands is an open-source MCP server for developer tools. It is available on CLI, macOS, Windows, Linux and Self-hosted.

Pricing
Open source
Platforms
CLI, macOS, Windows
What it can do
Can change data (1 tool)
GitHub stars
238
Last commit
Language
TypeScript

Similar MCP servers

About mcp-server-commands

This server gives an AI client a single tool, run_process, for executing commands on the machine where it runs. Callers can either pass a full command line, which goes through the system's default shell so pipes and redirects work, or pass an argument array that launches an executable directly without shell interpretation. Output comes back as text from standard output and standard error, and an optional stdin field lets a model feed scripts to interpreters such as bash or python.

It is built for people who want a local model or a desktop assistant to inspect a system or carry out small tasks on it. The README stresses caution: the server runs with the permissions of the user who launches it, and the author advises approving each command individually rather than allowing it for a whole chat. It is distributed through npm and installs by adding a short config block to clients such as Claude Desktop or Groq Desktop.

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 1 tool changes data.

From the server's own tool labels and tool names; not verified by us.

run_processName suggests: changes
Runs a command line through the default shell or an argv array directly, returning stdout and stderr.

What it does

Single run_process tool
Exposes one tool that executes commands and returns their stdout and stderr as text.
Shell or direct execution
Accepts either a shell command line or an argv array that runs an executable without a shell.
Stdin piping
An optional stdin parameter lets a model pass scripts to shells or interpreters.
Prompt template
Includes a prompt that runs a command and places its output into the chat history.
STDIO and HTTP access
Runs over STDIO, with the README pointing to mcpo for an OpenAPI-compatible HTTP bridge.
Inspector support
Includes a package script to launch the MCP Inspector for debugging.

Good for

  • Letting a local assistant check hostname, disk usage or running processes
  • Asking a model to run scripts or create files from generated text
  • Testing how a local model behaves when it is given command-line tools
  • Bridging a command-line tool to a web chat interface through mcpo

Pricing

Open source

Free and MIT-licensed

mcp-server-commands FAQ

Can I restrict which shell is used?

The README suggests listing the preferred shells in a system prompt or tool instructions so the model uses them.

How are commands and logs handled?

Only errors are logged by default; a verbose flag adds more messages, and logs go to stderr for Claude Desktop.

Should this be run with elevated privileges?

No. The README says not to run it with sudo, since it runs with the permissions of the user who starts it.

Is mcp-server-commands free?

Yes. mcp-server-commands is open source, so you can use and self-host it for free.

What are the best alternatives to mcp-server-commands?

The closest alternatives to mcp-server-commands are MCP Process, Ssh Client MCP Server, mcp-shell-server, MCP Console Automation and MCP Sidecar.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers