Windows Terminal

by capecoma

Not rated
GitHub

About

Enables interaction with the Windows command line interface, allowing for writing commands, reading terminal output, and sending control characters for automation tasks and integrations.

Details

Author
capecoma
Repository
capecoma/winterm-mcp
License
MIT License
Categories
Developer Tools, Infrastructure, Other, Productivity, Design, AI, Frontend, Project Management

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Windows Terminal
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 path/to/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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": []
    }
  }
}

write_to_terminal

Writes text or commands to the terminal. Parameters: command (string)

read_terminal_output

Reads the specified number of lines from terminal output. Parameters: linesOfOutput (integer)

send_control_character

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "windows terminal": {
            "cwd": null,
            "env": {},
            "args": [
                "path/to/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": null,
    "env": [],
    "args": [
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": null,
    "env": [],
    "args": [
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": null,
    "env": [],
    "args": [
        "path/to/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

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.

- 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

git clone https://github.com/capecoma/winterm-mcp.git cd winterm-mcp

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.

Writes text or commands to the terminal.

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

Reads the specified number of lines from terminal output.

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

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Execute shell commands without permission prompts.

Execute bash commands on the host machine.

Execute shell commands with structured output via a powerful CLI server.

A secure MCP server for executing controlled command-line operations with comprehensive security features.

MCP server for controlling cmux (Ghostty-based terminal) via native CLI. Send commands, read output, send control characters — all in background via Unix socket.

Execute pre-approved shell commands securely on a server.

A secure MCP server for executing terminal commands with controlled directory access and command permissions.

A shell command / terminal executor with async support

A high-performance MCP server for the headless terminal (ht), implemented in Rust.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.