A PTY runner for MCP
A PTY runner for MCP
pty-mcp provides terminal session tools over MCP so clients can spawn commands in a pseudo-terminal, read interactive output, send input, resize terminal windows, and manage process lifecycle safely.
Once Pty is connected, these are the calls the assistant has available:
pty_spawn — pty_resumepty_recover — pty_attachpty_detach — pty_handoffpty_takeover — pty_readpty_read_stdout — pty_read_stderrpty_read_at — pty_read_untilpty_read_until_any — pty_read_quiescentpty_prompt — confirm_dangerous_commandpty_write — pty_resizepty_close — pty_statuspty_wait — pty_listconfirm_dangerous_command — The confirm_dangerous_command tool exposed by this servertmux 3.x when using backend="tmux"pty_spawn — pty_resumepty_recover — pty_attachpty_detach — pty_handoffpty_takeover — pty_readpty_read_stdout — pty_read_stderrpty_read_at — pty_read_untilpty_read_until_any — pty_read_quiescentpty_prompt — confirm_dangerous_commandpty_write — pty_resizepty_close — pty_statuspty_wait — pty_listconfirm_dangerous_command — The confirm_dangerous_command tool exposed by this server.pty_resume — The pty_resume tool exposed by this server.pty_read_quiescent — The pty_read_quiescent tool exposed by this server.Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| pty_spawn | pty_resume |
| pty_recover | pty_attach |
| pty_detach | pty_handoff |
| pty_takeover | pty_read |
| pty_read_stdout | pty_read_stderr |
| pty_read_at | pty_read_until |
| pty_read_until_any | pty_read_quiescent |
| pty_prompt | confirm_dangerous_command |
| pty_write | pty_resize |
| pty_close | pty_status |
| pty_wait | pty_list |
| confirm_dangerous_command | The confirm_dangerous_command tool exposed by this server. |
| pty_resume | The pty_resume tool exposed by this server. |
| pty_read_quiescent | The pty_read_quiescent tool exposed by this server. |
{
"mcpServers": {
"pty": {
"command": "uvx",
"args": ["pty-mcp"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
tmux 3.x when using backend="tmux"Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.