ryaker

CommandExecution — Development skill for Claude Code

Development community

Command Execution MCP Server for Claude Desktop.

How to install CommandExecution

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ryaker/CommandExecution and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What CommandExecution does

Command Execution MCP Server for Claude Desktop.

Alternatives in Development

  • Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
  • Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
  • Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★

README

Command Execution MCP Server for Claude Desktop

Overview

The Command Execution MCP (Model Context Protocol) Server is a secure, controlled tool that allows Claude to execute shell commands directly on your local system. This server provides a safe and flexible way to interact with your computer's command line through Claude's interface.

Key Features

  • Secure Command Execution: Runs shell commands with built-in safety checks
  • Working Directory Support: Execute commands in specific directories
  • Cross-Platform Compatibility: Works on macOS and other Unix-like systems
  • Extensive Error Handling: Provides detailed feedback on command execution
  • Timeout and Buffer Limits: Prevents runaway or resource-intensive commands

Security Measures

The server implements multiple layers of security:

  1. **Dangerous Command Blocking**

    • Prevents execution of potentially harmful commands like rm -rf, sudo, etc.
    • Blocks commands that could compromise system integrity
  2. **Execution Constraints**

    • Maximum execution time: 30 seconds
    • Maximum output buffer: 1MB
    • Validates working directory existence

Supported Tools

1. `execute-command`

Execute shell commands with optional working directory specification.

**Parameters:**

  • command (required): The shell command to execute
  • workingDirectory (optional): Specify the directory for command execution

**Example Usage in Claude:**

execute-command with command="ls -la" and workingDirectory="/Users/yourusername/Documents"

2. `simple-hello`

A basic demonstration tool that returns a greeting.

**Parameters:**

  • name (optional): Name to greet (defaults to "World")

**Example Usage in Claude:**

simple-hello with name="Claude"

Installation

1. Prerequisites

  • Node.js (v16 or later)
  • Claude Desktop
  • npm (Node Package Manager)

2. Install Dependencies

cd /path/to/command-execution-tool
npm install @modelcontextprotocol/sdk

3.