Skip to main content
Glama

WinTerm MCP

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

特征

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

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

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

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

Related MCP server: iTerm MCP

安装

  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文件。

Available Tools

3 tools
read_terminal_outputC

Read the output from the terminal

Inputs: linesOfOutput (required).

send_control_characterC

Send a control character to the terminal

Inputs: letter (required).

write_to_terminalC

Write text or commands to the terminal

Inputs: command (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: reading output, sending control characters, and writing text/commands are three separate terminal operations. An agent can easily tell them apart based on their specific functions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (read_terminal_output, send_control_character, write_to_terminal) with snake_case throughout. The naming is predictable and readable across the set.

    Tool Count4/5

    Three tools is slightly thin but reasonable for a terminal-focused server, covering core input/output and control operations. It feels minimal but not incomplete, as each tool earns its place for basic terminal interaction.

    Completeness4/5

    The tools cover the essential terminal operations: reading, writing, and control. A minor gap might be the lack of a tool for managing terminal sessions or configuration, but for basic interaction, the surface is largely complete without dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      F
      maintenance
      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.
      9
      419 npm
      265
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      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.
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      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.
      5
      78 npm
      14
      ISC
    • A
      license
      A
      quality
      F
      maintenance
      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.
      8
      10
      MIT