Shell Command
FreeNot checkedSecure shell command execution server that allows running system commands in a controlled environment through an allowlist system, returning results in YAML for
About
Secure shell command execution server that allows running system commands in a controlled environment through an allowlist system, returning results in YAML format.
README
MCP server for executing shell commands.
This project is sponsored by ChatWise, an all-in-one LLM chatbot with first-class MCP support.
Usage
Configure manually
# stdio server
npx -y shell-command-mcp
JSON config
{
"mcpServers": {
"shell-command": {
"command": "npx",
"args": ["-y", "shell-command-mcp"],
"env": {
"ALLOWED_COMMANDS": "cat,ls,echo"
}
}
}
}
Allowed commands
Use ALLOWED_COMMANDS environment variable to explictly allow the commands that this server can run, separate each command by ,. You can use * to allow any command, but this is potentially dangerous.
License
MIT.
Installing Shell Command
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/egoist/shell-command-mcpFAQ
Is Shell Command MCP free?
Yes, Shell Command MCP is free — one-click install via Unyly at no cost.
Does Shell Command need an API key?
No, Shell Command runs without API keys or environment variables.
Is Shell Command hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Shell Command in Claude Desktop, Claude Code or Cursor?
Open Shell Command on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Shell Command with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
