Skip to content
Cursor

SmartCLI — drive terminal TUIs for Cursor

io.github.dwgx/smartcli

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

client:Cursor transport:stdio runtime:pypi

Install SmartCLI — drive terminal TUIs in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "smartcli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "smartcli-toolkit"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

SmartCLI — drive terminal TUIs in other clients