Execute a secure shell in Claude Desktop using the Model Context Protocol
Description:
Secure shell command execution server for Claude Desktop integration
Category: System Integration & Security
Overview: A robust Node.js server enabling secure shell command execution through a controlled environment. The implementation focuses on security with comprehensive command blacklisting and validation features.
Key Features:
run_command
Installation:
npx mcp-shell
# For Claude Desktop configuration
npx mcp-shell config
Configuration:
{
"mcp-shell": {
"command": "npx",
"args": ["-y", "mcp-shell"],
"env": {
"SHELL_PATH": "/bin/bash"
}
}
}
Security Measures:
Blacklisted Command Categories:
Error Handling:
The server maintains a balance between functionality and security, making it suitable for controlled AI model interactions with system shell commands.