Skip to main content
Glama

session_list

Lists all iTerm2 sessions with IDs, names, and MCP access status to identify which sessions can be controlled by AI tools.

Instructions

List all iTerm2 sessions with their IDs, names, titles, sizes, TTYs, and mcp_enabled status.

Shows all sessions regardless of mcp_enabled status so you can see which sessions need to be tagged. Only mcp_enabled sessions can be targeted by other tools.

To enable a session for MCP access, run in that session's terminal: it2 session set-var user.mcp_enabled true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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