Back to Home
r-huijts icon

coder

Verified Safe

by r-huijts

Overview

Transforms iTerm2 into an AI coding agent, providing structured tools for terminal control, filesystem interaction, and code search.

Installation

Run Command
uvx --with mcp --with iterm2 python /path/to/your/coder/iterm2_mcp_server.py

Security Notes

The server implements several safety features, including automatic detection and handling of complex quoting for command execution via temporary script files, and an explicit 'DANGEROUS_COMMANDS' list for `run_command` that requires `require_confirmation=True`. It strongly advocates for specialized, safer tools (e.g., `write_file`, `read_file`, `search_code`) over raw `run_command` for file operations and searching, which significantly reduces the risk of shell injection. Output limits are in place to prevent memory exhaustion. There are no direct uses of `eval` or `exec` on unsanitized user input. The primary remaining risk is if an AI agent is instructed to use `run_command` with malicious shell code that circumvents the temporary script safeguards (e.g., by breaking out of the script context), or if `require_confirmation=True` is misused for destructive actions.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-02

Tags

iTerm2AI AgentTerminal ControlFilesystem I/OCode Search