FRENES

Terminal and OS · MCP server

Pty MCP: MCP server, setup and security

Pty MCP is an open-source MCP server published on GitHub that lets an AI agent use local shells, persistent SSH sessions and serial ports interactively. Its repository has 20 stars and its last commit is from October 22, 2026 and it is licensed under MIT.

Actively maintainedSystem access

What Pty MCP does

According to its repository: “Interactive PTY sessions for AI agents: local shells, persistent SSH sessions with attach/detach, and serial ports.”

The Model Context Protocol (MCP) is a standard plug between an AI agent and an outside service: once the server is connected, its tools show up in the agent, which decides when to call them. Pty MCP is listed under Terminal and OS, a category of 115 servers in the directory, where it ranks #99 by stars.

Installing and connecting Pty MCP

Distribution modes declared in the official MCP registry:

  • MCPB bundle (one-click install in Claude Desktop)

It works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, VS Code, Codex and most recent agents). You add one entry to the client's MCP configuration: server name, start command or URL, environment variables. Project language: Go. Listed systems: macOS, Linux.

Security: what to check

Connecting an MCP server means installing software that talks straight to your agent: it runs with your rights and the model trusts its tool descriptions. The risk therefore depends on what it can touch and how far its code can be trusted.

Points found for Pty MCP:

  • System access: the Terminal and OS category gives the agent control over files, a terminal, code or a browser. A booby-trapped instruction in content the agent reads (prompt injection) can then turn into an action.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on March 23, 2026, the raychao-oao/pty-mcp repository has 20 stars and 2 forks, with 1 open issues. It has more stars than 38% of the servers in the directory. It received changes this month. Version published in the registry: 0.2.3 (March 24, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

REAREA : 377.2K377.2KOh My Posh ValidatorOh My Posh Validator : 23.6K23.6KXERJXERJ : 15.2K15.2KWindows MCPWindows MCP : 10.2K10.2KNotFairNotFair : 4.1K4.1KKordocKordoc : 2.7K2.7KClaude real videoClaude real video : 2.3K2.3KLlmwikiLlmwiki : 2.2K2.2KPty MCPPty MCP : 2020
GitHub stars of the most followed servers in the category (log scale); Pty MCP in orange. Checked October 25, 2026.

Verdict

Pty MCP is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Listed in the official MCP registry
  • Permissive licence (MIT)

Avoid if…

  • You cannot isolate the agent (sandbox, container)

Frequently asked questions

How do I install Pty MCP?

Pty MCP is distributed as MCPB bundle (one-click install in Claude Desktop). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of raychao-oao/pty-mcp.

Is Pty MCP free?

The code is published under the MIT licence and can be used free of charge.

Is Pty MCP safe?

Points to watch: system access. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by raychao-oao on GitHub. Check who maintains it before giving it access.

What are the alternatives to Pty MCP?

In the same category: Oh My Posh Validator, REA, XERJ, and Windows MCP. Oh My Posh Validator and REA score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score