MCP CMD
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cmd_runA | Run a Windows CMD command without hanging. Uses cmd.exe /c with stdin closed and process tree kill on timeout. Safe for any non-interactive command. |
| cmd_admin_runA | Run a Windows CMD command with Administrator (elevated) privileges. Uses PowerShell Start-Process -Verb RunAs to launch an elevated cmd.exe. Output is captured via temp files since elevated processes cannot pipe stdio to non-elevated parents. Use this for commands that require admin rights (e.g., netsh, sc query, icacls, dism, sfc). NOTE: UAC prompt may appear if not already elevated. |
| cmd_batchA | Run multiple CMD commands one by one. Each command runs in its own cmd.exe /c process (no hanging). Stops on first failure unless continueOnError is true. |
| powershell_runB | Run a PowerShell command without hanging. Uses -NonInteractive -NoProfile flags to prevent prompts and speed up startup. Command is Base64-encoded to avoid escaping issues. |
| system_infoA | Get basic Windows system info: OS, architecture, memory, username. Quick diagnostic. |
| process_listA | List running cmd.exe, powershell.exe, node.exe, and conhost.exe processes. Useful for diagnosing hanging processes before cleanup. |
| process_cleanupA | Find and kill hanging/orphaned cmd.exe and conhost.exe processes. Targets windowless CMD processes older than the specified age (default: 30 seconds). Use this to clean up stale processes left by Antigravity's run_command tool. |
| show_security_rulesB | Display current security configuration, restrictions, and runtime limits. Shows command length limits, timeout values, concurrency settings, dangerous command patterns, and MCP infrastructure protection rules. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
The execution tools are mostly distinct: cmd_run (non-elevated single), cmd_admin_run (elevated), cmd_batch (multiple), and powershell_run (different shell) each have clear roles. Minor conceptual overlap exists since cmd_batch with one command equals cmd_run, and process_list/process_cleanup are tightly related, but descriptions clarify boundaries well.
Naming mixes conventions: prefix/namespace style (cmd_run, cmd_admin_run, powershell_run, process_list) alongside noun_phrases (system_info) and verb_noun (show_security_rules). Patterns are readable but not uniform across the set.
Eight tools is well-scoped for a Windows command-execution server, with each tool earning its place across execution, process management, and diagnostics. No filler or redundant entries.
Covers command execution (normal, elevated, batch, PowerShell), process listing/cleanup, system info, and security rules—a solid lifecycle for the domain. Minor gaps: no targeted kill-by-PID or arbitrary background-process control beyond the age-based cleanup.