Enterprise DNA
M MCP Servers Developer low

ferrislucas/iterm-mcp

by Various

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

F

MCP

ferrislucas/iterm-mcp

Added 1 June 2026

#ai #claude #claude-ai #mcp #mcp-server #repl

Overview

This tool is a Model Context Protocol server that lets AI assistants execute commands directly in the user's current iTerm session. It enables interactive workflows like REPL loops and CLI assistance. The server runs locally and communicates with MCP-compatible AI clients.

Best for

Best for
Developers on macOS who want AI assistants to execute commands directly in their iTerm terminal

Use cases

  • Execute shell commands via an AI assistant
  • Run REPL sessions interactively in iTerm
  • Automate CLI workflows from a chat interface

How to use

Install

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

Tools exposed

  • write_to_terminal
  • read_terminal_output
  • send_control_character

Tested with

Claude Desktop

Example client config

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

Notes

This tool is a Model Context Protocol server that lets AI assistants execute commands directly in the user’s current iTerm session. It enables interactive workflows like REPL loops and CLI assistance. The server runs locally and communicates with MCP-compatible AI clients.

557 stars on GitHub. Last updated 2025-09-20. Licensed MIT.

Use cases

  • Execute shell commands via an AI assistant
  • Run REPL sessions interactively in iTerm
  • Automate CLI workflows from a chat interface

Pros

  • Leverages the existing iTerm session context and environment
  • Open source with a visible community (557 stars on GitHub)
  • Straightforward TypeScript implementation for easy customization

Cons

  • Limited to macOS because it requires iTerm2
  • Commands execute in a real terminal with no built-in sandboxing or approval prompts
  • User must trust the AI instructions to avoid unintended actions

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Leverages the existing iTerm session context and environment
  • Open source with a visible community (557 stars on GitHub)
  • Straightforward TypeScript implementation for easy customization

Cons

  • Limited to macOS because it requires iTerm2
  • Commands execute in a real terminal with no built-in sandboxing or approval prompts
  • User must trust the AI instructions to avoid unintended actions
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks