raychao-oao/pty-mcp
by Various
MCP server for interactive terminal sessions — local shells, SSH, serial ports, and persistent remote sessions
MCP
raychao-oao/pty-mcp
Added 1 June 2026
Overview
MCP server for interactive terminal sessions. It supports local shells, SSH, serial ports, and persistent remote sessions. Written in Go, it exposes terminal access through the Model Context Protocol.
Best for
Best for
Developers who need to add interactive terminal access to MCP-based workflows and tools
Use cases
- Running interactive shell commands from MCP-capable tools
- Managing remote SSH sessions programmatically
- Accessing serial port terminals via an MCP interface
How to use
Install
curl -fsSL https://raw.githubusercontent.com/raychao-oao/pty-mcp/main/install.sh | sh Tools exposed
create_local_sessioncreate_ssh_sessioncreate_serial_sessionsend_inputread_outputsend_controlsend_secretlist_sessionsclose_sessiondetach_sessionresize_sessionlist_remote_sessions
Tested with
Claude Code
Notes
MCP server for interactive terminal sessions. It supports local shells, SSH, serial ports, and persistent remote sessions. Written in Go, it exposes terminal access through the Model Context Protocol.
8 stars on GitHub. Last updated 2026-05-22. Licensed MIT.
Use cases
- Running interactive shell commands from MCP-capable tools
- Managing remote SSH sessions programmatically
- Accessing serial port terminals via an MCP interface
Pros
- Supports multiple terminal backends (local, SSH, serial, remote persistent)
- Enables persistent remote sessions across reconnects
- Leverages MCP protocol for standard tool integration
Cons
- Low GitHub star count may indicate limited community support
- Requires an MCP-compatible client to function
- No built-in authentication or session isolation mentioned in description
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Supports multiple terminal backends (local, SSH, serial, remote persistent)
- Enables persistent remote sessions across reconnects
- Leverages MCP protocol for standard tool integration
Cons
- Low GitHub star count may indicate limited community support
- Requires an MCP-compatible client to function
- No built-in authentication or session isolation mentioned in description
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.