mcp-server-shell-exec

mcp-server-shell-exec

3.2

If you are the rightful owner of mcp-server-shell-exec 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.

A Model Context Protocol (MCP) server that provides persistent shell command execution capabilities for Claude and other MCP-compatible AI assistants.

The Shell Execution MCP Server is designed to facilitate persistent shell command execution for AI assistants like Claude. It maintains the state between commands, allowing for a seamless execution environment. The server supports background execution, cross-platform compatibility, and timeout control, ensuring robust process management. It is built using Node.js and can be configured to reset sessions as needed, making it versatile for various use cases. The server is compatible with macOS, Linux, and Windows, providing a consistent shell experience across different operating systems.

Features

  • Persistent Shell Session: Maintains state between commands in the same session
  • Background Execution: Run commands in the background with proper process management
  • Cross-Platform: Works on macOS, Linux, and Windows with the appropriate shell
  • Timeout Control: Configure command execution timeouts to prevent hanging
  • Session Reset: Ability to reset the shell session if needed

Tools

  1. execute-command

    Execute a shell command in the persistent shell session.

  2. reset-shell

    Reset the shell session. This will kill the current session and start a new one.