pty-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_ssh_sessionC | Open an interactive SSH session (supports key/password auth and SSH config aliases) |
| create_local_sessionC | Open a local interactive terminal session (bash, python3, node, etc.) |
| create_serial_sessionC | Open a serial port session |
| send_inputA | Send a command and wait for output to settle. Returns is_complete (false = timeout, use read_output for remaining output) |
| read_outputB | Read current screen output without sending any input |
| send_controlC | Send a control key (ctrl+c, ctrl+d, enter, tab, up, down, etc.) |
| list_sessionsB | List all active sessions |
| list_remote_sessionsC | List persistent sessions on a remote ai-tmux server (use session_id to reattach) |
| close_sessionC | Close a session (also terminates remote PTY) |
| detach_sessionA | Detach from a persistent session but keep the remote PTY running (reattach via list_remote_sessions + session_id) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/raychao-oao/pty-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server