Back to Apps

MCP Shell Server
by tumf
Secure MCP server for whitelisted shell command execution with structured audit logging and input pipelines.
0 stars
Works in:claude
Exposes:Tools
What it does
Connects an AI assistant to a secure shell environment, allowing the execution of a specific, allowlisted set of shell commands. It prevents arbitrary code execution by avoiding shell-string interpretation and enforcing strict command whitelisting.
Tools
execute_command: Runs a whitelisted shell command with support for stdin, stderr, and stdout capture.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"shell": {
"command": "uvx",
"args": [
"mcp-shell-server"
],
"env": {
"ALLOW_COMMANDS": "ls,cat,pwd,grep,wc,touch,find"
}
}
}
}
Supported hosts
- Claude Desktop
Quick install
uvx mcp-shell-serverInformation
- Pricing
- free
- Published
- 6/22/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Claude Desktop
{
"mcpServers": {
"shell": {
"command": "uvx",
"args": ["mcp-shell-server"],
"env": { "ALLOW_COMMANDS": "ls,cat,pwd,grep,wc,touch,find" }
}
}
}





