Skip to main content
Glama

session_run

Execute commands in iTerm2 terminal sessions to automate terminal tasks and manage multiple sessions efficiently.

Instructions

Execute a command in an iTerm2 session (sends text + Enter).

Args: command: The command string to execute. session_id: Target session ID. Omit for the active session. all_sessions: If true, run in every session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
session_idNo
all_sessionsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/urjitbhatia/it2mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server