ITerm MCP Server
A Model Context Protocol (MCP) server implementation for iTerm2 terminal integration. This server allows AI assistants to interact with iTerm2 terminals through the Model Context Protocol.
Features
- Create and manage iTerm2 terminal sessions
- Execute commands in terminals
- Read terminal output
- List active terminals
- Close terminals
Requirements
- Node.js >= 14.x
- iTerm2
- macOS (since iTerm2 is macOS-only)
Configuration
Standard Configuration
The server uses the standard MCP configuration options. No additional configuration is required.
Cursor Configuration
To use this server with Cursor, add the following configuration to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": ["iterm_mcp_server"]
}
}
}
Tools
open_terminal: Open a new terminal instanceexecute_command: Execute a command in a specific terminalread_output: Read the output from a specific terminalclose_terminal: Close a specific terminallist_terminals: List all active terminals and their information
Security Considerations
- The server validates all input using Zod schemas
- Commands are executed in isolated terminal sessions
- Proper error handling and input sanitization is implemented
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
ISC
Author
Rishab Koul
iTerm Terminal Integration Server
Project Details
- rishabkoul/iTerm-MCP-Server
- iterm_mcp_server
- ISC License
- Last Updated: 4/6/2025
Recomended MCP Servers
Obsidian MCP (Model Context Protocol) 服务器
Break free of your MCP Client constraints 🦹
Create AI generated memes using MCP Meme Sticky. Can converted generated memes into stickers for Telegram or WhatsApp...
The first MCP server for cybersecurity
Image generation assistant, please imagine and describe a complete picture in detail based on my simple description. Then...
my-first-mcp
A MCP server for Magento 2
This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you...
Provide latest cryptocurrency news to AI agents.
OpenAPI Schema Model Context Protocol Server
Bitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
Allows LLM agents to control a local chrome instance without taking screenshots





