mcp-pty
v0.5.3
Published
MCP server for PTY session management with Bun runtime
Downloads
35
Maintainers
Readme
mcp-pty
MCP (Model Context Protocol) server for PTY session management with Bun runtime.
Installation
bun add mcp-ptyUsage
With Bun (Recommended)
bunx mcp-ptyOr via MCP client config:
{
"mcpServers": {
"pty": {
"command": "bunx",
"args": ["mcp-pty"]
}
}
}With Node.js
Requires transpilation - not recommended. Use Bun for optimal performance.
Features
- PTY session management (create, execute, resize, close)
- ANSI escape code handling with xterm.js
- Session-based command execution
- Real-time output streaming
- Safe command execution with validation
Requirements
- Bun >= 1.0.0
- TypeScript >= 5.0
License
MIT
