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
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
Comments