Windows CLI MCP Server
@MCP-Mirror
Windows CLI MCP Server について
Mirror of
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"SimonB97_win-cli-mcp-server": {
"command": "npx",
"args": [
"@simonb97/server-win-cli",
"--init-config",
"./config.json"
]
}
}
}ツール
4Execute a command in the specified shell
Get the history of executed commands
Execute a command on a remote system via SSH
Disconnect from an SSH server
概要
What is Windows CLI MCP Server?
Windows CLI MCP Server is an MCP server for secure command-line interactions on Windows systems, enabling controlled access to PowerShell, CMD, Git Bash shells, and remote systems via SSH. It allows MCP clients like Claude Desktop to perform operations on your system.
How to use Windows CLI MCP Server?
Add the server to your claude_desktop_config.json using npx -y @simonb97/server-win-cli. Optionally specify a config file with the --config flag. Create a default config by copying config.json.example or running npx @simonb97/server-win-cli --init-config ./config.json.
Key features of Windows CLI MCP Server
- Multi-Shell Support: PowerShell, CMD, and Git Bash
- SSH Support: Execute commands on remote systems
- Security Controls: command blocking, path validation, injection protection
- Configurable: custom security rules, shell settings, SSH profiles
- Command logging and history tracking
- Working directory restrictions and command length limits
Use cases of Windows CLI MCP Server
- Run scripts and commands on local Windows machines via AI assistants
- Manage remote Linux/Windows servers through SSH from an MCP client
- Automate system administration tasks with strict security constraints
- Execute shell commands in a controlled, audited environment
FAQ from Windows CLI MCP Server
What shells are supported?
PowerShell, Command Prompt (CMD), and Git Bash are supported. Each can be enabled or disabled in the configuration.
How do I restrict which commands can run?
Blocked commands and arguments are defined in the security section of the config file. Blocked commands apply to both direct use and full paths, case-insensitively.
Does this server allow remote SSH connections?
Yes, SSH is supported but disabled by default. You can enable it and configure connection profiles (password or key authentication) in the ssh config section.
Where is the configuration file stored?
The server looks for config in order: path specified by --config flag, ./config.json, or ~/.win-cli-mcp/config.json.
What are the default security settings?
Default settings include command length limit (2000 chars), blocked dangerous commands (rm, del, format, etc.), restricted working directory to user's home and current directory, command logging, and injection protection enabled.
「開発者ツール」の他のコンテンツ
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
コメント