Smart Terminal MCP server
MCP PTY server providing AI agents with real interactive terminal access
12 stars132 downloads/wk
Reviews
Write oneNobody has reviewed Smart Terminal yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Smart Terminal tools (16, 7 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
terminal_diffwrite actionRun two commands and return a unified diff.
terminal_execwrite actionExecute a command in a terminal session and wait for it to finish.
terminal_extra… more tools: …. list=true for full schemas, or pass tool + args to call.
terminal_get_historyGet past output from a terminal session.
terminal_listList active terminal sessions.
terminal_readRead new output from a terminal session.
terminal_resizeResize terminal dimensions.
terminal_retryRetry a command with backoff.
terminal_runwrite actionRun a binary directly; avoid shell quoting.
terminal_run_pagedwrite actionRun a read-only command and return one page of output.
terminal_send_keywrite actionSend a key to the terminal.
terminal_startStart a new interactive terminal session.
terminal_stopStop and clean up a terminal session.
terminal_waitWait for a pattern to appear in terminal output.
terminal_writewrite actionWrite raw data to a terminal session.
terminal_write_filewrite actionWrite content to a file.
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.eval.smithery/shttp/module.js: …ode, sch); const makeValidate = new Function(`${names_1.default.self}`, `${names_1.de…
What the publisher says
From the Smart Terminal repository's README, as published. We do not edit it. Read it on GitHub
smart-terminal-mcp
A PTY-based MCP server with strong Windows support, giving MCP-capable AI clients and their agents persistent, interactive shell access via pseudo-terminals (node-pty).
Unlike simple exec-based approaches, this keeps PTY-backed shell sessions alive across steps, with bidirectional communication for interactive CLI tools, incremental reads, and session state that carries forward.
See the Changelog for recent updates.
Why use this instead of your AI client's built-in terminal?
Install this if you want a more consistent terminal workflow across AI clients, instead of relying on whatever built-in terminal behavior a single client happens to provide.
This MCP is most useful when you want:
- Portable workflow across clients -- The same terminal tools and habits work across Claude Code, Cursor, Trae, Antigravity, and other MCP-capable clients.
- Reusable prompts and tooling -- Workflows built around tools like terminalwait, terminalretry, terminalrunpaged, and terminalgethistory are easier to reuse across teams and clients, with less lock-in to one client's terminal behavior.
- Persistent terminal state -- Keep the same shell session alive across steps, including the current folder, environment, and running processes.
- Better interactive behavior -- Safely handle tools that expect TTY behavior—such as vim, npm prompts, or interactive installers that often hang on standard piped stdin. Support full interactive sessions with REPLs, Ctrl+C, arrow keys, and dynamic prompts.
- More control over large output -- Truncate, page, diff, retry, wait for patterns, or fetch history instead of dumping everything at once.
- More predictable automation -- Use deterministic completion markers instead of guessing when a command is done.
If your AI client already provides a stable, stateful, interactive terminal with good output handling, you may not need this MCP for basic command execution. The main reason to add it is to make terminal-driven workflows more explicit, reusable, and portable across clients.
Features
Think of this as a controlled keyboard + terminal for an agent running inside an MCP client. It opens a persistent PTY-backed shell session so the agent can send commands and keystrokes, read output, and continue working in the same session.
Core terminal features
- Interactive terminal sessions -- Keeps a persistent PTY-backed shell session open so the agent can send input, read output, and pick up where it left off.
- Deterministic command completion -- terminal_exec uses unique markers so it can tell when a command has finished.
- Clean output -- Pre-command markers help keep returned output readable, even when shells echo commands or expand aliases.
- Working directory tracking -- terminal_exec reports the current folder after each command.
Long output and long-running commands
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y smart-terminal-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add smart-terminal -- npx -y smart-terminal-mcp
Smart Terminal: common questions
- Is Smart Terminal MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Smart Terminal safety report
- How do I install Smart Terminal?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Smart Terminal need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Smart Terminal maintained?
- The last commit was 8 days ago (2026-09-13). The latest release is v1.2.39.