coder

r-huijts/coder

3.2

If you are the rightful owner of coder and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that transforms iTerm2 into a powerful AI coding agent.

Tools

Functions exposed to the LLM to take actions

run_command

Executes a shell command in the active iTerm2 session and optionally captures the output.

read_terminal_output

Reads the entire visible contents of the active iTerm2 screen.

send_text

Sends a string of text to the active session without adding a newline.

create_tab

Creates a new tab in the current iTerm2 window.

create_session

Creates a new session (split pane) in the current tab.

clear_screen

Clears the screen of the active session (like Ctrl+L).

list_profiles

Retrieves a list of all available iTerm2 profiles.

switch_profile

Switches the profile of the current iTerm2 session.

get_session_info

Gets information about the current window, tab, and session IDs.

read_file

Reads a file, with options to specify a range of line numbers.

write_file

Writes content to a file, overwriting it if it exists or creating it if it doesn't.

edit_file

Replaces a specific block of lines in a file with new content.

list_directory

Lists the contents of a directory, returning a structured list of files and subdirectories.

search_code

Searches for a string/regex in files using ripgrep and returns structured results (file, line number, content).

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources