WinTerm MCP

by capecoma

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

You must be authenticated.

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

模型上下文协议服务器提供对 Windows 终端的编程访问,使 AI 模型能够通过标准化工具与 Windows 命令行进行交互,以编写命令、读取输出和发送控制信号。

  1. 特征
    1. 安装
      1. 可用工具
        1. 写入终端
        2. 读取终端输出
        3. 发送控制字符
      2. 发展
        1. 执照

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that allows secure execution of pre-approved commands, enabling AI assistants to safely interact with the user's system.
            Last updated -
            1
            3
            18
            JavaScript
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants like Claude to perform Python development tasks through file operations, code analysis, project management, and safe code execution.
            Last updated -
            1
            Python
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A server that enables AI assistants to execute terminal commands and retrieve outputs via the Model Context Protocol (MCP).
            Last updated -
            3
            3
            Python
            MIT License
            • Apple
            • Linux
          • 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
            3
            TypeScript
            MIT License

          View all related MCP servers

          ID: fzjwms9o1t