# open-terminal

Open a new iTerm terminal window using Python API

Agent View of the PolicyLayer registry record for `open-terminal`. HTML page: https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/open-terminal

## Facts

- Tool: `open-terminal`
- Server: Enhanced iTerm MCP Server (`2black0/enhanced-iterm-mcp-server`) — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server.md
- Homepage: https://github.com/2black0/enhanced-iterm-mcp-server
- Risk category: Execute (High risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "open-terminal",
    "arguments": {}
  }
}
```

## Why open-terminal is rated High

This tool opens a new terminal window via iTerm2's Python API. While it doesn't directly execute commands or delete data, it creates an execution environment (a terminal session) that can be used to run arbitrary commands. The act of spawning a terminal window is an external operation with side effects, fitting the Execute category.

From the tool's own definition: "Open a new iTerm terminal window using Python API"

## Use case

AI agents invoke open-terminal to trigger actions in Enhanced iTerm MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Enhanced iTerm MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "open-terminal": {
      "limits": [
        {
          "counter": "open-terminal_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Enhanced iTerm MCP Server (11)

- `broadcast-input` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/broadcast-input.md
- `execute-command-in-pane` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/execute-command-in-pane.md
- `split-terminal-horizontal` — Execute — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/split-terminal-horizontal.md
- `get-session-details` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-session-details.md
- `get-session-info` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-session-info.md
- `get-terminal-state` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/get-terminal-state.md
- `list-all-sessions` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/list-all-sessions.md
- `list-panes` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/list-panes.md
- `monitor-session` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/monitor-session.md
- `split-terminal-vertical` — Read — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/split-terminal-vertical.md
- `set-tab-color` — Write — https://policylayer.com/tools/2black0-enhanced-iterm-mcp-server/set-tab-color.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=2black0-enhanced-iterm-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2black0-enhanced-iterm-mcp-server
