Pty MCP
未认领MCP server for interactive terminal sessions — local shells, SSH, serial ports, and persistent remote sessions
安装
claude mcp add pty-mcp -- /usr/local/bin/pty-mcp更多Developer Tools服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
12 个工具中显示 12 个
文档中列出的工具 (12)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
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 ¹