Design Engineer Logo
Visit Repo
Open Graph preview

MCP Server Commands

A server implementation to execute system commands and scripts via CLI interface

Site favicon
⚡️ System Operation

Overview

mcp-server-commands

Description:
A server implementation to execute system commands and scripts via CLI interface

Category: System Utilities & Command Execution

Overview:

  • Enables running system commands and scripts through a standardized interface
  • Supports multiple shell environments (fish, bash, zsh, python)
  • Two main tools available:
    • run_command: Executes single commands and returns STDOUT/STDERR
    • run_script: Runs scripts passed through STDIN
  • Built-in safety features:
    • Requires command approval in Claude Desktop
    • Runs with user-level permissions (no sudo)
    • Includes verbose logging options

Installation:

npx mcp-server-commands

Configuration:
Add to Claude Desktop config file:

{
  "mcpServers": {
    "mcp-server-commands": {
      "command": "npx",
      "args": ["mcp-server-commands"],
      "env": {
        "VERBOSE": "true"  // Optional for detailed logging
      }
    }
  }
}

Key Features:

  • Intelligent command execution
  • Script interpretation support
  • Comprehensive logging system
  • Debug tools via MCP Inspector
  • Cross-shell compatibility

Important Notes:

  • Review each command before execution
  • Logs location: ~/Library/Logs/Claude/mcp-server-mcp-server-commands.log
  • Debugging available through browser-based interface
  • Commands run with user-level permissions for security