Back to directory
mcp-shell-server

mcp-shell-server

@tumf173

A secure shell command execution server implementing the Model Context Protocol (MCP). This server allows remote execution of whitelisted shell commands with support for stdin input.

shellcommand executionmcp servertool

Installation & Configuration

{
  "mcpServers": {
    "shell": {
      "command": "uvx",
      "args": [
        "mcp-shell-server"
      ],
      "env": {
        "ALLOW_COMMANDS": "ls,cat,pwd,grep,wc,touch,find"
      }
    }
  }
}

Information

Transport
stdio
Language
Python
Created
2024/12/10
Updated
2026/6/7