WinTerm MCP
一个模型上下文协议服务器,提供对 Windows 终端的编程访问。该服务器使 AI 模型能够通过一组标准化工具与 Windows 命令行界面进行交互。
特征
写入终端:执行命令或将文本写入 Windows 终端
读取终端输出:检索先前执行的命令的输出
发送控制字符:向终端发送控制信号(例如 Ctrl+C)
Windows-Native :专为 Windows 命令行交互而构建
安装
克隆存储库:
git clone https://github.com/capecoma/winterm-mcp.git cd winterm-mcp安装依赖项:
npm install构建项目:
npm run build配置Claude桌面:
将服务器配置添加到%APPDATA%/Claude/claude_desktop_config.json
:
注意:将“path/to/build/index.js”替换为您构建的 index.js 文件的实际路径。
可用工具
写入终端
将文本或命令写入终端。
读取终端输出
从终端输出读取指定数量的行。
发送控制字符
向终端发送控制字符(例如,Ctrl+C)。
发展
对于使用自动重建的开发:
执照
MIT 许可证 - 请参阅LICENSE文件。
local-only server
The server can only run on the client's local machine because it depends on local resources.
模型上下文协议服务器提供对 Windows 终端的编程访问,使 AI 模型能够通过标准化工具与 Windows 命令行进行交互,以编写命令、读取输出和发送控制信号。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides secure command-line access to Windows systems, allowing MCP clients like Claude Desktop to safely execute commands in PowerShell, CMD, and Git Bash shells with configurable security controls.Last updated -9215249MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that gives AI models access to your iTerm terminal session, allowing them to read output, write commands, and send control characters.Last updated -3321MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with iTerm2 terminals, allowing creation and management of terminal sessions, command execution, and reading terminal output.Last updated -53211ISC License
- AsecurityAlicenseAqualityA secure Model Context Protocol server that allows AI models to safely interact with Windows command-line functionality, enabling controlled execution of system commands, project creation, and system information retrieval.Last updated -87MIT License