ITerm MCP Server

by rishabkoul

14 stars
368 downloads
Not rated
GitHub

Description

# ITerm MCP Server A Model Context Protocol (MCP) server implementation for iTerm2 terminal integration. This server allows AI assistants to interact with iTerm2 terminals through the Model Context Protocol. ## Features - Create and manage iTerm2 terminal sessions - Execute…

About

# ITerm MCP Server A Model Context Protocol (MCP) server implementation for iTerm2 terminal integration. This server allows AI assistants to interact with iTerm2 terminals through the Model Context Protocol. ## Features - Create and manage iTerm2 terminal sessions - Execute commands in terminals - Read terminal output…

Details

Author
rishabkoul
GitHub stars
14
Downloads
368
Categories
Other, Developer Tools

- Create and manage iTerm2 terminal sessions
- Execute commands in a specific terminal
- Read terminal output from any session
- List all active terminals and their details
- Close specific terminal sessions

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 ITerm MCP Server
    Command (node, npx, python, etc.)

    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

Install Node.js >=14.x, iTerm2 on macOS, then run npx iterm_mcp_server. For integration with Cursor, add the server configuration to ~/.cursor/mcp.json with the command npx and args ["iterm_mcp_server"].

open-terminal

Open a new terminal instance

execute-command

Execute a command in a specific terminal

read-output

Read the output from a specific terminal

close-terminal

Close a specific terminal

list-terminals

List all active terminals and their information

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "iterm mcp server": {
            "terminal": {
                "command": "npx",
                "args": [
                    "iterm_mcp_server"
                ]
            }
        }
    }
}

McpServers

{
    "terminal": {
        "command": "npx",
        "args": [
            "iterm_mcp_server"
        ]
    }
}

An MCP server for iTerm2, enabling AI assistants to interact with the terminal.

A Model Context Protocol (MCP) server implementation for iTerm2 terminal integration. This server allows AI assistants to interact with iTerm2 terminals through the Model Context Protocol.

- Create and manage iTerm2 terminal sessions
- Execute commands in terminals
- Read terminal output
- List active terminals
- Close terminals

- Node.js >= 14.x
- iTerm2
- macOS (since iTerm2 is macOS-only)

The server uses the standard MCP configuration options. No additional configuration is required.

To use this server with Cursor, add the following configuration to your~/.cursor/mcp.jsonfile:

{ "mcpServers": { "terminal": { "command": "npx", "args": ["iterm_mcp_server"] } } }

- open_terminal: Open a new terminal instance
- execute_command: Execute a command in a specific terminal
- read_output: Read the output from a specific terminal
- close_terminal: Close a specific terminal
- list_terminals: List all active terminals and their information

- The server validates all input using Zod schemas
- Commands are executed in isolated terminal sessions
- Proper error handling and input sanitization is implemented

Contributions are welcome! Please feel free to submit a Pull Request.

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.

Query live Mac system metrics, listening ports, and Claude Code and Codex session history.

MCP server for Warp Terminal. Drives Claude commands into your active Warp tab via warp:// deeplinks and OSC 777 events. Works from Claude Desktop or Warp's native agent panel. macOS, Swift.

Drive a real iPhone via macOS iPhone Mirroring, taps, swipes, OCR, plus Xcode build/test automation on simulators and devices. No jailbreak.

MCP server for hot-swapping llama.cpp models in Claude Code - launchctl (macOS) + systemd (Linux)

Exposes local Mac system information through a simple API for AI assistants.

One command, every package manager. Installs from pip, npm, and verified binary releases on macOS, Linux, and Windows.(server at https://iuymslcbbrbahxbfuzrr.supabase.co/functions/v1/mcp)

Store secrets in the OS keychain (macOS/Linux/Windows) and expose them to AI coding agents through 44 policy-governed MCP tools.

A macOS-only server that enables LLMs to capture screenshots of specific application windows, providing visual context for development and debugging.

An MCP server to control Xcode on macOS using JavaScript for Automation (JXA).

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.