iTerm Terminal
About
Provides AI models with direct access to iTerm terminal sessions for reading output, writing commands, and sending control characters, enabling efficient troubleshooting and task delegation in interactive terminal environments.
Details
- Author
- lite
- Repository
- lite/iterm-mcp
- License
- MIT License
- Categories
- Developer Tools, Productivity, Design, Workplace, AI, Communication, Frontend
Jump to
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.
<a href="https://glama.ai/mcp/servers/h89lr05ty6"></a>
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
iTerm TerminalCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
iterm-mcp
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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"
]
}
}
}
To install iTerm for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install iterm-mcp --client claude
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.
- 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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"iterm terminal": {
"cwd": "string",
"env": {},
"args": [
"-y",
"iterm-mcp"
],
"shell": false,
"command": "npx"
}
}
}
Linux
{
"cwd": "string",
"env": [],
"args": [
"-y",
"iterm-mcp"
],
"shell": false,
"command": "npx"
}
Macos
{
"cwd": "string",
"env": [],
"args": [
"-y",
"iterm-mcp"
],
"shell": false,
"command": "npx"
}
Windows
{
"cwd": "string",
"env": [],
"args": [
"/c",
"npx",
"-y",
"iterm-mcp"
],
"shell": false,
"command": "cmd"
}
A Model Context Protocol server that provides access to your iTerm session.
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.
- 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.
- 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.
- iTerm2 must be running
- Node version 18 or greater
To use with Claude Desktop, add the server config:
On macOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "iterm-mcp": { "command": "npx", "args": [ "-y", "iterm-mcp" ] } } }
To install iTerm for Claude Desktop automatically viaSmithery:
npx -y @smithery/cli install iterm-mcp --client claude
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using theMCP 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.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Create crafted UI components inspired by the best 21st.dev design engineers.
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent
ALAPI MCP Tools,Call hundreds of API interfaces via MCP
AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.
Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





