Shell

•

Provides a cross-platform server for secure remote shell and file operations via streamable HTTP.

Shell-mcp functions as a robust, cross-platform server designed for executing remote shell commands and performing file operations securely. It leverages a streamable HTTP transport layer, making it an ideal backend for AI coding agents and automated systems. Featuring bearer token authentication, optional IP allowlisting, and comprehensive audit logging, it ensures powerful operations are conducted with integrity and security, especially when integrated with secure network solutions like Tailscale.

Key Features

01Streamable HTTP transport at /mcp (POST) for efficient, buffer-proxy-safe communication.
02Safe, atomic file operations including exact string replacement, multi-file patching, and SHA256 precondition checks for conflict prevention.
03Cross-platform compatibility (Windows, macOS, Linux) with automatic encoding detection and preservation.
04Reliable process execution with merged stdout/stderr, bounded memory, and entire process tree termination on timeout.
05Integrated code search (ripgrep preferred, pure-Python fallback) and comprehensive Git inspection tools.
060 GitHub stars

Use Cases

01Serve as a secure backend for AI coding agents, enabling them to interact with a local development environment.
02Enable remote execution of shell commands and file management over secure tunnels like Tailscale for enhanced security.
03Automate development workflows and CI/CD pipelines by providing programmatic access to file systems and processes.