Native all-in-one workspace for databases, SSH, SFTP, port forwarding, terminals, remote desktop, monitoring, and AI.
Built with GPUI · Rust native desktop · GPU-accelerated rendering
中文 · Install · Latest Release · Features · Screenshots · Contributing
- MCP public toolchain — complete MCP (Model Context Protocol) support: create connections, execute SQL, run Redis and SFTP operations, manage typed tools, approval queues, and helper installation, all available as MCP tools.
- Redis SSH tunneling — Redis connections now support SSH tunnels, plus namespace child key display during search.
- SFTP MCP tools — remote path checking, file upload, and file download exposed as structured MCP tools.
- Home page overhaul — connection list now uses unified rendering with drag-and-drop reordering and layout switching.
- Window pin — keep OnetCli always on top of other windows.
- SQL improvements — max row limit for query results, manifest-based database schemas, custom font import for the SQL editor.
- Terminal font family — configurable font family for terminal sessions.
- CLI / automation runtime — unified CLI and automation tool runtime architecture, enabling structured remote operations.
- AI fix — separated AI reasoning output from chat replies for cleaner message display.
- Perf — optimized remote desktop frame transport.
- i18n — added SSH tunnel localization strings.
|
OnetCli is built with Rust and GPUI for a native desktop experience with GPU-accelerated rendering. |
Database management, SSH terminals, SFTP file transfer, port forwarding, serial connections, local terminals, and remote desktop (RDP/VNC) live in one app. |
|
Use the built-in AI assistant for natural language to SQL, query explanation, BI-style analysis, and chart generation. |
Open a remote terminal, browse files through SFTP, drag files into the sidebar, and edit remote files with syntax highlighting. |
Connect to MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, Oracle, and ClickHouse from a single interface. Browse schemas, tables, columns, indexes, foreign keys, procedures, functions, triggers, and sequences where supported.
Beyond the built-in drivers, OnetCli ships an extension marketplace that adds database drivers for Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, and a pure-Go Oracle driver that runs without Oracle Instant Client. Install the ones you need and they appear alongside the built-in connections.
Work with a SQL editor backed by syntax tooling, schema-aware browsing, table structure editing, query execution, explain support, and ER diagrams.
Use the dedicated Redis viewer for key browsing, value inspection, and cluster connections. Explore MongoDB collections, inspect documents, and run queries from the same workspace.
Open integrated SSH sessions, manage SFTP files, start port forwarding tunnels, connect to serial devices, and keep local terminals in multi-tab sessions. The terminal includes an SFTP sidebar with drag-and-drop upload support, path favorites, and quick jumps to frequently used directories.
Create reusable SSH port forwarding connections from existing SSH/SFTP servers. OnetCli supports local forwarding for services such as databases or internal HTTP endpoints, plus dynamic SOCKS tunnels for routing tools through a remote host.
Edit remote files directly inside OnetCli with syntax highlighting and autocomplete. No need to open another editor or switch back and forth between terminal and file tools.
Open RDP and VNC sessions through installable remote desktop providers. Connect to Windows machines over RDP, or to any VNC server, and drive the remote desktop from the same workspace where your databases, terminals, and files live.
Use built-in server monitoring and native rendered charts to inspect remote machine status and data analysis output.
Chat with AI inside the app. OnetCli supports natural language to SQL, query explanation, BI-style data analysis, chart generation, and streaming LLM responses. It can also generate terminal commands that you can quickly paste into a terminal session and run.
Sync connections and settings across devices with encrypted key storage based on AES-GCM and Ed25519. OnetCli supports light and dark themes, English, Simplified Chinese, and Traditional Chinese.
| Database | SSH |
|---|---|
![]() |
![]() |
| SFTP | Redis |
|---|---|
![]() |
![]() |
| MongoDB | AI Chat |
|---|---|
![]() |
![]() |
| Monitoring | SFTP Sidebar |
|---|---|
![]() |
![]() |
| Remote File Editor | ER Diagram |
|---|---|
![]() |
![]() |
Download the latest build from the Releases page.
Release artifacts are currently published by platform:
| Platform | Architecture | Artifact |
|---|---|---|
| macOS | Apple Silicon, Intel | .dmg, .tar.gz |
| Linux | x86_64 | .tar.gz |
| Windows | x86_64 | .zip |
Checksums are published as sha256sums.txt in each release.
If macOS blocks the app after installing the DMG with "Apple cannot check it for malicious software", run:
sudo xattr -rd com.apple.quarantine /Applications/OnetCli.appThe built-in Oracle driver requires Oracle Instant Client (Basic package). Download the version matching your platform and ensure the libraries are in your library search path. Alternatively, install the pure-Go Oracle driver from the extension marketplace, which has no Instant Client dependency.
- Open OnetCli and create your first database connection.
- Add an SSH host and open a remote terminal.
- Create a port forwarding connection from that SSH host when you need a local tunnel or SOCKS proxy.
- Open SFTP file management to browse remote directories or transfer files.
- Try Redis key browsing or MongoDB document browsing.
- Use the AI assistant in SQL or data analysis workflows.
- Rust 2024 edition
- Platform-specific system dependencies
macOS / Linux:
./script/bootstrapWindows (PowerShell):
.\script\install-window.ps1cargo run -p main# Build
cargo build
# Test
cargo test --all
# Lint
cargo clippy --workspace --all-targets
# Format check
cargo fmt --checkSee CONTRIBUTING.md for the full development guide.
| Category | Technologies |
|---|---|
| UI Framework | GPUI |
| Language | Rust |
| Databases | tokio-postgres, mysql_async, rusqlite, tiberius, oracle, clickhouse, duckdb |
| Database extensions | Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, pure-Go Oracle |
| Redis / MongoDB | redis, mongodb |
| SSH / SFTP / Port Forwarding | russh, russh-sftp, SOCKS5 over SSH direct-tcpip |
| Remote Desktop | RDP & VNC providers via extension runtime |
| Terminal | alacritty_terminal |
| Text Editing | ropey, tree-sitter, sqlparser |
| AI | llm-connector |
| Encryption | aes-gcm, sha2, ed25519 |
| i18n | rust-i18n |
Which databases are supported?
OnetCli has built-in database support for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, Oracle, and ClickHouse, plus dedicated Redis and MongoDB views. The extension marketplace adds Dameng DM, KingbaseES, GBase 8s, OceanBase, openGauss, Apache IoTDB, and a pure-Go Oracle driver, so domestic and specialty databases are covered alongside the mainstream ones.
Does Oracle need extra setup?
Yes. The built-in Oracle driver requires Oracle Instant Client to be installed and available through your system library search path. You can also install the pure-Go Oracle driver from the extension marketplace, which runs without Instant Client.
Where can I download OnetCli?
Use the GitHub Releases page. The current release workflow publishes macOS, Linux, and Windows artifacts with checksums.
Is OnetCli free?
All features are available without sponsorship. The source is licensed under Apache License 2.0, and distribution or product use is also subject to the OnetCli Supplementary License.
How do I report bugs or request features?
Open an issue on GitHub Issues. For code changes, please read CONTRIBUTING.md first.
OnetCli is maintained by one person over the long term. If it saves you time, you can support the project through donations, stars, bug reports, or focused pull requests.
Donation is optional and does not unlock or restrict any features. See DONATE.md for WeChat Pay, Alipay, and PayPal options.
Official community channels:
ER diagram rendering is based on ferrum-flow.
Licensed under Apache License 2.0.
The distribution and use of the OnetCli application are additionally subject to the OnetCli Supplementary License, which adds the following restrictions on top of Apache 2.0:
- No redistribution, resale, or repackaging as a standalone product
- No creating competing products or services based on this software
- No hosting on unauthorized distribution platforms
For licensing inquiries, contact xiaofei.hf@gmail.com.










