shell-command-mcp
If you are the rightful owner of shell-command-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.
Shell Command MCP Server is a Model Context Protocol server designed to execute shell commands within a Docker container, providing a secure and isolated environment.
The Shell Command MCP Server is a specialized server that facilitates the execution of shell commands within a Docker container. It offers a secure and isolated workspace, ensuring that commands are executed without direct access to the host Docker daemon. This server supports both synchronous and asynchronous execution of shell scripts, with various notification modes for output. It includes essential Kubernetes tools and operates within an isolated Docker environment using a non-root user. The server is designed to provide a human-like workspace for AI, with authorization managed through container isolation and external restrictions. The implementation is kept simple to allow for easy code auditing.
Features
- Run shell scripts through a simple MCP interface with synchronous and asynchronous execution modes.
- Includes Kubernetes tools: kubectl, helm, kustomize, hemfile.
- Isolated Docker container environment with non-root user and host-container userid/groupid mapping.
- Mount a host directory to the container for persistence, ensuring file ownership and permissions.
- Initial files are copied from a backup if the host directory is empty.
Tools
execute-bash-script-sync
./src/execute-bash-script-sync.ts
execute-bash-script-async
./src/execute-bash-script-async.ts