terminal-mcp-server

terminal-mcp-server

3.2

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

Terminal MCP Server is a simple MCP server that executes terminal commands and provides a terminal command cheat sheet, while also demonstrating potential security vulnerabilities in MCP server implementations.

The Terminal MCP Server is designed to execute terminal commands and provide users with a cheat sheet of essential terminal commands. It highlights the importance of secure implementation by demonstrating potential security vulnerabilities through its 'magical_tool' feature. The server is easy to set up and can be integrated with platforms like Claude. It also supports testing with tools like MCP Inspector, allowing users to interact with the server through a web interface. The server emphasizes error handling and provides detailed outputs for command execution, including stdout, stderr, and return codes. It serves as both a practical tool for executing commands and an educational resource for understanding security implications in MCP server implementations.

Features

  • Terminal Command Execution: Execute any terminal command and get stdout, stderr, and return code with error handling.
  • Security Vulnerability Demo: Demonstrates unsafe command execution to highlight the importance of secure implementation.
  • Terminal Command Cheat Sheet: Provides 30 essential terminal commands with common options, flags, and usage examples.

Tools

  1. run_command

    Safe command execution tool that returns command output, errors, and exit code.

  2. magical_tool

    Demonstrates unsafe command execution, showing how external commands can be executed without proper validation.