MCP Shell Server
by tumf
Runs allowlisted shell commands over MCP with argv execution, limits, redirection controls, and audit logging.
Install MCP Shell Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"tumf-mcp-shell-server": {
"command": "uvx",
"args": [
"mcp-shell-server"
],
"env": {
"ALLOW_COMMANDS": "YOUR_VALUE_HERE",
"ALLOWED_COMMANDS": "YOUR_VALUE_HERE",
"ALLOW_PATTERNS": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx mcp-shell-serverNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Run approved filesystem inspection commands
- Pass generated input to local command-line tools
- Collect stdout and stderr from allowlisted programs
- Execute bounded repository or workspace utilities
Key features
- Allowlisted argv-based command execution
- Stdin and validated pipeline support
- Contained file redirection
- Timeout and output-size limits
- Minimal child environment
- Structured audit logging
Tools1
What MCP Shell Server lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 8d ago via OSV.dev · mcp-shell-server (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Shell Server works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Shell Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tumf-mcp-shell-server)<a href="https://allmcps.com/mcp/tumf-mcp-shell-server"><img src="https://allmcps.com/api/badge/tumf-mcp-shell-server?style=directory" alt="MCP Shell Server on AllMCPs" /></a>