by rishabkoul
iTerm-MCP-Server is a Model Context Protocol (MCP) server that enables AI assistants to programmatically interact with and control iTerm2 terminals on macOS, facilitating automated workflows and enhanced development tools.
iTerm-MCP-Server is a Model Context Protocol (MCP) server implementation designed for integration with iTerm2, a popular terminal emulator for macOS. It enables AI assistants to interact with iTerm2 terminals programmatically.
To use iTerm-MCP-Server, you need Node.js (>= 14.x), iTerm2, and macOS. The server uses standard MCP configuration options. For integration with Cursor, you need to add a specific configuration to your ~/.cursor/mcp.json
file, specifying npx
as the command and iterm_mcp_server
as the argument.
Q: What are the system requirements? A: Node.js >= 14.x, iTerm2, and macOS.
Q: How do I configure it for use with Cursor?
A: Add the provided JSON configuration to your ~/.cursor/mcp.json
file.
Q: Is it secure? A: Yes, it includes input validation, isolated command execution, and proper error handling.
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.
The server uses the standard MCP configuration options. No additional configuration is required.
To use this server with Cursor, add the following configuration to your ~/.cursor/mcp.json
file:
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": ["iterm_mcp_server"]
}
}
}
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 informationContributions are welcome! Please feel free to submit a Pull Request.
ISC
Rishab Koul
Reviews feature coming soon
Stay tuned for community discussions and feedback