MCP Shell Server
About This Server
A secure shell command execution server implementing the Model Context Protocol (MCP). This server allows remote execution of whitelisted shell commands with support for stdin input.
Server Information
This webpage is a GitHub repository page for a project called "mcp-shell-server" owned by user "tumf". It provides information about the project, including its description, features, usage, security measures, development setup, API reference, requirements, and license. The repository is public and has garnered some community interest, as indicated by stars and forks.
ā Key Points:
- The project is a secure shell command execution server implementing the Model Context Protocol (MCP).
- It allows remote execution of whitelisted commands with stdin input support.
- Security is a key focus, with command whitelisting, shell operator validation, and prevention of shell injection.
- Installation is done via pip.
- The README provides instructions for setting up the server and the Claude.app for using it.
- The "mcp-shell-server" project aims to provide a secure way to execute shell commands remotely.
- The project includes various security measures to prevent unauthorized command execution.
- The project is actively developed, as indicated by recent releases.
- The provided configuration snippet suggests it is intended for use with Claude.app.
- Features: Secure command execution, stdin support, comprehensive output (stdout, stderr, exit status, execution time), shell operator safety, and timeout control.
- API Reference: Specifies the format for requests and responses, including required and optional fields.
- Development: Provides instructions for setting up a development environment, including cloning the repository and installing dependencies. Instructions on running tests are also available.
- Requirements: Requires Python 3.11 or higher and mcp >= 1.1.0.
- License: MIT License.
- Statistics: 30 stars, 11 forks, 2 releases
š Main Findings:
š Details:
šÆ Conclusion:
The "mcp-shell-server" project is a secure shell command execution server, designed with security in mind through command whitelisting and other measures. It includes instructions for installation and integration with Claude.app, making it a useful tool for secure remote shell access.
Server Features
Secure Command Execution
Only whitelisted commands can be executed
Standard Input Support
Pass input to commands via stdin
Comprehensive Output
Returns stdout, stderr, exit status, and execution time
Shell Operator Safety
Validates commands after shell operators (; , &&, ||, |)
Timeout Control
Set maximum execution time for commands
Provider Information
Tumf
cloud Provider