MCP.so
登录

ITerm MCP Server

@rishabkoul

关于 ITerm MCP Server

暂无概览

基本信息

分类

其他

许可证

ISC

运行时

node

传输方式

stdio

发布者

rishabkoul

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": [
        "iterm_mcp_server"
      ]
    }
  }
}

工具

5

Open a new terminal instance

Execute a command in a specific terminal

Read the output from a specific terminal

Close a specific terminal

List all active terminals and their information

概览

What is ITerm MCP Server?

ITerm MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to interact with iTerm2 terminals on macOS. It allows creating, managing, and controlling terminal sessions programmatically through the MCP.

How to use ITerm MCP Server?

Install Node.js >=14.x, iTerm2 on macOS, then run npx iterm_mcp_server. For integration with Cursor, add the server configuration to ~/.cursor/mcp.json with the command npx and args ["iterm_mcp_server"].

Key features of ITerm MCP Server

  • Create and manage iTerm2 terminal sessions
  • Execute commands in a specific terminal
  • Read terminal output from any session
  • List all active terminals and their details
  • Close specific terminal sessions

Use cases of ITerm MCP Server

  • AI‑powered terminal automation and scripting
  • Remote or automated command execution in iTerm2
  • Programmatic monitoring of long‑running terminal tasks
  • Integrating AI chat assistants with live terminal workflows

FAQ from ITerm MCP Server

What does ITerm MCP Server do?

It provides an MCP interface for iTerm2, allowing AI assistants to open, control, read from, and close terminal sessions on macOS.

What are the system requirements?

Node.js >=14.x, iTerm2, and macOS (iTerm2 is macOS‑only).

How does the server handle security?

All inputs are validated using Zod schemas, commands run in isolated terminal sessions, and proper error handling and input sanitization is implemented.

Can I use this with editors other than Cursor?

The README gives a configuration example for Cursor, but the server uses standard MCP and should work with any MCP‑compatible client.

Where does terminal output data live?

Terminal output is read from iTerm2 sessions on the local machine; no external service stores the data.

评论

其他 分类下的更多 MCP 服务器