1. Conduid
  2. Developer Tools
  3. ferrislucas/iterm-mcp
MCP server · Developer Tools

ferrislucas/iterm-mcp

A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance

Unclaimed MIT last commit a year ago devtools
84Excellent

Scored a month ago · breakdown

About ferrislucas/iterm-mcp

ferrislucas/iterm-mcp is an MCP server published by ferrislucas in the Developer Tools category: a Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance.

The repository has 570 stars and 75 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/ferrislucas/iterm-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

read_terminal_outputReads the requested number of lines from the active iTerm terminal.

Parameters not published.

send_control_characterSends a control character to the active iTerm terminal.

Parameters not published.

write_to_terminalWrites to the active iTerm terminal, often used to run a command. Returns the number of lines of output produced by the command.

Parameters not published.

Ask AI

✦

Ask AI about ferrislucas/iterm-mcp

Powered by Claude · Grounded in docs

I know everything about ferrislucas/iterm-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

1.2.61.2.6 · 20 Sep 2025What's Changed Add unit tests and cleanup e2e tests by @ferrislucas in https://github.com/ferrislucas/iterm-mcp/pull/19 Fix Unicode character handling in AppleScript commands by @jeremiahrose in…
1.2.51.2.5 · 17 Apr 2025What's Changed Update `read_terminal_output` to use `integer` type for parameter by @leoshimo in https://github.com/ferrislucas/iterm-mcp/pull/16 Fix multiline text handling in AppleScript commands by @PaoloC68 in…
1.2.41.2.4 · 29 Mar 2025What's Changed Add support for telnet escape sequences by @MediocreTriumph in https://github.com/ferrislucas/iterm-mcp/pull/14 New Contributors @MediocreTriumph made their first contribution in…
1.2.31.2.3 · 27 Jan 2025What's Changed Additional REPL support by @ferrislucas in https://github.com/ferrislucas/iterm-mcp/pull/10 Full Changelog: https://github.com/ferrislucas/iterm-mcp/compare/1.2.2...1.2.3
1.2.21.2.2 · 21 Jan 2025What's Changed Remove command output parsing by @ferrislucas in https://github.com/ferrislucas/iterm-mcp/pull/9 Full Changelog: https://github.com/ferrislucas/iterm-mcp/compare/1.2.1...1.2.2

README

iterm-mcp

A Model Context Protocol server that provides access to your iTerm session.

Main Image

Features

Efficient Token Use: iterm-mcp gives the model the ability to inspect only the output that the model is interested in. The model typically only wants to see the last few lines of output even for long running commands.

Natural Integration: You share iTerm with the model. You can ask questions about what's on the screen, or delegate a task to the model and watch as it performs each step.

Full Terminal Control and REPL support: The model can start and interact with REPL's as well as send control characters like ctrl-c, ctrl-z, etc.

Easy on the Dependencies: iterm-mcp is built with minimal dependencies and is runnable via npx. It's designed to be easy to add to Claude Desktop and other MCP clients. It should just work.

Safety Considerations

  • The user is responsible for using the tool safely.
  • No built-in restrictions: iterm-mcp makes no attempt to evaluate the safety of commands that are executed.
  • Models can behave in unexpected ways. The user is expected to monitor activity and abort when appropriate.
  • For multi-step tasks, you may need to interrupt the model if it goes off track. Start with smaller, focused tasks until you're familiar with how the model behaves.

Tools

  • write_to_terminal - Writes to the active iTerm terminal, often used to run a command. Returns the number of lines of output produced by the command.
  • read_terminal_output - Reads the requested number of lines from the active iTerm terminal.
  • send_control_character - Sends a control character to the active iTerm terminal.

Requirements

  • iTerm2 must be running
  • Node version 18 or greater

Installation

To use with Claude Desktop, add the server config:

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "iterm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "iterm-mcp"
      ]
    }
  }
}

Installing via Smithery

To install iTerm for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install iterm-mcp --client claude

smithery badge

Development

Install dependencies:

yarn install

Build the server:

yarn run build

For development with auto-rebuild:

yarn run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

yarn run inspector
yarn debug <command>

The Inspector will provide a URL to access debugging tools in your browser.

README fetched from the repository 4 days ago. The original is authoritative.

Questions

About ferrislucas/iterm-mcp

How do I install ferrislucas/iterm-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is ferrislucas/iterm-mcp safe to use with an AI agent?

Its trust score is 84 out of 100 (excellent). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is ferrislucas/iterm-mcp still maintained?

The last commit was a year ago and 7 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.