shell-exec-mcp
by domdomegg
Overview
Provides a Model Context Protocol (MCP) server for executing arbitrary bash commands, supporting both foreground execution with timeouts and background job management.
Installation
npx -y shell-exec-mcpEnvironment Variables
- MCP_TRANSPORT
- PORT
- MCP_BASE_URL
Security Notes
The primary function of this server is to execute arbitrary bash commands via `node:child_process.spawn`. If the server is exposed to untrusted input, it presents an extremely high security risk, as an attacker could execute any command on the host system, including deleting files, accessing sensitive information, or installing malicious software. The HTTP transport option further amplifies this risk by making it network-accessible. This server is designed to perform highly privileged operations; its security depends entirely on the caller's trustworthiness and stringent input validation *before* calling this server, not on the server's internal mechanisms.
Similar Servers
mcp-code-exec-python
Provides a Model Context Protocol (MCP) server for executing arbitrary Python code with optional package installations, supporting HTTP, SSE, and STDIO transports.
zed-mcp-server-buildkite
Integrate Buildkite CI/CD with the Zed editor for viewing and interacting with pipelines, builds, jobs, and artifacts.
filesystem-mcp
This server provides tools for reading, creating, editing files, and listing directories on the local filesystem, enabling automation of tasks like configuration updates, report generation, and code refactoring.
cli-mcp
Acts as a central server or control plane for managing and potentially proxying interactions with various Command Line Interface (CLI) tools.