Tumf MCP Shell Server
MCP Shell Server is a secure Shell command execution server that enables remote execution of whitelisted commands through the Model Context Protocol (MCP), supports standard input and timeout control, and provides comprehensive output of execution results.
rating : 2 points
downloads : 16
What is MCP Shell Server?
MCP Shell Server is a secure remote Shell command execution server based on the Model Context Protocol (MCP). It allows users to execute specified commands after whitelist verification and supports functions such as standard input and timeout control.How to use MCP Shell Server?
Users can specify allowed commands by configuring environment variables and then start the server. Clients can send requests to execute commands and get the output.Applicable scenarios
Suitable for scenarios that require secure execution of Shell commands, such as automated operation and maintenance, script execution, etc.Main features
Secure command executionOnly commands in the whitelist can be executed.
Standard input supportAllows passing input to commands via stdin.
Comprehensive outputReturns the standard output, error output, exit status code, and execution time of the command.
Shell operator validationEnsures that commands after operations such as semicolons and logical operators are also verified by the whitelist.
Timeout controlSets the maximum execution time for commands.
Advantages and limitations
Advantages
A secure command execution mechanism
Support for standard input and output
Comprehensive feedback on command execution
Prevention of command injection attacks
Limitations
Manual configuration of the whitelist is required
Some complex commands may be restricted
How to use
Install dependencies
Ensure that Python 3.11 or a higher version is installed and install the mcp-shell-server module.
Start the server
Specify allowed commands by setting the ALLOW_COMMANDS environment variable and start the server.
Send a request
Use an MCP client to send a request to the server to execute a command.
Usage examples
List directory contentsUse the ls command to view files in the /tmp directory.
Search for a pattern in a fileUse the grep command to find lines containing a specific pattern in a file.
Frequently Asked Questions
How to add new allowed commands?
How to set the command timeout?
Why can't some commands be executed?
Related resources
Official documentation
The project's GitHub homepage, containing detailed descriptions and examples.
Installation guide
Detailed installation steps.
Example configuration file
An example MCP client configuration file.
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
87
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points