sonirico/mcp-shell
by Various
Give hands to AI. MCP server to run shell commands securely, auditably, and on demand.
MCP
sonirico/mcp-shell
Added 1 June 2026
Overview
An MCP server written in Go that lets AI agents execute shell commands on a host machine. It provides a controlled interface with auditing and security constraints, enabling on-demand command execution.
Best for
Best for
Developers who need to give AI agents safe, auditable shell access for automation and operations tasks.
Use cases
- Automating system administration tasks via AI agents
- Running deployment scripts from a chat interface
- Executing diagnostic commands for remote troubleshooting
How to use
Install
make install && mcp-shell Tools exposed
MCP_SHELL_SEC_CONFIG_FILEMCP_SHELL_ALLOW_UNSAFEMCP_SHELL_SERVER_NAMEMCP_SHELL_LOG_LEVELMCP_SHELL_LOG_FORMATMCP_SHELL_LOG_OUTPUT
Tested with
Claude Desktop
Example client config
{\n "mcpServers": {\n "shell": {\n "command": "docker",\n "args": ["run", "--rm", "-i", "sonirico/mcp-shell:latest"],\n "env": { "MCP_SHELL_LOG_LEVEL": "info" }\n }\n }\n} Notes
An MCP server written in Go that lets AI agents execute shell commands on a host machine. It provides a controlled interface with auditing and security constraints, enabling on-demand command execution.
79 stars on GitHub. Last updated 2026-05-02. Licensed GPL-3.0.
Use cases
- Automating system administration tasks via AI agents
- Running deployment scripts from a chat interface
- Executing diagnostic commands for remote troubleshooting
Pros
- Written in Go, single binary deployment with no runtime dependencies
- Built-in auditing for tracking all executed commands
- Security-focused design with configurable command restrictions
Cons
- Requires careful configuration to prevent unauthorized access
- Limited to shell commands, no built-in file system or database access
- Relatively small community and limited documentation
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Written in Go, single binary deployment with no runtime dependencies
- Built-in auditing for tracking all executed commands
- Security-focused design with configurable command restrictions
Cons
- Requires careful configuration to prevent unauthorized access
- Limited to shell commands, no built-in file system or database access
- Relatively small community and limited documentation
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.