Pty MCP
UnclaimedMCP server for interactive terminal sessions — local shells, SSH, serial ports, and persistent remote sessions
Install
claude mcp add pty-mcp -- /usr/local/bin/pty-mcpSet up this server
More in Developer Tools
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
12 of 12 tools
Documented tools (12)
From project documentation. A server handshake does not verify each tool’s description or behavior.
close_session
Close a session (terminates remote PTY)
create_local_session
Start a local interactive terminal (bash, python3, node, etc.)
create_serial_session
Connect to a serial port device
create_ssh_session
SSH to a remote host (supports SSH config aliases)
detach_session
Disconnect but keep remote PTY running
list_remote_sessions
List persistent sessions on a remote host
list_sessions
List all active sessions
read_output
Read output, optionally wait for a pattern (waitfor, timeout, contextlines, taillines)
resize_session
Resize the terminal window (rows/cols) for any session type
send_control
Send control keys (ctrl+c, ctrl+d, arrows, tab, etc.)
send_input
Send a command and wait for output to settle
send_secret
Prompt the human operator for a secret via GUI dialog; sends it to the PTY session without exposing it to AI context or logs ¹
Tool change history
FAQ
Questions about Pty MCP Server
- How do I connect Pty MCP Server to Claude?
- The listing records `claude mcp add pty-mcp -- /usr/local/bin/pty-mcp` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Code as compatible clients.
- Is Pty MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Pty MCP Server do?
- Pty MCP Server documents 12 tools to the agent, including close_session, create_local_session, create_serial_session. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.