iterm-mcp
A Model Context Protocol server that allows interaction with your iTerm session for command execution and REPL support.
iterm-mcp provides a seamless way to interact with your iTerm terminal, allowing models to execute commands and read outputs efficiently. The server is designed to focus on the most relevant output, making it ideal for long-running commands where only the last few lines are of interest. Users can delegate tasks to the model and observe its actions in real-time, enhancing the collaborative experience between human and model. With full terminal control, iterm-mcp supports sending control characters and interacting with REPL environments. It is built with minimal dependencies, ensuring easy integration with various MCP clients, including Claude Desktop. Users are encouraged to monitor the model's activity closely, especially for multi-step tasks, to ensure safe and effective command execution.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"iterm-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-iterm-mcp"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions