shell-mcp

shell-mcp

3.3

If you are the rightful owner of shell-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server implementation that provides secure shell command execution capabilities for LLMs.

Shell-MCP is a Model Context Protocol (MCP) server designed to facilitate secure execution of shell commands through integration with Language Learning Models (LLMs). It ensures that only whitelisted commands and arguments are executed, providing a controlled environment for command execution. The server monitors resource usage, such as memory and CPU, and enforces timeout controls to prevent long-running commands from consuming excessive resources. Additionally, it imposes output size limits to maintain safety and efficiency. Shell-MCP is compatible with Claude and other MCP-compatible LLMs, making it a versatile tool for automation and command execution in various environments.

Features

  • Secure Execution: Whitelisted commands and arguments only
  • Resource Control: Memory and CPU usage monitoring
  • Timeout Control: Automatic termination of long-running commands
  • Size Limits: Output size restrictions for safety
  • MCP Integration: Works with Claude and other MCP-compatible LLMs

Tools

  1. shell_ls

    Execute whitelisted shell commands

  2. shell_pwd

    Execute whitelisted shell commands

  3. shell_df

    Execute whitelisted shell commands