MCP.so
登录

Windows Command Line MCP Server

@alxspiker

基本信息

分类

生产力

许可证

MIT

传输方式

stdio

作者

alxspiker

关于 Windows Command Line MCP Server

This server creates a secure bridge between Claude and your computer's command-line functionality.

Windows Command Line MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Windows-Command-Line-MCP-Server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@alxspiker/Windows-Command-Line-MCP-Server",
        "--client",
        "claude"
      ]
    }
  }
}

Windows Command Line MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Windows Command Line MCP Server?

It is a secure Model Context Protocol (MCP) server that provides a robust bridge between AI models and Windows system operations, enabling controlled command execution, project creation, and system information retrieval while maintaining strict security protocols.

How to use Windows Command Line MCP Server?

Install Node.js 16+ and npm/yarn on Windows, then clone the repository, run npm install and npm run build. Add the built server to Claude Desktop’s claude_desktop_config.json under mcpServers. Run with node dist/index.js (default safe mode), with specific allowed commands, or with --allow-all for extended mode.

Key features of Windows Command Line MCP Server

  • Comprehensive command allowlist and strict input validation
  • Prevention of destructive system operations (disk format, shutdown, etc.)
  • Project creation for React, Node.js, and Python in a sandboxed directory
  • Execute Windows CLI commands and PowerShell scripts
  • Retrieve system, network, process, and service information
  • Configurable security levels via command-line arguments

Use cases of Windows Command Line MCP Server

  • AI assistants safely executing Windows commands on behalf of users
  • Automated project scaffolding for React, Node.js, or Python development
  • System monitoring and diagnostics via natural language requests
  • Managing processes, services, and scheduled tasks through an AI interface

常见问题

1

What operating systems are supported?

Only Windows is supported (Node.js 16 or later required).

2

How does the server prevent dangerous operations?

It blocks commands such as disk formatting, user management, system shutdown, and critical registry modifications. A command allowlist and input validation are enforced by default.

3

Can I customize which commands are allowed?

Yes, you can pass specific allowed commands as arguments (e.g., `node dist/index.js dir echo npm git`) or use `--allow-all` to run in extended mode with additional precautions.

4

How are projects created safely?

Projects are created in a sandboxed `~/AIProjects` directory. Supported project types are React, Node.js, and Python.

5

Where can I report issues or get support?

Issues and suggestions can be submitted on the GitHub repository.

评论

生产力 分类下的更多 MCP 服务器