Windows命令行MCP服务器

Windows命令行MCP服务器

为Claude与计算机命令行功能之间提供安全桥梁的服务器。

快速入门

  1. 安装依赖:Node.js 16+ 和 npm/yarn。
  2. 克隆仓库:git clone https://github.com/alxspiker/Windows-Command-Line-MCP-Server.git
  3. 进入目录并安装依赖:cd Windows-Command-Line-MCP-Server && npm install
  4. 构建项目:npm run build
  5. 启动服务:node dist/index.js

使用示例

  • 默认模式运行:node dist/index.js
  • 指定自定义命令:node dist/index.js dir echo npm git
  • 扩展模式运行(需谨慎):node dist/index.js --allow-all

更多工具和配置请参考完整文档