loading…
Search for a command to run...
loading…
MCP server allowing LLMs to execute commands on Windows terminals, including local shells (cmd, PowerShell, bash) and remote SSH connections with a 3-level secu
MCP server allowing LLMs to execute commands on Windows terminals, including local shells (cmd, PowerShell, bash) and remote SSH connections with a 3-level security model.
An MCP (Model Context Protocol) server that lets any LLM execute commands on a local terminal or over SSH — works on Windows and macOS.
cmd/powershell/bash on Windows, zsh/bash/sh on macOS)git clone https://github.com/marttinm/windows-terminal-mcp.git
cd windows-terminal-mcp
pip install -e .
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"terminal": {
"command": "python3",
"args": ["-m", "terminal_mcp.server"]
}
}
}
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"terminal": {
"command": "cmd",
"args": ["/c", "python", "-m", "terminal_mcp.server"]
}
}
}
Restart Claude Desktop after saving the config.
Commands fall into three categories:
| Level | Behavior | Examples |
|---|---|---|
| Safe | Executed directly | ls, git, npm, python, curl |
| Dangerous | Claude warns before executing | rm, rmdir, launchctl, diskutil |
| Blocked | Always rejected | rm -rf /, format, shutdown, mkfs |
MIT — see LICENSE
Run in your terminal:
claude mcp add windows-terminal-mcp -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.