
ferrislucas/iterm-mcp
Access iTerm: run commands and ask questions about what is shown in the terminal
by ferrislucasOpen source
Description
iterm-mcp is a Model Context Protocol server that gives an AI model access to a running iTerm2 session. It can write commands to the active terminal, read a requested number of lines of output, and send control characters such as ctrl-c or ctrl-z. The README says the model only reads the output it needs, which keeps token use low even for long-running commands. It can work with REPLs as well as ordinary shell commands, so you can ask what is on the screen or hand over a task and watch each step. The server is built with few dependencies and runs through npx. It needs iTerm2 to be running and Node 18 or later. The README is clear that the tool does not evaluate whether a command is safe, so the user should monitor activity and interrupt the model when it goes off track. The source is public on GitHub.…
Highlights
- Write commands to the active iTerm2 session
- Read the last lines of terminal output
- Send control characters such as ctrl-c
- Works with REPLs as well as shell commands
- Needs iTerm2 running and Node 18 or later
Ratings & Reviews
No ratings yet
Be the first to rate ferrislucas/iterm-mcp.
People also visit
ferrislucas/iterm-mcp FAQ
What does iterm-mcp do?
It lets an MCP client such as Claude Desktop run commands in your current iTerm2 session and read the output, so the model can see what you see in the terminal.
What tools does it provide?
write_to_terminal runs a command, read_terminal_output reads a set number of lines, and send_control_character sends keys such as ctrl-c.
What do I need to run it?
iTerm2 must be running and Node 18 or later is required. It runs through npx and is added to an MCP client through a config entry.
Is it safe to use?
The README says the tool has no built-in restrictions on commands. You are responsible for monitoring activity and stopping the model when it goes off track.
Is it open source?
The source is public on GitHub at ferrislucas/iterm-mcp.
What are the best ferrislucas/iterm-mcp alternatives?
Popular alternatives to ferrislucas/iterm-mcp include aybelatchane/mcp-server-terminal, ferodrigop/forge and hcom. See all ferrislucas/iterm-mcp alternatives














