Windows CLI MCP Server
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 | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_commandA | [Command Execution] Execute a command in the specified shell (powershell, cmd, or gitbash) Example usage (PowerShell): Example usage with custom environment variables: Example usage (CMD): Example usage (Git Bash): |
| read_command_historyA | [Command Execution] Get the history of executed commands Example usage: Example response: |
| start_background_jobA | [Command Execution] Start a command as a background job Example usage: Returns job ID immediately. Use get_job_status to monitor progress. |
| get_job_statusA | [Command Execution] Get status and metadata for a background job Example usage: Returns job status, runtime, exit code, and output preview (first 500 chars). |
| get_job_outputA | [Command Execution] Get output from a background job with streaming support Example usage: Returns job output. Use offset to get only new output since last call (streaming). |
| execute_batchA | [Command Execution] Execute multiple commands sequentially Example usage: Executes commands in order. If stopOnError=true, stops on first failure. |
| ssh_executeC | [SSH Operations] Execute a command on a remote host via SSH Example usage: Configuration required in config.json: |
| ssh_disconnectB | [SSH Operations] Disconnect from an SSH server Example usage: Use this to cleanly close SSH connections when they're no longer needed. |
| create_ssh_connectionC | [SSH Operations] Create a new SSH connection |
| read_ssh_connectionsA | [SSH Operations] Read all SSH connections |
| update_ssh_connectionC | [SSH Operations] Update an existing SSH connection |
| delete_ssh_connectionB | [SSH Operations] Delete an existing SSH connection |
| read_ssh_pool_statusB | [SSH Operations] Get the status and health of the SSH connection pool |
| validate_ssh_connectionC | [SSH Operations] Validate SSH connection configuration and test connectivity |
| sftp_uploadB | [SSH Operations] Upload file to remote host via SFTP Example usage: Security: Validates local file exists. Remote path must be absolute. |
| sftp_downloadA | [SSH Operations] Download file from remote host via SFTP Example usage: Security: Local path must be absolute. Creates parent directories if needed. |
| sftp_list_directoryA | [SSH Operations] List files and directories on remote host via SFTP Example usage: Security: Remote path must be absolute. Pattern supports glob wildcards. |
| sftp_deleteA | [SSH Operations] Delete file or directory on remote host via SFTP Example usage: SECURITY WARNING: Deletion is permanent and cannot be undone. Remote path must be absolute. Set isDirectory=true to delete directories. |
| check_security_configA | [Diagnostics] Get current security configuration including blocked commands, allowed paths, and restrictions. Use this to troubleshoot why commands are being blocked. |
| validate_commandA | [Diagnostics] Test if a command would be allowed without executing it (dry-run validation). Use this to troubleshoot security blocks before attempting execution. |
| explain_exit_codeA | [Diagnostics] Explain what an exit code means and how to resolve issues |
| validate_configA | [Diagnostics] Validate configuration file and show how it merges with defaults |
| read_system_infoA | [Diagnostics] Get system information for troubleshooting |
| test_connectionC | [Diagnostics] Test shell connectivity and basic functionality |
| read_environment_variableA | [Diagnostics] Read a single environment variable with security filtering Example usage: Security:
|
| list_environment_variablesA | [Diagnostics] List all accessible environment variables with optional filtering Example usage: Security:
|
| get_config_valueB | [Diagnostics] Get a specific configuration value by path (dot notation) Example usage: Examples:
|
| reload_configA | [Diagnostics] Validate configuration file and preview reload (server restart required) Example usage: Note: This tool validates the config file. To apply changes, restart the MCP server. |
| dns_lookupA | [Diagnostics] Perform DNS lookup for hostname Example usage: Supported record types: A, AAAA, MX, TXT, NS, CNAME, ALL |
| test_connectivityA | [Diagnostics] Test network connectivity to host and port Example usage: Security: Blocks connections to private IPs, localhost, and cloud metadata endpoints. |
| read_current_directoryA | [System Info] Get the current working directory |
| get_cpu_usageA | [System Info] Get CPU usage percentage with configurable sampling interval Example usage: Returns CPU usage percentage measured over the interval (default: 1 second). |
| get_disk_spaceA | [System Info] Get disk space information for all drives or specific drive Example usage: Returns disk space info (total, used, free) in specified units. |
| list_processesA | [System Info] List running processes (requires opt-in configuration) Example usage: SECURITY: This tool is disabled by default. Process enumeration can be used for reconnaissance. To enable, add to config.json: { "security": { "allowProcessListing": true } } |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Current Working Directory | The current working directory of the CLI server |
| SSH Configuration | All SSH connection configurations |
| CLI Server Configuration | Main CLI server configuration (excluding sensitive data) |
| Security Validation Rules | Complete security validation rules including blocked commands, arguments, operators, and path restrictions |
| Command History Summary | Summary of recent command executions with statistics and patterns |
| SSH Connection Pool Status | Active SSH connections, pool statistics, and connection health |
| Background Jobs | Status of all background command execution jobs |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/quanticsoul4772/mcp-server-win-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server