mcp-shell-server
If you are the rightful owner of mcp-shell-server 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 server that uses the Model Context Protocol (MCP) to execute shell commands, functioning as a bridge for AI agents to safely execute shell commands.
The MCP Shell Server is a robust tool designed to facilitate the execution of shell commands through the Model Context Protocol (MCP). It acts as a secure intermediary, allowing AI agents to perform shell operations without direct access to the system shell. This server supports a variety of shell environments including bash, zsh, fish, powershell, and cmd, ensuring compatibility across different platforms. It features detailed error handling and logging, making it reliable for both development and production environments. The server is also compatible with MCP Inspector, enhancing its utility in debugging and monitoring tasks. Installation can be done via npm, yarn, or pnpm, and it can be integrated with tools like Cline for enhanced functionality in environments like VS Code.
Features
- Execute shell commands (single-line and multi-line support)
- Support for various shells (bash, zsh, fish, powershell, cmd, etc.)
- Detailed error handling and logging
- MCP Inspector compatible
Tools
shell_exec
Executes commands in the specified shell.