Terminal UI DevTools
@nvms
About Terminal UI DevTools
What Chrome DevTools MCP is for the browser, tui-mcp is for the terminal. Launch any TUI app, take screenshots, send keystrokes, read text - works with any framework.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tui-mcp": {
"command": "npx",
"args": [
"tui-mcp"
]
}
}
}Tools
13Spawn a TUI app in a managed pty
Terminate a session
List active sessions
Resize the terminal
Capture terminal as PNG
Capture terminal as plain text
Read a rectangular area of the buffer
Get cursor position
Send a keystroke or combo (`Enter`, `Ctrl+C`, `Up`, `q`)
Type a string of characters
Send mouse events
Wait for a regex pattern to appear
Wait until the terminal stops changing
Overview
What is Terminal UI DevTools?
Terminal UI DevTools (tui-mcp) is an MCP server that lets you launch any terminal application in a managed pseudo-terminal, take screenshots, read text, and send keystrokes. It works with any TUI framework or no framework at all—vim, htop, Bubbletea, Textual, Ink, Inquirer, Trend, ncurses, and more.
How to use Terminal UI DevTools?
Install and add it to Claude via the command:
claude mcp add --scope user tui-mcp -- npx tui-mcp
Once added, you can use the provided MCP tools to launch apps, interact with them, and capture output.
Key features of Terminal UI DevTools
- Launch any TUI app in a managed pty
- Capture terminal output as PNG or plain text
- Send keystrokes, text, and mouse events
- Wait for text patterns or terminal idle state
- Resize the terminal and read cursor position
- Works with any TUI framework or no framework
Use cases of Terminal UI DevTools
- Automating interactions with terminal-based editors like vim
- Testing TUI applications (Bubbletea, Textual, etc.)
- Taking screenshots of terminal dashboards (htop, trend)
- Simulating user input for terminal UI debugging
- Integrating terminal apps into agent workflows
FAQ from Terminal UI DevTools
How does Terminal UI DevTools compare to Chrome DevTools MCP?
What Chrome DevTools MCP is for the browser, tui-mcp is for the terminal. It provides the same kind of programmatic control but for terminal applications.
How do I install Terminal UI DevTools?
Run claude mcp add --scope user tui-mcp -- npx tui-mcp in your terminal.
What terminal emulator does it use internally?
It uses xterm-headless – the same terminal emulator that powers VS Code’s terminal, but without a DOM.
Does it work with any TUI framework?
Yes. It works with any TUI framework (Bubbletea, Textual, Ink, etc.) or no framework at all – vim, htop, ncurses, and more.
Can I send
Frequently asked questions
How does Terminal UI DevTools compare to Chrome DevTools MCP?
What Chrome DevTools MCP is for the browser, tui-mcp is for the terminal. It provides the same kind of programmatic control but for terminal applications.
How do I install Terminal UI DevTools?
Run `claude mcp add --scope user tui-mcp -- npx tui-mcp` in your terminal.
What terminal emulator does it use internally?
It uses [xterm-headless](https://github.com/xtermjs/xterm.js) – the same terminal emulator that powers VS Code’s terminal, but without a DOM.
Does it work with any TUI framework?
Yes. It works with any TUI framework (Bubbletea, Textual, Ink, etc.) or no framework at all – vim, htop, ncurses, and more.
Basic information
More Developer Tools MCP servers

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
OrangePro
Aamir SiddiquiOrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.

Rams
HSLA0001 Inc.Design review for UI code, inside your agent. One tool (review_files): up to 20 files in, a scored review out — 0–100, issues with severity and file:line, a concrete fix for each. 258 versioned rules across accessibility

Skilder.ai
skilder.aiRun skills and MCP tools like production software: versioned, composed into roles, distributed to every agent from one governed library.
AptiBuild AI — Career Intelligence
ParklandBuildsAptiBuild AI — Career Intelligence MCP Server Structured career decision scaffolding for AI agents. Provides personality-conditioned business idea generation, official BLS OEWS wage data, FRED labor market signals, and
Comments