Super Shell MCP Server provides a secure way to execute shell commands across Windows, macOS, and Linux platforms through the Model Context Protocol (MCP). It features built-in command whitelisting and approval mechanisms to ensure security while allowing controlled shell access.
npx -y @smithery/cli install @cfdude/super-shell-mcp --client claude
# Clone the repository
git clone https://github.com/cfdude/super-shell-mcp.git
cd super-shell-mcp
# Install dependencies
npm install
# Build the project
npm run build
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
],
"alwaysAllow": [],
"disabled": false
}
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
],
"alwaysAllow": false,
"disabled": false
}
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js"
],
"alwaysAllow": [],
"disabled": false
}
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js"
],
"alwaysAllow": false,
"disabled": false
}
You can specify a custom shell by adding an extra parameter:
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js",
"--shell=/usr/bin/bash"
],
"alwaysAllow": [],
"disabled": false
}
"super-shell": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npx-cli.js",
"-y",
"super-shell-mcp",
"C:\\Users\\username"
],
"alwaysAllow": [],
"disabled": false
}
%APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
%APPDATA%\Claude\claude_desktop_config.json
~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
~/Library/Application Support/Claude/claude_desktop_config.json
~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
~/.config/Claude/claude_desktop_config.json
{
"tool": "get_platform_info",
"parameters": {}
}
{
"tool": "execute_command",
"parameters": {
"command": "ls",
"args": ["-la"]
}
}
{
"tool": "get_whitelist",
"parameters": {}
}
{
"tool": "add_to_whitelist",
"parameters": {
"command": "python3",
"securityLevel": "safe",
"description": "Run Python 3 scripts"
}
}
{
"tool": "update_security_level",
"parameters": {
"command": "python3",
"securityLevel": "requires_approval"
}
}
{
"tool": "remove_from_whitelist",
"parameters": {
"command": "python3"
}
}
{
"tool": "get_pending_commands",
"parameters": {}
}
{
"tool": "approve_command",
"parameters": {
"commandId": "command-uuid-here"
}
}
{
"tool": "deny_command",
"parameters": {
"commandId": "command-uuid-here",
"reason": "This command is potentially dangerous"
}
}
echo
- Print text to standard outputls
- List directory contentspwd
- Print working directoryecho
- Print text to standard outputcat
- Concatenate and print filesgrep
- Search for patterns in filesfind
- Find files in a directory hierarchycd
- Change directoryhead
- Output the first part of filestail
- Output the last part of fileswc
- Print newline, word, and byte countsdir
- List directory contentstype
- Display the contents of a text filefindstr
- Search for strings in fileswhere
- Locate programswhoami
- Display current userhostname
- Display computer namever
- Display operating system versionPowerShell Script Execution Policy
Set-ExecutionPolicy RemoteSigned
Path Separators
chmod +x /path/to/shell
The server writes logs to logs/super-shell-mcp.log
for debugging:
# View the entire log
cat logs/super-shell-mcp.log
# Follow log updates in real-time
tail -f logs/super-shell-mcp.log
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "super-shell" '{"command":"npx","args":["-y","super-shell-mcp"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect