Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Image Processor MCP Server
  • Kali Linux MCP Server
  • Fantasy Premier League MCP Server
  • iTerm MCP Server
  • Gmail Plugin MCP Server
Back to MCP Servers
MCP Terminal Server

MCP Terminal Server

Public
ivannafigueroa/mcp-shell-server

A simple MCP server that allows running terminal commands with output capture, enabling command execution on the host system from MCP-compatible clients like Claude Desktop.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

MCP Terminal Server

A simple MCP server that exposes a tool for running terminal commands.

Installation

  1. Install the MCP Python SDK:
pip install mcp

Usage

  1. Start the server:
python server.py
  1. Connect to the server in an MCP-compatible client, such as Claude Desktop:
mcp install server.py

Or use the MCP Inspector to test it:

mcp dev server.py

Tool Overview

This server exposes one tool:

terminal_command

Runs a terminal command and returns its output.

Parameters:

  • command: The command to run in the terminal

Returns:

  • A dictionary containing:
    • stdout: The standard output from the command
    • stderr: The standard error output from the command
    • return_code: The command's return code (0 typically means success)

Example Usage in Claude:

Can you list the files in the current directory using the terminal tool?

Security Considerations

This tool executes commands directly on your system. Use with caution as it can run any command with the same permissions as the user running the server.

Limitations

  • Commands timeout after 30 seconds
  • For security reasons, consider implementing additional validation and restrictions on the commands that can be executed
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Image Processor MCP Server
    Image Processor MCP Server

    A TypeScript-based MCP server that implements a simple notes system, allowing users to create, acces...

    2 tools
    Added May 30, 2025
  • Kali Linux MCP Server
    Kali Linux MCP Server

    A tool that allows penetration testing through Kali Linux commands executed via a Multi-Conversation...

    5 tools
    Added May 30, 2025
  • Fantasy Premier League MCP Server
    Fantasy Premier League MCP Server

    A Model Context Protocol server that provides access to Fantasy Premier League data, allowing users ...

    Added May 30, 2025
  • iTerm MCP Server
    iTerm MCP Server

    A Model Context Protocol server that enables AI assistants to interact with iTerm2 terminals, allowi...

    Added May 30, 2025
  • Gmail Plugin MCP Server
    Gmail Plugin MCP Server

    An MCP server that enables Gmail integration, allowing users to manage emails (send, receive, read, ...

    Added May 30, 2025