
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A simple Model Context Protocol (MCP) server for executing command-line tools across different shell environments (WSL, PowerShell, CMD, Bash). Easy setup for Claude Desktop, GitHub Copilot, LM Studio, and Cursor.
A simple yet powerful Model Context Protocol (MCP) server for executing command-line tools across different shell environments. Works seamlessly with Claude Desktop, GitHub Copilot, LM Studio, Cursor, and other AI tools.
# Setup for Claude Desktop
npx ez-mcp setup claude
# Setup for GitHub Copilot (VS Code)
npx ez-mcp setup copilot
# Setup for LM Studio
npx ez-mcp setup lmstudio
# Setup for Cursor IDE
npx ez-mcp setup cursor
That's it! The setup automatically:
ez-mcp/
├── src/ # TypeScript source code
├── build/ # Compiled JavaScript files
├── scripts/ # Setup scripts for manual installation
│ ├── setup.bat # Windows batch script
│ ├── setup.ps1 # PowerShell script
│ └── setup.sh # Unix/Linux shell script
├── test/ # Test files
└── package.json # NPM configuration
The setup scripts in the scripts/ folder are provided for manual installation scenarios where npx might not be available.
Execute commands in any shell environment:
execute_commandExecute any command in your preferred shell environment.
{
"command": "ls -la",
"shell": "bash",
"workingDirectory": "/home/user/projects"
}
Parameters:
command (required): The command to executeshell (optional): wsl, powershell, cmd, bash, zsh, sh (default: powershell)workingDirectory (optional): Working directory for command executiontimeout (optional): Command timeout in milliseconds (default: 30000)wslDistribution (optional): Specific WSL distribution nameconfirmed (optional): Set to true for dangerous commands (see Security section)list_directoryList contents of any directory across different shell environments.
{
"path": "/home/user/projects",
"shell": "wsl"
}
check_pathVerify if a path exists and get detailed information.
{
"path": "C:\\Users\\username\\Documents",
"shell": "powershell"
}
open_windows_appLaunch Windows applications with advanced options.
{
"app": "notepad",
"arguments": "C:\\temp\\file.txt",
"workingDirectory": "C:\\temp"
}
EZ-MCP automatically detects and blocks 25+ dangerous command patterns to prevent accidental system damage:
format, fdisk, diskpartrm -rf /, del C:\*, rmdir /sshutdown, restart, rebootreg delete, regedittaskkill /f, stop-process -forcedocker system prune -f, kubectl deletegit reset --hard, git clean -fddrop database, truncate table[DANGER] DANGEROUS COMMAND BLOCKED [DANGER]
[BLOCKED] EXECUTION REFUSED FOR SAFETY
[CRITICAL] DISK FORMATTING/PARTITIONING - PERMANENT DATA LOSS
[WARN] POTENTIAL CONSEQUENCES:
• Permanent data loss
• System corruption or instability
• Complete system failure
[SECURITY] SECURITY REQUIREMENT:
This command will ONLY execute if you explicitly set "confirmed": true
{
"command": "rm -rf /tmp/safe-to-delete",
"confirmed": true
}
# No installation needed - setup automatically downloads
npx ez-mcp setup claude
npm install -g ez-mcp
ez-mcp setup claude
# Clone the repository
git clone https://github.com/thechandanbhagat/ez-mcp.git
cd ez-mcp
# Run platform-specific setup script
# Windows (Command Prompt)
scripts\setup.bat
# Windows (PowerShell)
scripts\setup.ps1
# Linux/Mac/WSL
chmod +x scripts/setup.sh
scripts/setup.sh
{
"mcpServers": {
"ez-mcp": {
"command": "npx",
"args": ["ez-mcp"]
}
}
}
// Build and test projects
{"command": "npm run build && npm test", "shell": "bash"}
// Git operations
{"command": "git status && git log --oneline -5", "shell": "bash"}
// Cross-platform development
{"command": "ls -la", "shell": "wsl", "wslDistribution": "Ubuntu"}
// Check system resources
{"command": "Get-Process | Sort-Object CPU -Desc | Select-Object -First 10", "shell": "powershell"}
// Monitor disk space
{"command": "df -h", "shell": "bash"}
// Network diagnostics
{"command": "ping -c 4 google.com", "shell": "bash"}
// Launch applications
{"app": "code", "arguments": ".", "workingDirectory": "C:\\Projects"}
// Open system tools
{"app": "taskmgr", "method": "start"}
// Start with specific settings
{"app": "notepad++", "arguments": "file.txt", "waitForExit": true}
// List files
{"command": "ls -la", "shell": "bash"}
// Windows directory listing
{"command": "dir", "shell": "cmd"}
// PowerShell processes
{"command": "Get-Process", "shell": "powershell"}
// WSL with specific distribution
{
"command": "uname -a && lsb_release -a",
"shell": "wsl",
"wslDistribution": "Ubuntu-20.04"
}
// Working directory execution
{
"command": "npm install && npm start",
"shell": "bash",
"workingDirectory": "/home/user/project",
"timeout": 60000
}
// Windows app with arguments
{
"app": "C:\\Program Files\\VSCode\\Code.exe",
"arguments": "--new-window .",
"workingDirectory": "C:\\Projects\\MyApp"
}
| Tool | Status | Setup Command |
|---|---|---|
| Claude Desktop | [+] Fully Supported | npx ez-mcp setup claude |
| GitHub Copilot | [+] VS Code Integration | npx ez-mcp setup copilot |
| LM Studio | [+] Local Models | npx ez-mcp setup lmstudio |
| Cursor IDE | [+] AI Code Editor | npx ez-mcp setup cursor |
| Other MCP Clients | [+] Manual Config | See manual setup below |
{
"mcpServers": {
"ez-mcp": {
"command": "npx",
"args": ["ez-mcp"]
}
}
}
# Check WSL status
wsl --list --verbose
# Install WSL if missing
wsl --install
# Update WSL distribution
wsl --update
sudo for privileged commands (with confirmed: true)timeout parameter for long operations& for background processes in Unix shellsStart-Job for PowerShell background tasks| Issue | Solution |
|---|---|
| "Command not found" | Check PATH environment variable |
| "Access denied" | Run with appropriate permissions |
| "Shell not supported" | Use supported shell names |
| "WSL not available" | Install and configure WSL |
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)src/ - TypeScript source codebuild/ - Compiled JavaScript (auto-generated)scripts/ - Platform-specific setup scriptstest/ - Test files for validationMIT License - see LICENSE file for details.
[STAR] Star this repo if EZ-MCP helps your AI workflow!
FAQs
A simple Model Context Protocol (MCP) server for executing command-line tools across different shell environments (WSL, PowerShell, CMD, Bash). Easy setup for Claude Desktop, GitHub Copilot, LM Studio, and Cursor.
The npm package ez-mcp receives a total of 208 weekly downloads. As such, ez-mcp popularity was classified as not popular.
We found that ez-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.