Iterm2

18 tools. 12 can modify or destroy data without limits.

1 destructive tool with no built-in limits. Policy required.

Last updated:

12 can modify or destroy data
6 read-only
18 tools total

Community server · catalogue entry verified 03/07/2026

How to control Iterm2 ↓

What Iterm2 exposes to your agents

Read (6) Write / Execute (11) Destructive / Financial (1)
Critical Risk

The most dangerous Iterm2 tools

12 of Iterm2's 18 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Iterm2

PolicyLayer is an MCP gateway — it sits between your AI agents and Iterm2, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "clear_buffer": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "close_session": {
    "limits": [
      {
        "counter": "close_session_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "get_active_session": {
    "limits": [
      {
        "counter": "get_active_session_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Iterm2 — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON ITERM2 →

Instant setup, no code required.

All 18 Iterm2 tools

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Iterm2

Can an AI agent delete data through the Iterm2 MCP server? +

Yes. The Iterm2 server exposes 1 destructive tools including clear_buffer. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Iterm2? +

The Iterm2 server has 4 write tools including close_session, create_window, set_badge. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Iterm2.

How many tools does the Iterm2 MCP server expose? +

18 tools across 4 categories: Destructive, Execute, Read, Write. 6 are read-only. 12 can modify, create, or delete data.

How do I enforce a policy on Iterm2? +

Register the Iterm2 MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Iterm2 tool call.

Deterministic rules across all 18 Iterm2 tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

18 Iterm2 tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.