The Super Shell MCP Server is a powerful tool that enables secure shell command execution across Windows, macOS, and Linux platforms. It includes robust security features like command whitelisting and approval workflows to protect your system when running commands through Claude Desktop or other MCP clients.
The easiest way to install Super Shell MCP is as a Claude Desktop Extension:
super-shell-mcp.dxt
file from the latest release.dxt
file while Claude Desktop is openInstall automatically via Smithery with:
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
If you installed using the .dxt
extension, you're ready to go! The extension handles everything automatically:
npm start
Or directly:
node build/index.js
For Roo Code:
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
],
"alwaysAllow": [],
"disabled": false
}
For Claude Desktop:
"super-shell": {
"command": "npx",
"args": [
"-y",
"super-shell-mcp"
],
"alwaysAllow": false,
"disabled": false
}
For Roo Code:
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js"
],
"alwaysAllow": [],
"disabled": false
}
For Claude Desktop:
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js"
],
"alwaysAllow": false,
"disabled": false
}
You can optionally specify a custom shell:
"super-shell": {
"command": "node",
"args": [
"/path/to/super-shell-mcp/build/index.js",
"--shell=/usr/bin/bash"
],
"alwaysAllow": false,
"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
get_platform_info
Get information about the current platform and shell.
{}
execute_command
Execute a shell command on the current platform.
{
"command": "ls",
"args": ["-la"]
}
get_whitelist
Get the list of whitelisted commands.
{}
add_to_whitelist
Add a command to the whitelist.
{
"command": "python3",
"securityLevel": "safe",
"description": "Run Python 3 scripts"
}
update_security_level
Update the security level of a whitelisted command.
{
"command": "python3",
"securityLevel": "requires_approval"
}
remove_from_whitelist
Remove a command from the whitelist.
{
"command": "python3"
}
get_pending_commands
Get the list of commands pending approval.
{}
approve_command
Approve a pending command.
{
"commandId": "command-uuid-here"
}
deny_command
Deny a pending command.
{
"commandId": "command-uuid-here",
"reason": "This command is potentially dangerous"
}
echo
- Print text to standard outputls
- List directory contentspwd
- Print working directorycat
- 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 versionSet-ExecutionPolicy RemoteSigned
\\
) in JSON configuration filesdir
instead of ls
, findstr
instead of grep
)add_to_whitelist
tool to add custom commandsThe server includes a comprehensive logging system that writes logs to logs/super-shell-mcp.log
for easier debugging and monitoring.
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