Skip to main content
Glama

WinTerm MCP

一个模型上下文协议服务器,提供对 Windows 终端的编程访问。该服务器使 AI 模型能够通过一组标准化工具与 Windows 命令行界面进行交互。

特征

  • 写入终端:执行命令或将文本写入 Windows 终端

  • 读取终端输出:检索先前执行的命令的输出

  • 发送控制字符:向终端发送控制信号(例如 Ctrl+C)

  • Windows-Native :专为 Windows 命令行交互而构建

安装

  1. 克隆存储库

    git clone https://github.com/capecoma/winterm-mcp.git cd winterm-mcp
  2. 安装依赖项

    npm install
  3. 构建项目

    npm run build
  4. 配置Claude桌面

将服务器配置添加到%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "github.com/capecoma/winterm-mcp": { "command": "node", "args": ["path/to/build/index.js"], "disabled": false, "autoApprove": [] } } }

注意:将“path/to/build/index.js”替换为您构建的 index.js 文件的实际路径。

可用工具

写入终端

将文本或命令写入终端。

{ "command": "echo Hello, World!" }

读取终端输出

从终端输出读取指定数量的行。

{ "linesOfOutput": 5 }

发送控制字符

向终端发送控制字符(例如,Ctrl+C)。

{ "letter": "C" }

发展

对于使用自动重建的开发:

npm run dev

执照

MIT 许可证 - 请参阅LICENSE文件。

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A 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 -
    9
    243
    262
    MIT License
  • A
    security
    A
    license
    A
    quality
    A 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 -
    3
    144
    MIT License
  • A
    security
    A
    license
    A
    quality
    A 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 -
    5
    37
    11
    ISC License
    • Apple
  • A
    security
    A
    license
    A
    quality
    A 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 -
    8
    7
    MIT License

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/capecoma/winterm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server