Windows命令行MCP服务器是一个安全的模型上下文协议(MCP)服务器,它能让AI模型与Windows命令行功能进行安全且高效的交互,为AI在Windows系统中的应用搭建了可靠桥梁。
Windows命令行MCP服务器提供了一个强大且安全的桥梁,连接AI模型与Windows系统操作。它支持受控的命令执行、项目创建以及系统信息检索,并严格遵守安全协议。
使用Smithery自动安装Windows命令行MCP服务器以备Claude Desktop:
npx -y @smithery/cli install @alxspiker/Windows-Command-Line-MCP-Server --client claude
git clone https://github.com/alxspiker/Windows-Command-Line-MCP-Server.git
cd Windows-Command-Line-MCP-Server
npm install
npm run build
--allow-all:以扩展模式运行(附加注意事项)。安全地创建新项目,内置项目创建工具支持:
%USERPROFILE%\Documents\wcl-mcp-server\projects目录中创建项目。为了在Claude Desktop中使用该服务器,请将以下内容添加到config.json文件中:
{
"windowsCommandLineMcp": {
"enabled": true,
"port": 3000,
"path": "%USERPROFILE%/Documents/wcl-mcp-server"
}
}
通过以下命令行选项自定义服务器行为:
# 启动服务器并指定配置文件
npm run start -- --config ./config.json
# 以调试模式运行
npm run debug
项目遵循MIT许可证,具体内容请参阅LICENSE文件。
如需帮助、有疑问或建议,请在GitHub问题中提交。