SmartCLI — drive terminal TUIs
v0.3.5Let agents drive vim, htop, lazygit: send keys, wait on screen state, read the rendered cell grid.
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add smartcli -- uvx --from smartcli-toolkit==0.3.5 smartcli-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"smartcli": {
"args": [
"--from",
"smartcli-toolkit==0.3.5",
"smartcli-mcp"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"smartcli": {
"args": [
"--from",
"smartcli-toolkit==0.3.5",
"smartcli-mcp"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"smartcli": {
"args": [
"--from",
"smartcli-toolkit==0.3.5",
"smartcli-mcp"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.smartcli]
command = "uvx"
args = ["--from", "smartcli-toolkit==0.3.5", "smartcli-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: start, list_sessions, snapshot, close, send_text, send_line, send_keys, wait_regex, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json