What is pty-mcp?
pty-mcp is an open-source MCP (Model Context Protocol) server in the Command Line category: MCP server for interactive terminal sessions, local shells, SSH, serial ports, and persistent remote sessions. It has 20 stars on GitHub, is written in Go under the MIT license, and was last updated in Oct 2026.
Setup
Add pty-mcp to Claude
A starting point: the package name below is derived from the repository name, so confirm the exact command in the README. Paste it into claude_desktop_config.json and restart Claude Desktop.
{ "mcpServers": { "pty-mcp": { "command": "npx", "args": ["-y", "pty-mcp"] } }}Using Claude Code instead:
claude mcp add pty-mcp -- npx -y pty-mcpgit clone https://github.com/raychao-oao/pty-mcpAlternatives
Other command line MCP servers
hop★ 64Fast SSH connection manager with TUI dashboard and MCP server for discovering, searching, and executing commands on remote hosts
forge★ 28Terminal MCP server for AI coding agents with persistent PTY sessions, ring-buffer incremental reads, headless xterm screen cap...
tui-mcp★ 15What Chrome DevTools MCP is for the browser, tui-mcp is for the terminal.
claude-terminal-mcp★ 5Terminal, filesystem, and background-job tools for Claude Desktop on Linux. Zero-dependency MCP extension, MIT-licensed.
when★ 4Six tools. One install. The WhenLabs developer toolkit.
FAQ
pty-mcp: common questions
What is the pty-mcp MCP server?
pty-mcp is an open-source MCP (Model Context Protocol) server in the Command Line category: MCP server for interactive terminal sessions, local shells, SSH, serial ports, and persistent remote sessions. It has 20 stars on GitHub, is written in Go under the MIT license, and was last updated in Oct 2026.
How do I add pty-mcp to Claude?
Add it to claude_desktop_config.json (Claude Desktop) or run "claude mcp add pty-mcp -- npx -y pty-mcp" (Claude Code), then restart. The package name is derived from the repository name, so confirm the exact command in the project's README.
Is pty-mcp open source?
Yes. The code is public on GitHub at raychao-oao/pty-mcp under the MIT license.
Is pty-mcp actively maintained?
The repository was last updated in Oct 2026 and has 1 open issues and 2 forks.
What are alternatives to pty-mcp?
Other command line MCP servers on Bro Find AI include hop, forge, tui-mcp.
Listed from the community awesome-mcp-servers index. Repository facts from GitHub; check the project itself for the latest setup.
