Skip to main content
Glama
almahdi
by almahdi

pty_list

Lists all active and exited pseudo-terminal sessions to monitor running processes, check status, and obtain session IDs for management tools.

Instructions

Lists all PTY sessions (active and exited).

Use this tool to:

  • See all running and exited PTY sessions

  • Get session IDs for use with other pty_* tools

  • Check the status and output line count of each session

  • Monitor which processes are still running

Sessions remain in the list after exit until explicitly cleaned up with pty_kill, allowing you to read their output logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

Other Tools

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/almahdi/mcp-terminal'

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