Community System

Shell

Run arbitrary shell commands — full control of the host with configurable allow/deny lists.

174 stars 42 forks Last commit 1mo ago Language TypeScript License MIT
Sign in to like + track View on GitHub →

Install

npm install -g mcp-shell-server

Claude Desktop / Cursor config

Drop into your claude_desktop_config.json or Cursor MCP settings. Replace the ${…} placeholders with your own values.

{
  "mcpServers": {
    "shell": {
      "command": "npx",
      "args": ["-y", "mcp-shell-server"],
      "env": { "ALLOWED_COMMANDS": "ls,cat,grep,git,npm,node" }
    }
  }
}

About

Shell execution server. Two safety layers: configurable command allow-list (only run commands you whitelist) and a sandboxed working directory. Strong power, strong footgun — use with restricted scope only.

Discussion (0)

Sign in to comment →

No comments yet. Sign in to start the discussion.

More System servers