Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🤖 Coding Agents
  3. MCP Shell
MCP Shell logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 2:46:19 AM

MCP Shell

User RatingsBe the first to rate and review this MCP server!
View Repository102 GitHub StarsTotal stargazers on GitHub for the source repository (102 stars).Visit Website
shellcode-executionsecuritydocker

Runs approved shell commands through MCP with configurable validation, output limits, timeouts, and audit logging.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON â–¾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for sonirico/mcp-shell, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Tool Schemas (29) Directory Badge Claim listing Alternatives🤖 More in Coding Agents

Overview

The sonirico/mcp-shell MCP server exposes a tool for running shell commands through MCP. It accepts a command and an optional base64 output flag, then returns exit status, output, timing, and security details. Secure mode is enabled by default and limits execution to approved, classified utilities without shell interpretation. Reach for it when an agent needs controlled command execution in a local workspace or Docker environment.

Use cases

•Run read-only workspace commands for an AI agent
•Inspect files and search project contents through MCP
•Execute approved Git queries in a controlled environment
•Audit command execution with configured logs

Key features

•MCP shell-command execution tool
•Secure executable and argument policies
•Execution time and output-size limits
•Optional audit logging
•Docker deployment with workspace mounting
•Base64 encoding for command output

Capabilities & Tool Schemas (29) ~127 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Shell.

read_file

always

list_dir

always

glob

always

grep

always

stat

always

diff_files

always

How MCP Shell works

What sonirico/mcp-shell MCP server does

The sonirico/mcp-shell MCP server gives an MCP-compatible agent one tool for executing shell commands. The tool requires a command string and accepts an optional base64 boolean that encodes standard output and standard error in the response. Results include the command, status, exit code, stdout, stderr, and execution time; security details may also be returned.

It is intended for situations where an agent needs access to command-line utilities while the operator retains control over which commands can run. Docker is supported as a deployment option, and the example mounts a workspace into the container.

How it works

By default, the server starts in secure mode even when no configuration file is present. This mode does not invoke a shell interpreter. It parses the input and accepts only one fully literal simple command, rejecting shell features such as pipes, command lists, substitutions, redirections, and globs.

Allowed executables must be listed in policy and must also be classified as safe. Built-in examples include read-oriented utilities such as ls, cat, grep, find, head, and tail. Some commands, including git, find, sort, and uniq, use argument policies that permit only explicitly approved options or operations. Interpreters and wrappers such as bash, python, env, timeout, and xargs are rejected in secure mode, even if added to the allowlist.

The policy can also set blocked argument patterns, a maximum execution duration, a maximum output size, a working directory, and audit logging. The sonirico/mcp-shell MCP server can therefore apply command and resource restrictions before execution, but secure mode is an early-rejection layer rather than a complete sandbox.

Setup and configuration

The project provides a Docker image and a source-based installation path. A basic Docker invocation is:

Terminal
docker run -it --rm -v /tmp/mcp-workspace:/tmp/mcp-workspace sonirico/mcp-shell:latest

When building from source, the documented sequence clones the repository, runs make install, and starts mcp-shell.

Set MCP_SHELL_SEC_CONFIG_FILE to load a YAML security policy instead of relying on the built-in secure defaults. MCP_SHELL_ALLOW_UNSAFE=true disables validation and permits unrestricted execution; the project explicitly warns against using this setting in production. Logging can be adjusted with MCP_SHELL_LOG_LEVEL, MCP_SHELL_LOG_FORMAT, and MCP_SHELL_LOG_OUTPUT.

Claude Desktop can connect through a Docker stdio configuration. A custom policy file can be mounted into the container and selected with MCP_SHELL_SEC_CONFIG_FILE.

Tools and capabilities

The sonirico/mcp-shell MCP server provides one shell-command execution tool with these inputs:

  • command: required command text.
  • base64: optional boolean for encoding stdout and stderr.

Configuration supports executable allowlists, command-string policies in legacy mode, blocked patterns, execution timeouts, output limits, working-directory selection, and audit logging. Secure mode is the recommended policy. Legacy mode enables shell execution and uses allowlists or blocklists over command strings, so its injection risk depends on the policy.

Limitations and notes

Unrestricted execution is available only through an explicit environment-variable opt-in and is dangerous outside local development. Secure mode does not itself provide process isolation. The Docker image runs as a non-root user on Alpine, but the documentation recommends additional operating-system controls such as a read-only filesystem and dropped capabilities for defense in depth.

Git handling is restricted to read-only subcommands, with diff and text conversion drivers suppressed and a minimal environment. Child processes do not inherit server or .env secrets. The repository directs users to its security documentation for the detailed threat model and vulnerability-reporting scope.

Read the full README →View source on GitHub →

Related MCP Servers

View all in Coding Agents View all alternatives
  • MCP Shell Server logoMCP Shell Server

    A secure shell command execution server implementing the Model Context Protocol (MCP)

    🤖 Coding Agents3 views
    Compare vs MCP Shell Server →
  • Cli MCP Server logoCli MCP Server

    Command line interface with secure execution and customizable security policies

    🤖 Coding Agents3 views
    Compare vs Cli MCP Server →
  • Ssh MCP logoSsh MCP

    MCP server exposing SSH control for Linux and Windows servers via Model Context Protocol. Securely execute remote shell commands with password or SSH key authentication.

    🤖 Coding Agents2 views
    Compare vs Ssh MCP →
  • MCP Safe Local Python Executor logoMCP Safe Local Python Executor

    Safe Python interpreter based on HF Smolagents LocalPythonExecutor

    🤖 Coding Agents3 views
    Compare vs MCP Safe Local Python Executor →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
102
Stargazers on the source repository.
Last commit
6d ago
Most recent push to the default branch.
Tools exposed
29
Callable tools this server registers over MCP.
Directory activity
4 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Shell

Run the published Docker image with `docker run -it --rm -v /tmp/mcp-workspace:/tmp/mcp-workspace sonirico/mcp-shell:latest`, or clone the repository, run `make install`, and start `mcp-shell`.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Shell AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sonirico-mcp-shell?style=directory)](https://allmcps.com/mcp/sonirico-mcp-shell)
HTML Embed
<a href="https://allmcps.com/mcp/sonirico-mcp-shell"><img src="https://allmcps.com/api/badge/sonirico-mcp-shell?style=directory" alt="MCP Shell on AllMCPs" /></a>

Technical Specs & Signals

Category🤖Coding Agents
PricingFree
More technical detailsExpand â–¾
AuthNo auth required
ClientsClaude Desktop
Last updatedSep 4, 2026
8/9 checks healthy over the last 31d
Views4
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars102
GitHub Star CountTotal stargazers on GitHub representing community popularity (102 stars).
Last commit6d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 4, 2026
56Quality signal: Good · 56/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools23/30
Adoption & activity8/15
Community engagement1/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🤖 Coding Agents →Best MCP servers for Coding Agents →Alternatives to MCP Shell →Install in Claude DesktopInstall in CursorInstall in VS Code