프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

pty-mcp

제작자: raychao-oao버전 0.2.3i★ 20i내 컴퓨터에서 실행
레지스트리 이름io.github.raychao-oao/pty-mcp

설치 방법

What it does

Interactive PTY sessions over MCP: local shells, SSH, serial ports, and persistent remote sessions.

  • Connects 내 컴퓨터에서 실행
  • Account or key No key needed
  • Category 개발자 도구

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 3/3 통과 · 내 컴퓨터에서 실행돼요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. 제작자 설치 파일 내려받기

    제작자의 .mcpb 파일 다운로드

    .mcpb 파일은 제작자에게서 바로 온 것으로, 우리는 바꾸지 않았어요

  2. 파일을 두 번 클릭한 뒤 컴퓨터용 Claude 앱에서 Install 누르기

  3. 해 보기

    pty-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 pty-mcp을 쓰고 있다고 하거나 답에 pty-mcp 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 pty-mcp에 연결할 수 없어요

pty-mcp는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · pty-mcp에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

B · 개발자 도구에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code는 아직 pty-mcp에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · pty-mcp에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

Cursor는 아직 pty-mcp에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · pty-mcp에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

VS Code는 아직 pty-mcp에 연결할 수 없어요

제작자가 컴퓨터용 Claude 앱 설치 파일만 제공해요

대신 이렇게 할 수 있어요

A · pty-mcp에 연결되는 앱 쓰기

  • 키 필요 없음, 설치 필요 없음 · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? pty-mcp을 쓰는 사람에게 물어보세요💬 토론 →

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
연결 방식
내 컴퓨터에서 실행
최신 버전i
0.2.3
카테고리i
개발자 도구
레지스트리 공개i
2026년 3월 25일
코드 마지막 변경i
2026년 10월 22일
제작자
raychao-oao
패키지
mcpb: …/pty-mcp-darwin-arm64
mcpb: …/pty-mcp-darwin-amd64
mcpb: …/pty-mcp-linux-amd64
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 13일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 raychao-oao 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 22일 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

개발자 도구 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 5852개 중 93%보다 스타가 많아요
  • 이 카테고리의 다른 서버 5852개 중 6%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 5852개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

pty-mcp, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 22일 전 변경됐고, 최신 버전(0.2.3)은 8개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 MCPB도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: REA, GitHub, Serena MCP: the IDE for your agent

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

제작자: morluto널리 사용됨↓ 38.9만/주★ 45.5만어제 업데이트

내 컴퓨터에서 실행

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

제작자: github널리 사용됨★ 3.4만10일 전 업데이트

컴퓨터 또는 클라우드

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

제작자: oraios널리 사용됨↓ 3.5만/주★ 3.1만6개월 전 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

pty-mcp

An MCP (Model Context Protocol) server that gives AI agents interactive terminal sessions — local shells, SSH, serial ports, and persistent remote sessions that survive disconnects.

Built for sysadmins and network engineers who want AI to help with real server and device management, not just code generation.

Why

AI agents run commands in non-interactive shells. They can't:

  • SSH into a server and interact with running processes
  • Connect to routers or switches via serial console
  • Monitor logs and react when a specific event occurs
  • Keep session state across multiple commands
  • Wait for a server to reboot and detect when it's back up

pty-mcp solves all of these by providing real PTY sessions over MCP.

Without pty-mcp, AI agents resort to sleep 30 && check_status loops — burning CPU cycles and API calls waiting for things to happen. With wait_for, the agent blocks server-side until the event occurs. Less polling, less energy, better for polar bears. 🐻❄️

Use Cases

Server administration

# Reboot a server and wait until it's back online

create_local_session("ping myserver") read_output(wait_for: "bytes from", timeout: 300) → blocks until server responds after reboot (~80s, one tool call)

Network device management

# Connect to a router via serial console

create_serial_session(port: "/dev/ttyUSB0", baud: 9600) send_input("show interfaces status") read_output(wait_for: "\\$")

Log monitoring and alerting

# Watch logs and act when something happens

create_ssh_session(host: "prod", user: "admin") send_input("tail -f /var/log/app.log") read_output(wait_for: "ERROR|CRITICAL", timeout: 3600) → returns the error line + context when it appears

Long-running tasks that survive disconnects

create_ssh_session(host: "server", user: "admin", persistent: true)

