Connections, browsing, data grid, SQL editor, design tools, transfer, sync, backup, scheduler, monitor, privileges, reports, ER diagrams and test-data generation: every action is a registered command, shared by all three surfaces.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Connections, browsing, data grid, SQL editor, design tools, transfer, sync, backup, scheduler, monitor, privileges, reports, ER diagrams and test-data generation: every action is a registered command, shared by all three surfaces.
Database administration for SQLite, PostgreSQL and MySQL — a native egui workbench, a CLI and an MCP server, one Rust codebase
| Query editor with live results | Server monitor |
|---|
![]() | ![]() |
Requires Rust 1.95 or newer (rustup). macOS is fully supported; Linux and Windows build from the
same source and are covered by the CI matrix. ssh is needed for tunneled connections, and
pg_dump/mysqldump only for those backup types.
git clone https://github.com/kasfulk/nook.git
cd nook
./install.sh # builds the release binaries into ~/.local/bin
nook --demo # the desktop app, on a sample SQLite database
nook-cli help # the same surface from a shell
PREFIX=/usr/local ./install.sh installs elsewhere. To build without installing:
cargo build --release -p nook -p nook-cli # binaries land in target/release/
cargo run -p nook -- --demo
The desktop app is not the only door. The CLI and the MCP server resolve the same command ids:
nook-cli tables postgres://localhost/shop
nook-cli sql postgres://localhost/shop "select status, count(*) from orders group by status"
nook-cli dump postgres://localhost/shop --out backup.sql
nook-cli transfer --from sqlite:./shop.db --to postgres://localhost/stage --tables '*'
nook-cli datagen sqlite:./shop.db customers --rows 500 --seed 7
nook-cli ai sqlite:./shop.db "revenue per month for @orders" # prompt to SQL
nook-cli ai providers # endpoints and whether a key is set
printf '%s' "$OPENAI_API_KEY" | nook-cli ai key openai # the key comes from stdin, not argv
A connection is a saved profile name or a URI: sqlite:./app.db,
postgres://user:[email protected]:5432/shop, mysql://[email protected]/shop.
Run nook-cli help (or cargo run -p nook-cli -- help) for the full command list.
nook-cli mcp # MCP server on stdio; every command id is a tool
The running app can also be driven over a JSON control channel. It listens on 127.0.0.1 and
requires the key written to <config dir>/control-key.<port>:
{"id":1,"key":"…","method":"engine.run","params":{"command":"sql.run","params":{"conn":"local","sql":"select 1"}}}
See docs/control-protocol.md for every method.
cargo test # whole test suite
cargo xtask ci # fmt, clippy (warnings denied), tests, layering check, parity freshness
cargo xtask parity # regenerate docs/parity-checklist.md
crates/engine/src/catalog.rs lists the features a Navicat-class tool is expected to have, each with
the command id that implements it. docs/parity-checklist.md is the
generated coverage report, and a test keeps it above a floor that only rises. cargo xtask parity
(or nook-cli parity from an install) prints the same numbers, area by area, with the gaps named.
The rules the codebase is written to — no panics in non-test code, every behaviour a command,
layering enforced by cargo xtask layers, no invented colours — live in
docs/conventions.md. See CONTRIBUTING.md for setup and
how to send a change.
Every user-visible behaviour is a CommandSpec in crates/engine/src/cmd/*.rs; the ribbon, menus,
command palette, CLI, control channel and MCP tools all resolve the same ids. cargo xtask layers
enforces the layer ordering.
See ROADMAP.md for status and docs/gaps.md for the ranked work list.
Dual-licensed under LICENSE-MIT and LICENSE-APACHE. Nook is an independent, clean-room project: no Navicat code, resources, icons, or
wording were copied. Navicat is a trademark of PremiumSoft Cybertech Ltd; PostgreSQL, MySQL, and SQLite
belong to their respective owners. Architecture conventions follow the
WordCraft project as a model.
See ATTRIBUTION.md for third-party notices.
Database administration for SQLite, PostgreSQL and MySQL — a native egui workbench, a CLI and an MCP server, one Rust codebase
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Nook 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 Database administration for SQLite, PostgreSQL and MySQL — a native egui workbench, a CLI and an MCP server, one Rust codebase