mcp_servers

KoKocik1/mcp_servers

3.2

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

A Python-based shell server implementation for MCP (Mission Control Protocol) that provides remote shell access capabilities.

Tools
3
Resources
0
Prompts
0

Shell Server

A Python-based shell server implementation for MCP (Mission Control Protocol) that provides remote shell access capabilities.

Overview

This shell server allows secure remote shell access through the MCP protocol. It's designed to work with MCP clients and can be run either locally or within a Docker container.

Requirements

  • Python 3.12.3 or higher
  • MCP CLI tools (mcp[cli]>=1.9.1)
  • uv (optional, for local development)
  • Docker (for containerized deployment)

Installation & Setup

Local Setup with uv

  1. Install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create and activate a virtual environment:
uv venv
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate  # On Windows
  1. Install dependencies:
uv pip install -e .

Running the Server

Local Development

To run the server locally using uv:

uv run server.py
Docker Deployment
  1. Build the Docker image:
docker build -t shellserver-app .
  1. Run the container:
docker run -i --rm --init -e DOCKER_CONTAINER=true shellserver-app

Integration with Claude

To use this server with Claude, add the following configuration to your Claude settings:

To run using Docker
{
  "mcpServers": {
    "docker-shell": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "-e",
        "DOCKER_CONTAINER=true",
        "shellserver-app"
      ]
    }
  }
}
To run on your computer
{
  "mcpServers": {
    "local-shell": {
      "command": "/path/to/uv",
      "args": ["--directory", "/path/to/shellserver", "run", "server.py"]
    }
  }
}

Replace /path/to/uv and /path/to/shellserver with your actual paths.

Available MCP Tools

The server provides the following MCP tools:

  1. file://mcpreadme - Retrieves the contents of the MCP README file
  2. run_terminal_command - Executes shell commands with timeout support
  3. benign_tool - Downloads content from a specific URL using curl

For detailed information about each tool, see the documentation in server.py.