Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

SmartCLI — drive terminal TUIs

PYPI · SMARTCLI-TOOLKIT · SCANNED SEP 21

Let agents drive vim, htop, lazygit: send keys, wait on screen state, read the rendered cell grid.

Available components

0 this week 63 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security50
  • Malware scan not yet available for this package.Unverified
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs setuptools.build_meta at install time, a recognised native-build step with no shell scripting around it. View diagnostics → Pass
  • 1 of 32 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency35
Schema Quality & AI Usability67
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 1591 tokens (~113/item across 14 items; 14 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
  • No destabilizing schema changes in the last 30 days.Pass
Tool Coverage67
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 4 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 14 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the SmartCLI — drive terminal TUIs MCP server?

SmartCLI — drive terminal TUIs runs locally as a PyPI package, launched with uvx smartcli-toolkit. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · smartcli-toolkit

# add to Claude Code
claude mcp add dwgx-smartcli -- uvx smartcli-toolkit
// .cursor/mcp.json
{
  "mcpServers": {
    "dwgx-smartcli": {
      "command": "uvx",
      "args": [
        "smartcli-toolkit"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "dwgx-smartcli": {
      "command": "uvx",
      "args": [
        "smartcli-toolkit"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add dwgx-smartcli -- uvx smartcli-toolkit
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dwgx-smartcli": {
      "type": "local",
      "command": [
        "uvx",
        "smartcli-toolkit"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add dwgx-smartcli --command uvx --arg smartcli-toolkit
# ~/.hermes/config.yaml
mcp_servers:
  dwgx-smartcli:
    command: "uvx"
    args: ["smartcli-toolkit"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "dwgx-smartcli": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "smartcli-toolkit"
      ]
    }
  }
}
# add to Vellum
assistant mcp add dwgx-smartcli -t stdio -c uvx -a smartcli-toolkit
// mcp.json
{
  "mcpServers": {
    "dwgx-smartcli": {
      "command": "uvx",
      "args": [
        "smartcli-toolkit"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 21 Sept 26 0
    • Stability: 0.97 → pass security
  • 20 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 17 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.

  • 16 Sept 26 −17
    • Malware scan: pass → unverified security
    • Stability: pass → 0.83 functional
    • Package version: 0.2.3 → 0.3.2 functional
    • Package version: 0.2.3 → 0.3.1 functional
    • Package version: 0.2.3 → 0.3.0 functional
  • 15 Sept 26 +15
    • Malware scan: unverified → pass security
    • Stability: 0.97 → pass security
  • 14 Sept 26 −14
    • Malware scan: pass → unverified security
  • 12 Sept 26 +15
    • Malware scan: unverified → pass security
  • 11 Sept 26 −14
    • Malware scan: pass → unverified security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 21 Sept 2026 · Analysed pypi/smartcli-toolkit@0.3.2

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem pypi

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted setuptools.build_meta

Background: Why install scripts are a supply-chain risk →

Dependencies 32 packages
Packages resolved 32
Stale 1
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 14 exposed · ~1,591 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
alive ~25

Check whether the session's child process is still running.

NameTypeReqDescription
sidstringyes

No output schema declared.

No examples provided.

close ~28

Terminate a session and its daemon. Always close sessions when done.

NameTypeReqDescription
sidstringyes

No output schema declared.

No examples provided.

list_sessions ~51

List active drive-tui sessions. Returns {"ok", "sessions"}: each entry carries "sid", "port", "pid", "cmd", "cols", "rows", "cwd" and "started".

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

resize ~38

Resize the session's terminal to cols x rows.

NameTypeReqDescription
colsintegeryes
rowsintegeryes
sidstringyes

No output schema declared.

No examples provided.

send_keys ~182

Send key tokens, e.g. ["Down", "Down", "Enter"], ["C-c"], ["M-x"]. Named tokens: Enter, Return, Tab, BackTab, Space, Backspace, Delete, Escape, Esc, Up, Down, Right, Left, Home, End, PageUp, PageDown, Insert, F1-F12. Combos: "C-<char>" or "^<char>" (Ctrl — letters plus @, Space, [, \, ]) and "M-<char>" (Meta/Alt, ESC prefix). Any other token is not an error — it is typed as literal text. Arrow keys adapt to the app's cursor-key mode (SS3 under DECCKM, CSI else), so menu navigation works in curses apps.

NameTypeReqDescription
keysarrayyes
sidstringyes

No output schema declared.

No examples provided.

send_line ~37

Type text followed by Enter — the common 'run this command' action.

NameTypeReqDescription
sidstringyes
textstringyes

No output schema declared.

No examples provided.

send_text ~37

Type literal text into the session (no Enter). Use for filling fields.

NameTypeReqDescription
sidstringyes
textstringyes

No output schema declared.

No examples provided.

snapshot ~203

Read a semantic snapshot of the session's current screen. Returns {"ok", "alive", "alt_screen", "text", "hash", "visual_hash"}: `alt_screen` is true while a full-screen program (vim, less, htop, ...) owns the screen — keys are commands to that program, not input to a shell, and `text` is its frame rather than scrollback. `text` is the rendered screen; `json` (the structured cell/cursor model) is included only when as_json=true. `hash` covers text content only — use it as the wait_change baseline; `visual_hash` also covers styling, selection and cursor state — use it as the wait_visual_change baseline. Don't mix the two. This is the 'perceive' step — always snapshot after acting rather than assuming an action landed.

NameTypeReqDescription
as_jsonboolean
sidstringyes

No output schema declared.

No examples provided.

start ~271

Spawn a program in a new detached, persistent session and return its id. The session survives across tool calls (a localhost-only daemon owns the live PtySession). `cmd` is the command line to spawn, e.g. "python3" or "lazygit". `cwd` and `env` configure only the controlled child process. Returns {"ok", "sid"} on success. Use the returned sid for every other tool. Server-side limits (violations return an error): at most 8 concurrent sessions by default (tunable via SMARTCLI_MAX_SESSIONS); `sid` must be 1-64 chars matching [A-Za-z0-9][A-Za-z0-9_.-]*; `env` keys must be valid identifiers and may not start with SMARTCLI_TUI_; `cwd` must be an existing directory; terminal size is capped at 1000 cols x 500 rows (100000 cells). Note: `env` values pass through the process command line briefly (visible in `ps`) — avoid secrets.

NameTypeReqDescription
cmdstringyes
colsinteger
cwdstring
env
rowsinteger
sidstring

No output schema declared.

No examples provided.

wait_any ~191

Wait for ANY of `patterns` to appear on screen (pexpect expect([...]) style). Race several possible outcomes at once — e.g. patterns=[">>> ", "Error", "Password:"] — and learn WHICH happened. Patterns are scanned in list order each poll, so the earliest in the list wins a same-poll tie (put the most specific first). Screen lines are right-padded with spaces — end-anchored patterns never match; use unanchored markers. Returns {"ok", "index", "matched", "alive", "text", "json"} where `index` is the 0-based position of the matched pattern. Timeout is not an error: the call returns ok=true with index=-1 and matched=false plus the final screen snapshot.

NameTypeReqDescription
patternsarrayyes
sidstringyes
timeout_msinteger

No output schema declared.

No examples provided.

wait_change ~161

Block until the screen content changes, then snapshot. The precise "did my action land?" primitive: call it right after send_line/ send_keys to wait for ANY change from the baseline (default: the screen at call time; or pass a prior `hash` to change away from). Returns {"ok", "changed", "hash", "alive", "text", "json"} — `hash` is the new screen hash, reusable as the next baseline. Timeout is not an error: the call returns ok=true with changed=false plus the final screen snapshot. Can't false-positive on text that was already on screen, unlike wait_regex.

NameTypeReqDescription
baseline_hash
sidstringyes
timeout_msinteger

No output schema declared.

No examples provided.

wait_ready ~143

Wait for a regex `marker` OR for the screen to go quiet (stable), then snapshot. Use marker="" to wait purely for stability. Returns a snapshot plus `reason`: "MARKER" (the regex appeared), "STABLE" (the screen went quiet), or "TIMEOUT". Timeout is not an error: the call still returns ok=true with the final screen snapshot. Screen lines are right-padded with spaces — end-anchored markers never match; use unanchored markers.

NameTypeReqDescription
markerstring
max_wait_msinteger
quiet_msinteger
sidstringyes

No output schema declared.

No examples provided.

wait_regex ~127

Block until `pattern` (a regex) appears on screen, then snapshot. Returns {"ok", "matched", "alive", "text", "json"}. Timeout is not an error: the call returns ok=true with matched=false plus the final screen snapshot. Screen lines are right-padded with spaces — end-anchored patterns never match; use unanchored markers. This is the readiness sync — prefer it over a blind delay after send_line/send_keys.

NameTypeReqDescription
patternstringyes
sidstringyes
timeout_msinteger

No output schema declared.

No examples provided.

wait_visual_change ~97

Wait for text, selection styling, or cursor position to change. Prefer this after arrow/navigation keys in full-screen TUIs. Pass a prior `visual_hash`, or omit it to use the current rendered state as the baseline. Timeout is not an error: the call returns ok=true with changed=false plus the final screen snapshot.

NameTypeReqDescription
baseline_hash
sidstringyes
timeout_msinteger

No output schema declared.

No examples provided.

Common questions

What is the SmartCLI — drive terminal TUIs MCP server?

SmartCLI — drive terminal TUIs is an MCP server listed in the public MCP registry as io.github.dwgx/smartcli. Let agents drive vim, htop, lazygit: send keys, wait on screen state, read the rendered cell grid. This page covers its PyPI package (smartcli-toolkit).

Is the SmartCLI — drive terminal TUIs MCP server safe to use?

SmartCLI — drive terminal TUIs scores 63 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the SmartCLI — drive terminal TUIs MCP server expose?

SmartCLI — drive terminal TUIs exposes 14 tools: start, list_sessions, snapshot, close, send_text, and 9 more. Their descriptions and schemas cost roughly 1,591 tokens of context every time the server is loaded.

Is the SmartCLI — drive terminal TUIs MCP server still maintained?

SmartCLI — drive terminal TUIs is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.