# interactive-cli MCP server

> Enables AI agents to interact with terminal processes using a pseudo-terminal and headless xterm rendering to handle prompts and REPLs.

- Repository: https://github.com/ohernandezdev/interactive-cli
- Page: https://hostedmcp.org/servers/ohernandezdev/interactive-cli
- Transport: —
- Stars: 1
- License: MIT

## Tools (9)

- `spawn`
- `send_input`
- `send_keys`
- `get_screen`
- `wait_for`
- `wait_for_exit`
- `resize`
- `list_sessions`
- `close`

## FAQ

### What operating systems are supported?

The server works on macOS and Linux only; Windows is not supported.

### Can the agent handle interactive prompts like npm init?

Yes, it spawns processes in a PTY and renders the screen so the agent can answer prompts and pick menu items.

### How does the server handle large terminal outputs?

Screens are capped at 80,000 characters to ensure they fit within limits, and the scrollback is limited to 1,000 lines.
