ITerm MCP Server
An MCP server for iTerm2, enabling AI assistants to interact with the terminal.
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
Related Servers
Arcontextify
Convert ARC-56 smart contract specifications to MCP servers.
Terminal MCP Server
Execute commands on local or remote hosts via SSH. Supports session persistence and environment variables.
OPNsense MCP Server
A comprehensive MCP server for managing OPNsense firewalls, offering over 300 tools for configuration and monitoring.
MCP Front
An OAuth 2.1 proxy for MCP servers that enables single sign-on with Google, domain validation, and per-user tokens.
Apktool
A server for Android APK analysis and reverse engineering using Apktool.
Ghost MCP
An MCP server for the Ghost blogging platform with Server-Sent Events (SSE) support.
Manim MCP Server
Executes Manim Python scripts to generate and return rendered video animations.
Remote MCP Server on Cloudflare
Deploy a remote MCP server without authentication on Cloudflare Workers.
CPAN Package README MCP Server
Fetch READMEs, metadata, and search for CPAN packages.
ContextKeeper
Provides perfect memory for AI-assisted development by capturing project context snapshots, enabling natural language search, evolution tracking, and code intelligence.