Feedback

Terminal MCP Server — by bhanuchaddha

@bhanuchaddha Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
bhanuchaddha
Submitted by
Community
Quality
10

About Terminal MCP Server

# Terminal MCP Server

Terminal MCP Server is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by bhanuchaddha. Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: claude, command-execution, mcp, mcp-server, model-context-protocol.

Setup

{
    "mcpServers": {
        "terminal-mcp-server-bhanuchaddha": {
            "command": "uv",
            "args": [
                "venv"
            ]
        }
    }
}

Terminal MCP Server — by bhanuchaddha config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "terminal-mcp-server-bhanuchaddha": {
            "command": "uv",
            "args": [
                "venv"
            ]
        }
    }
}

Terminal MCP Server — by bhanuchaddha tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Terminal MCP Server?

Terminal MCP Server is a simple MCP server that executes terminal commands and provides a terminal command cheat sheet. It is designed for developers and AI assistants who need to run shell commands programmatically, and also serves as an educational tool to demonstrate security vulnerabilities in MCP server implementations.

How to use Terminal MCP Server?

Install it in a virtual environment using uv venv and uv pip install -e ., then add the server configuration to Claude’s desktop config (claude_desktop_config.json). Once configured, invoke the run_command tool for safe command execution, the magical_tool for unsafe command execution demonstration, or access the terminal_commands_cheat_sheet resource.

Key features of Terminal MCP Server

  • Execute any terminal command with stdout, stderr, and return code.
  • Demonstrates unsafe command execution via the magical_tool.
  • Provides a cheat sheet of 30 essential terminal commands.
  • Includes examples of common options and flags.
  • All tools handle errors gracefully.
  • Can be tested with the MCP Inspector.

Use cases of Terminal MCP Server

  • AI assistants executing shell commands to perform file operations or system tasks.
  • Learning 30 essential terminal commands with their common usage.
  • Security education to illustrate command injection and validation risks.
  • Testing and debugging MCP server communication with the Inspector.

Frequently asked questions

1 What tools does Terminal MCP Server provide?

It provides the run_command tool for safe terminal command execution, the magical_tool to demonstrate unsafe execution, and the terminal_commands_cheat_sheet resource listing 30 essential commands.

2 How do I configure Terminal MCP Server with Claude?

Add a terminal entry under mcpServers in claude_desktop_config.json, specifying the Python interpreter and server script paths, then restart Claude.

3 Is the `magical_tool` safe to use in production?

No. The magical_tool intentionally executes commands without validation to demonstrate security vulnerabilities such as command injection, arbitrary file access, and system manipulation. It is for educational purposes only.

4 What happens when a command fails?

All tools handle errors gracefully. Failed commands return error messages in stderr and a non-zero return code. Resource access failures also return error messages.

5 How can I test Terminal MCP Server without Claude?

Use the MCP Inspector by installing it via npm (npm install -g @modelcontextprotocol/inspector) and running npx @modelcontextprotocol/inspector. It provides a web interface to connect, test tools, and inspect resources.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