Command Execution MCP Server for Claude Desktop
@ryaker
About Command Execution MCP Server for Claude Desktop
Command Execution MCP Server for Claude Desktop
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Command Execution MCP Server for Claude Desktop?
The Command Execution MCP Server is a secure, controlled tool that allows Claude to execute shell commands directly on your local system. It provides safe and flexible command-line interaction through Claude's interface, with built-in safety checks and cross-platform support for macOS and other Unix-like systems.
How to use Command Execution MCP Server for Claude Desktop?
Install Node.js (v16+), npm, and Claude Desktop. Navigate to the server directory and run npm install @modelcontextprotocol/sdk. Add the provided configuration block to your Claude Desktop configuration file (claude_desktop_config.json), specifying the correct path to the script. Use the execute-command tool with a command string and optional working directory, e.g., execute-command with command="ls -la" and workingDirectory="/Users/yourusername/Documents".
Key features of Command Execution MCP Server for Claude Desktop
- Secure command execution with built-in safety checks
- Working directory support for controlled execution
- Cross-platform compatibility (macOS and Unix-like systems)
- Extensive error handling with detailed feedback
- Timeout (30s) and buffer (1MB) limits to prevent runaway commands
- Dangerous command blocking (e.g.,
rm -rf,sudo)
Use cases of Command Execution MCP Server for Claude Desktop
- Run file operations like listing contents in a specific directory
- Execute system information commands (e.g.,
uname,df -h) - Perform development tasks such as compiling code or running scripts
- Automate command-line workflows through Claude's natural language interface
FAQ from Command Execution MCP Server for Claude Desktop
What commands are blocked for security?
The server prevents execution of potentially harmful commands like rm -rf, sudo, and others that could compromise system integrity.
What are the execution constraints?
Maximum execution time is 30 seconds, maximum output buffer is 1MB, and the working directory must be valid. Interactive commands are not supported.
What are the runtime dependencies?
Node.js v16 or later and npm are required. The server uses the @modelcontextprotocol/sdk package and runs via the Node.js runtime.
Where does command output go?
Output is returned directly to Claude within the 1MB limit, with detailed feedback on execution results and errors. All data stays on your local machine.
More AI & Agents MCP servers
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Comments