Command Execution MCP Server for Claude Desktop
@ryaker
Command Execution MCP Server for Claude Desktop について
Command Execution MCP Server for Claude Desktop
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
「AI とエージェント」の他のコンテンツ
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
コメント