by ferrislucas
Streamline terminal workflows by executing shell commands directly in the active iTerm tab for fast automation and produ
Lets AI assistants directly execute shell commands and read output from your active iTerm terminal tab. Provides full terminal control including REPL interaction and control characters.
iTerm is a community-built MCP server published by ferrislucas that provides AI assistants with tools and capabilities via the Model Context Protocol. Streamline terminal workflows by executing shell commands directly in the active iTerm tab for fast automation and produ It is categorized under developer tools. This server exposes 3 tools that AI clients can invoke during conversations and coding sessions.
You can install iTerm in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
iTerm is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
We wired iTerm into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
According to our notes, iTerm benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
iTerm has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Strong directory entry: iTerm surfaces stars and publisher context so we could sanity-check maintenance before adopting.
iTerm is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
iTerm has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
iTerm is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: iTerm is the kind of server we cite when onboarding engineers to host + tool permissions.
Strong directory entry: iTerm surfaces stars and publisher context so we could sanity-check maintenance before adopting.
iTerm reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 47
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.
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.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
Install dependencies:
yarn install
Build the server:
yarn run build
For development with auto-rebuild:
yarn run watch
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.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.