Super Windows CLI MCP Server
by delorenj
execute_command
Execute a command in the specified shell (powershell, cmd, or gitbash)
Example usage (PowerShell):
Copy
{
"shell": "powershell",
"command": "Get-Process | Select-Object -First 5",
"workingDir": "C:\Users\username"
}
Example usage (CMD):
Copy
{
"shell": "cmd",
"command": "dir /b",
"workingDir": "C:\Projects"
}
Example usage (Git Bash):
Copy
{
"shell": "gitbash",
"command": "ls -la",
"workingDir": "/c/Users/username"
}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
shell | Yes | Shell to use for command execution | |
workingDir | No | Working directory for command execution (optional) |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Command to execute",
"type": "string"
},
"shell": {
"description": "Shell to use for command execution",
"enum": [
"powershell",
"cmd",
"gitbash"
],
"type": "string"
},
"workingDir": {
"description": "Working directory for command execution (optional)",
"type": "string"
}
},
"required": [
"shell",
"command"
],
"type": "object"
}