MCP.so
登录

Windows Command Line MCP Server

@alxspiker

关于 Windows Command Line MCP Server

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

基本信息

分类

生产力

许可证

MIT

运行时

node

传输方式

stdio

发布者

alxspiker

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from Windows Command Line MCP Server

What operating systems are supported?

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

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.

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.

How are projects created safely?

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

Where can I report issues or get support?

Issues and suggestions can be submitted on the GitHub repository.

评论

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