server-run-commands logo

server-run-commands

by anton-107

This MCP server allows you to run commands on the local operating system. It's designed to be used with tools like Claude Desktop to extend their capabilities.

View on GitHub

Last updated: N/A

server-run-commands

MCP server to run commands on the local OS

Code written following the official MCP guide:

  • https://modelcontextprotocol.io/quickstart

Tools

  • run-command
    • Run a command on the local OS
    • Input: command (string)
    • Passes the process exit code and stdout back to the LLM

Installation

  • git clone https://github.com/anton-107/server-run-commands.git
  • cd server-run-commands
  • npm install
  • npm run build

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "run-commands": {
      "command": "<PATH TO LOCAL NODE>",
      "args": [
        "<PATH TO GIT CLONE FOLDER>/server-run-commands/build"
      ]
    }
  }
}