MCP server for Windows CLI interactions
MCP server for Windows CLI interactions. Exposed over MCP by the win cli mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
See the API section for more details on the tools and resources the server provides to MCP clients.
@simonb97/server-win-cli on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Everything the assistant can do here goes through one of these:
execute_command — Execute a command in the specified shellInputs — - shell (string): Shell to use ("powershell", "cmd", or "gitbash")get_command_history — Get the history of executed commandsInput — limit (optional number)ssh_execute — Execute a command on a remote system via SSHssh_disconnect — Disconnect from an SSH servercreate_ssh_connection — Create a new SSH connectionread_ssh_connections — Read all configured SSH connectionsupdate_ssh_connection — Update an existing SSH connectiondelete_ssh_connection — Delete an SSH connectionget_current_directory — Get the current working directory of the serverTools — The Tools tool exposed by this serverPlenty of file and storage access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Win Cli's toolset — execute_command, Inputs, get_command_history and 10 more — is a fair guide to whether it matches your workflow. It is maintained by SimonB97; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| execute_command | Execute a command in the specified shell |
| Inputs | - shell (string): Shell to use ("powershell", "cmd", or "gitbash") |
| get_command_history | Get the history of executed commands |
| Input | limit (optional number) |
| ssh_execute | Execute a command on a remote system via SSH |
| ssh_disconnect | Disconnect from an SSH server |
| create_ssh_connection | Create a new SSH connection |
| read_ssh_connections | Read all configured SSH connections |
| update_ssh_connection | Update an existing SSH connection |
| delete_ssh_connection | Delete an SSH connection |
| get_current_directory | Get the current working directory of the server |
| Tools | The Tools tool exposed by this server. |
| Resources | The Resources tool exposed by this server. |
{
"mcpServers": {
"windows-cli": {
"command": "npx",
"args": ["-y", "@simonb97/server-win-cli"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Model Context Protocol (MCP) tool to interact with Claude Desktop on macOS
Upload, search, transform and organise your Cloudinary media library from a chat window