MCP Directory

raychao-oao/pty-mcp

GitHub
System

Interactive PTY sessions for AI agents — local shells, SSH with persistent sessions (ai-tmux daemon for attach/detach), and serial ports. Single Go binary, no tmux dependency.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y pty-mcp

Use with Agent-CoreX

Agent-CoreX intelligently routes which tools from raychao-oao/pty-mcp your AI agent actually needs per request — reducing token usage and cost.

agent-corex.json

{
  "mcpServers": {
    "pty-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pty-mcp"
      ]
    }
  }
}

Route raychao-oao/pty-mcp intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add pty-mcp

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use raychao-oao/pty-mcp directly without routing

npx -y pty-mcp

New to Agent-CoreX? View setup guide →

raychao-oao/pty-mcp MCP Server — Agent-CoreX