Skip to main content
Glama

WinTerm MCP

by capecoma

WinTerm MCP

A Model Context Protocol server that provides programmatic access to the Windows terminal. This server enables AI models to interact with the Windows command line interface through a set of standardized tools.

Features

  • Write to Terminal: Execute commands or write text to the Windows terminal
  • Read Terminal Output: Retrieve output from previously executed commands
  • Send Control Characters: Send control signals (e.g., Ctrl+C) to the terminal
  • Windows-Native: Built specifically for Windows command line interaction

Installation

  1. Clone the Repository:
    git clone https://github.com/capecoma/winterm-mcp.git cd winterm-mcp
  2. Install Dependencies:
    npm install
  3. Build the Project:
    npm run build
  4. Configure Claude Desktop:

Add the server config to %APPDATA%/Claude/claude_desktop_config.json:

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

Note: Replace "path/to/build/index.js" with the actual path to your built index.js file.

Available Tools

write_to_terminal

Writes text or commands to the terminal.

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

read_terminal_output

Reads the specified number of lines from terminal output.

{ "linesOfOutput": 5 }

send_control_character

Sends a control character to the terminal (e.g., Ctrl+C).

{ "letter": "C" }

Development

For development with auto-rebuild:

npm run dev

License

MIT License - see LICENSE file.

Install Server
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.

A Model Context Protocol server that provides programmatic access to the Windows terminal, enabling AI models to interact with the Windows command line through standardized tools for writing commands, reading output, and sending control signals.

  1. Features
    1. Installation
      1. Available Tools
        1. write_to_terminal
        2. read_terminal_output
        3. send_control_character
      2. Development
        1. License

          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
            569
            228
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
            Last updated -
            2
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            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 -
            485
            TypeScript
            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
            256
            6
            JavaScript
            ISC License
            • Apple

          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