Show HN: iTerm2 MCP Server – Let Claude see and control your terminal panes
github.com·4d·
Discuss: Hacker News
📟Terminal Multiplexers
Preview
Report Post

iTerm2 MCP Server

An MCP (Model Context Protocol) server that allows AI assistants like Claude to read the contents of iTerm2 terminal panes. This enables AI assistants to see what’s happening in your other terminal windows and tabs.

Features

  • List all panes: See all open iTerm2 windows, tabs, and panes with their working directories and running jobs
  • Read pane contents: Get the screen buffer text from any pane
  • Current pane detection: Automatically detects which pane the server is running in
  • Status checking: Verify that iTerm2 Python API is properly configured

Prerequisites

  1. macOS with iTerm2 installed
  2. Node.js >= 18.0.0
  3. Python 3 with the iterm2 package:
pip install iterm2
  1. iTerm2 Python API enabled:
  • Open i…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help