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

ferrislucas/iterm-mcp

Access your iTerm session and control terminal commands seamlessly.

Unclaimed MIT last commit 11 months ago security
84Excellent

Scored 4 months ago · breakdown

About ferrislucas/iterm-mcp

ferrislucas/iterm-mcp is an MCP server published by ferrislucas in the Developer Tools category: access your iTerm session and control terminal commands seamlessly. It has been installed 0 times through Conduid.

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

Install

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

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

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !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 mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About ferrislucas/iterm-mcp

How do I install ferrislucas/iterm-mcp?

Run npx iterm-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

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

Its trust score is 84 out of 100 (excellent). It passes 0 of 1 static security checks; 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 11 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.