Iterm-mcp provides a Model Context Protocol server, granting AI models access to your iTerm session for tasks like command execution, output inspection, and REPL interaction, enhancing efficiency and control.
A Model Context Protocol (MCP) server that allows language models to interact with your iTerm2 session.
Efficient Token Use: Inspects only relevant terminal output, optimizing token usage for models.
Natural Integration: Enables seamless interaction between the model and your iTerm session, allowing you to ask questions or delegate tasks.
Full Terminal Control and REPL support: Provides complete control over the terminal, including REPL interaction and sending control characters.
Easy on the Dependencies: Built with minimal dependencies and runnable via npx, designed for easy integration with Claude Desktop and other MCP clients.
<a href="https://glama.ai/mcp/servers/h89lr05ty6"><img width="380" height="200" src="https://glama.ai/mcp/servers/h89lr05ty6/badge" alt="iTerm Server MCP server" /></a>
write_to_terminal
: Writes to the active terminal, returning the number of output lines.read_terminal_output
: Reads a specified number of lines from the terminal.send_control_character
: Sends control characters to the terminal.Instructions for adding the server config to Claude Desktop are provided for macOS and Windows.
Instructions for installing via Smithery are provided.
Instructions for installing dependencies, building the server, and running in watch mode are provided.
Instructions for debugging using the MCP Inspector are provided.
ferrislucas/iterm-mcp
January 9, 2025
March 28, 2025
TypeScript