send_input("apt upgrade -y") detach_session() → close Claude Code, task continues

Reconnect later to check result

Features

FeatureDescription
Local terminalInteractive bash/python/node sessions on local machine
SSH sessionsConnect to remote hosts with key/password auth, SSH config support
Serial portConnect to devices via serial (IoT, embedded, network gear)
Persistent sessionsSessions survive SSH disconnects via ai-tmux daemon
Attach/DetachDetach from a running session, reconnect later
Control keysSend ctrl+c, ctrl+d, arrow keys, tab, escape
Settle detectionWaits for output to settle before returning (smart timeout)
Pattern matchingwait_for blocks until a regex pattern appears in output (v0.2.0)
Bounded memoryRing buffer prevents OOM on long-running sessions (v0.2.0)
Resize terminalResize the PTY window for local, SSH, serial, and persistent remote sessions (v0.10.0)
Audit logOptional voluntary operation log — record send_input commands to a collector for review and traceability (v0.8.0)
Audit redactionCredentials, auth headers, and PEM keys are automatically scrubbed before being written to the audit log (v0.10.0)

Architecture

┌─────────────────────────────────────────────────────┐

│ AI Agent (Claude Code, etc.) │ │ │ │ MCP Tools: create_local_session, send_input, │ │ send_control, read_output, close_session │ └──────────────────────┬──────────────────────────────┘ │ JSON-RPC stdio ┌──────────────────────┴──────────────────────────────┐ │ pty-mcp (MCP Server) │ │ │ │ Session Manager │ │ ├── LocalSession (local PTY via creack/pty) │ │ ├── SSHSession (remote PTY via x/crypto/ssh) │ │ ├── SerialSession (serial port via go.bug.st) │ │ └── RemoteSession (persistent via ai-tmux) │ └─────────────────────────────────────────────────────┘

Persistent mode (ai-tmux):

pty-mcp ──SSH──▶ ai-tmux client ──Unix socket──▶ ai-tmux server (daemon) ├── PTY: bash ├── PTY: ssh admin@router └── PTY: tail -f /var/log/syslog

Quick Start

Claude Code Plugin (recommended)

Installs the binary automatically and registers the MCP server:

claude plugin marketplace add raychao-oao/pty-mcp

claude plugin install pty-mcp@pty-mcp

Restart Claude Code — the binary downloads automatically on session start, then restart once more to activate it. No manual claude mcp add needed.

Updating:

claude plugin marketplace update pty-mcp

claude plugin update pty-mcp@pty-mcp

Restart Claude Code — the new binary downloads automatically on session start, then restart once more to apply the update.

Manual install

One-line install + register (macOS / Linux / WSL2):

curl -fsSL https://raw.githubusercontent.com/raychao-oao/pty-mcp/main/install.sh | sh

claude mcp add pty-mcp -- /usr/local/bin/pty-mcp

Restart Claude Code and the tools are available.

Other install methods

Download from GitHub Releases:

Go to Releases, download the binary for your platform, and make it executable:

PlatformBinary
macOS (Apple Silicon)pty-mcp-darwin-arm64
macOS (Intel)pty-mcp-darwin-amd64
Linux (x86_64) / WSL2pty-mcp-linux-amd64
Linux (ARM64)pty-mcp-linux-arm64
chmod +x pty-mcp-*

sudo mv pty-mcp-* /usr/local/bin/pty-mcp claude mcp add pty-mcp -- /usr/local/bin/pty-mcp

Build from source (requires Go 1.25+):

go install github.com/raychao-oao/pty-mcp@latest

claude mcp add pty-mcp -- $(go env GOPATH)/bin/pty-mcp

WSL2 Notes

pty-mcp works in WSL2 out of the box. Use the Linux binary:

# Inside WSL2

curl -fsSL https://raw.githubusercontent.com/raychao-oao/pty-mcp/main/install.sh | sh claude mcp add pty-mcp -- /usr/local/bin/pty-mcp

Optional: Install ai-tmux on remote servers

For persistent sessions that survive SSH disconnects, install ai-tmux on your remote server:

# Download for your server's architecture

curl -fsSL https://raw.githubusercontent.com/raychao-oao/pty-mcp/main/install.sh | sh

Or just copy the binary:

scp /usr/local/bin/ai-tmux your-server:/usr/local/bin/ai-tmux

