PTY MCP Server

MCP server providing PTY (pseudo-terminal) execution capabilities to AI agents. Enables agents to run interactive terminal commands via PTY — supporting programs that require a TTY, handling interactive prompts, and managing long-running terminal sessions. Written in Haskell.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Developer Tools pty terminal shell interactive tty mcp-server haskell
⚙ Agent Friendliness
70
/ 100
Can an agent use this?
🔒 Security
66
/ 100
Is it safe for agents?
⚡ Reliability
62
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
63
Documentation
62
Error Messages
63
Auth Simplicity
90
Rate Limits
88

🔒 Security

TLS Enforcement
78
Auth Strength
62
Scope Granularity
55
Dep. Hygiene
65
Secret Handling
68

Full shell/PTY access — high privilege. Restrict to trusted contexts. Can run any command.

⚡ Reliability

Uptime/SLA
60
Version Stability
63
Breaking Changes
62
Error Recovery
63
AF Security Reliability

Best When

A developer needs AI agents to run interactive CLI programs that require a PTY — tools that prompt for input, use terminal control codes, or require a real TTY environment to function.

Avoid When

Your commands don't need interactive TTY. Using PTY for simple commands adds complexity. Also: PTY access is powerful — restrict to trusted contexts.

Use Cases

  • Running interactive terminal applications that require PTY from AI agents
  • Executing commands that prompt for interactive input in automated workflows
  • Managing long-running shell sessions with proper terminal handling via AI agents
  • Debugging and testing CLI tools that require real TTY environments

Not For

  • Simple non-interactive command execution (use standard bash/shell MCP instead)
  • Security-sensitive environments where shell access should be restricted
  • Teams unfamiliar with PTY/TTY concepts and their security implications

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: none
OAuth: No Scopes: No

No authentication — local shell execution via PTY. Access controlled by OS user permissions.

Pricing

Model: free
Free tier: Yes
Requires CC: No

Free open source. Requires Haskell/GHC for compilation.

Agent Metadata

Pagination
none
Idempotent
Partial
Retry Guidance
Not documented

Known Gotchas

  • PTY gives full shell access — only use in trusted, controlled environments
  • Interactive programs may wait for input indefinitely — implement timeouts for agent use
  • Requires Haskell toolchain for compilation — adds complexity to setup
  • Terminal escape codes in output can confuse agents reading raw PTY output

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for PTY MCP Server.

$99

Scores are editorial opinions as of 2026-03-06.

5227
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered