MCP Directory
Back

mcp-shell-server

by tumf · Python · ★ 177

Secure MCP server for whitelisted shell command execution with stdin, argv pipelines, timeouts, and structured audit logging.

#audit-log#command-whitelist#mcp#model-context-protocol#security#shell

Install

pip install git+https://github.com/tumf/mcp-shell-server.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "mcp-shell-server": {
      "command": "uvx",
      "args": [
        "git+https://github.com/tumf/mcp-shell-server.git"
      ]
    }
  }
}

From the README

[](https://codecov.io/gh/tumf/mcp-shell-server) [](https://smithery.ai/server/mcp-shell-server) [](https://mseep.ai/app/tumf-mcp-shell-server) 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. * **Argv-based Command Execution**: Allowed commands run via subprocess argv without shell-string interpretation * **Standard Input Support**: Pass input to commands via stdin * **Comprehensive Output**: Returns stdout, stderr, exit status, and execution time * **Safe Pi…
Read full README on GitHub →

Related monitoring servers