Enterprise DNA
M MCP Servers Developer low

raychao-oao/pty-mcp

by Various

MCP server for interactive terminal sessions — local shells, SSH, serial ports, and persistent remote sessions

R

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_session
  • create_ssh_session
  • create_serial_session
  • send_input
  • read_output
  • send_control
  • send_secret
  • list_sessions
  • close_session
  • detach_session
  • resize_session
  • list_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
Free 27-page guide

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.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks