Windows CLI MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
config | No | Path to a custom configuration file (optional). If not specified, the server will look for config.json in the current directory or ~/.win-cli-mcp/config.json in the user's home directory. | |
init-config | No | Path where a default configuration file should be created (e.g., './config.json') |
Schema
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) |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
execute_command | Execute a command in the specified shell (powershell, cmd, or gitbash) Example usage (PowerShell): Copy Example usage (CMD): Copy Example usage (Git Bash): Copy |
get_command_history | Get the history of executed commands Example usage: Copy Example response: Copy |
ssh_execute | Execute a command on a remote host via SSH Example usage: Copy Configuration required in config.json: Copy |
ssh_disconnect | Disconnect from an SSH server Example usage: Copy Use this to cleanly close SSH connections when they're no longer needed. |
create_ssh_connection | Create a new SSH connection |
read_ssh_connections | Read all SSH connections |
update_ssh_connection | Update an existing SSH connection |
delete_ssh_connection | Delete an existing SSH connection |
get_current_directory | Get the current working directory |