Usage Examples

Once registered, the AI agent can use these MCP tools:

Local interactive shell:

create_local_session()                    → {session_id, type: "local"}

send_input(session_id, "cd /tmp && ls") → {output: "...", is_complete: true} send_input(session_id, "python3") → start Python REPL send_input(session_id, "print('hello')") → {output: "hello\n>>>"} send_control(session_id, "ctrl+d") → exit Python close_session(session_id)

SSH to remote server:

create_ssh_session(host: "myserver", user: "admin")

send_input(session_id, "top") send_control(session_id, "ctrl+c") → stop top

Wait for pattern (v0.2.0):

create_local_session("ping myserver")

read_output(session_id, wait_for: "bytes from", timeout: 300) → blocks until server responds or 5 min timeout

send_input(session_id, "docker-compose up") read_output(session_id, wait_for: "ready|error", timeout: 60, context_lines: 3) → returns matched line + 3 lines of context

Send secret / password (v0.3.0):

# AI detects a password prompt, calls send_secret instead of handling the password itself

create_ssh_session(host: "router", user: "admin") read_output(session_id, wait_for: "Password:") → session is waiting for input

send_secret(session_id, prompt: "Router admin password:") → native GUI dialog appears on the operator's screen (macOS: system dialog, WSL2: Windows Get-Credential, Linux: zenity/kdialog) → operator types password — it is sent directly to the PTY session → AI only sees: {success: true, length: 12} → password never appears in AI context or logs

Persistent session (survives SSH disconnect):

create_ssh_session(host: "server", user: "admin", persistent: true)

send_input(session_id, "make build") → start long build detach_session(session_id) → disconnect, build continues

Later (even after restart):

list_remote_sessions(host: "server", user: "admin") → see running sessions create_ssh_session(host: "server", user: "admin", session_id: "abc123") → reattach send_input(session_id, "echo $?") → check build result

MCP Tools

ToolDescription
create_local_sessionStart a local interactive terminal (bash, python3, node, etc.)
create_ssh_sessionSSH to a remote host (supports SSH config aliases)
create_serial_sessionConnect to a serial port device
send_inputSend a command and wait for output to settle
read_outputRead output, optionally wait for a pattern (wait_for, timeout, context_lines, tail_lines)
send_controlSend control keys (ctrl+c, ctrl+d, arrows, tab, etc.)
send_secretPrompt the human operator for a secret via GUI dialog; sends it to the PTY session without exposing it to AI context or logs ¹
list_sessionsList all active sessions
close_sessionClose a session (terminates remote PTY)
detach_sessionDisconnect but keep remote PTY running
resize_sessionResize the terminal window (rows/cols) for any session type
list_remote_sessionsList persistent sessions on a remote host

¹ `send_secret` platform support: macOS uses a native password dialog (osascript). WSL2 uses powershell.exe Get-Credential (Windows GUI dialog). Linux with a display server uses zenity or kdialog. Headless Linux falls back to /dev/tty. On macOS/Linux, if the operator doesn't respond within 60 seconds, the dialog is dismissed and the call returns a timeout error instead of falling through to another dialog or waiting again; cancelling the call (e.g. pressing ESC in Claude Code) dismisses the dialog immediately the same way. WSL2 is the exception: its dialog has no timeout and is never force-closed, including on cancellation — killing a WSL-interop-launched process that owns an open Windows GUI window was found to freeze the hosting terminal (unresponsive to input, scrolling, and selection) until the operator closes that terminal, with no way to recover it short of that. The dialog just waits until the operator answers or clicks Cancel themselves, which exits normally.

Audit Log

pty-mcp includes an optional audit log feature that records every send_input command to a central collector. This lets teams review and trace what AI agents did during a session.

Important: This is a voluntary, self-reporting operation log. It relies on operators choosing to enable it and run the collector. Because pty-mcp runs on the operator's own machine, there is no technical mechanism to enforce logging — a non-compliant operator could simply run pty-mcp without audit enabled. This feature provides traceability for teams that *want* it, but it is not a substitute for system-level audit tools (e.g., auditd, syslog forwarding, SSH session recording) in environments where audit compliance is required.

What it records
  • Timestamp, operator identity, session ID, session type (local/ssh/serial), target host
  • The exact input sent via send_input (including raw=true inputs like menu selecti

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요