Beankeeper
請你的 AI 為你擁有的每家公司記錄複式簿記。它會記錄你的銀行對帳單、檢查每筆帳目是否平衡,並告訴你這個月的營運狀況以及誰欠你錢。帳簿會保存在你的電腦上。適用於 Mac、Windows 和 Linux。
文件
Beankeeper Desktop
Your AI agent keeps your books through MCP or the bk command line. It can
post, recategorize, and reverse transactions through either interface. When you
ask about your finances, it runs reports and answers in plain words with data
it can chart.
Beankeeper Desktop is the paid, self-hosted layer. It runs as a local service with signed updates and offline licensing. The product site is beankeeper.app.
Ask your agent what changed since you last looked or ask it to undo its work in chat. The ledger records the correction and keeps the original history. Receipt links are available if you want to see the details. Changes and audited undo
Source-available. See LICENSE.md; this repository is not published as a crate. Ledger, schema and accounting changes belong in Govcraft/beankeeper. This repository is closed to outside code contributions. Issues and feedback are welcome; see the contribution guide.
Release packages
The packaging workflow produces Linux tarballs and .deb files, macOS .pkg
files for both architectures, and an x64 Windows ZIP and EXE installer. Paid OS
signing is disabled while the Apple and Azure accounts are pending. Tag releases
include SHA-256 checksums, Sigstore bundles and build provenance. The shell and
PowerShell installers read the latest release version from beankeeper.app and
verify both the platform archive and the checksum list with cosign, fetching a
temporary, hash-verified copy automatically when it is absent from PATH.
See release packaging and verification for artifact names,
installation commands, unsigned dry runs and signing configuration.
To install the app, open beankeeper.app/get.md, or ask an agent:
Install Beankeeper for me by following https://beankeeper.app/get.md
In the ChatGPT desktop app, start a Work task (or open Codex) and paste that same line. A regular ChatGPT chat can't run programs on your computer, so this has to start from the desktop app. Coding agents that can run a shell then follow the steps at beankeeper.app/install/agent.md.
The agent uses your existing installation when it supports setup. For a new install, it downloads the latest release for your platform and verifies both signatures and SHA-256 before running the downloaded binary.
Once your books exist, your agent asks how you want recurring payees, sales tax and processor fees recorded, and how often you want updates. It saves your answers as standing instructions and tells you what it saved. Ask in chat any time to see or change those instructions. Bookkeeping interview
Claude Desktop extension
Download the Beankeeper extension (a .mcpb file) from
beankeeper.app/get.md, then open it with Claude.
On a Mac or Windows, double-click the file. On Linux, right-click it and choose
Open With > Claude. Dragging the file into a chat only attaches it.
Click Install in the preview, and restart Claude if it asks. In a new chat,
say Set up my books or Set up demo books. Real-books setup creates
encrypted books and starts the 30-day trial. Demo books are free and do not
start the trial. Continue in the same chat after setup. The extension lists its
bookkeeping tools from the start.
Skills over MCP lets
compatible clients load Beankeeper's setup, correction, and reporting guide
directly from the extension or the beankeeper stdio connection. The guide
updates with Beankeeper and needs no separate installation.
Claude Desktop setup and removal
Unsigned builds
There is no paid Apple or Windows signing until revenue is proven. Release binaries are still checksummed, signed with Sigstore (keyless cosign), and attested with GitHub build provenance. Browser-downloaded installers will show OS warnings.
macOS: a browser-downloaded .pkg is blocked as an unidentified developer.
On macOS 15 or later, open System Settings → Privacy & Security and choose
Open Anyway. The older right-click → Open bypass no longer works. A
curl | sh tarball install is not quarantined and does not show that prompt.
Windows: the setup .exe shows SmartScreen Windows protected your PC.
Choose More info → Run anyway. A ZIP extracted in Explorer may also warn
because of the Mark of the Web.
Verify a downloaded asset before installing (replace VERSION and the
filename):
cosign verify-blob --bundle bk-desktop-VERSION-ASSET.sigstore \
--certificate-identity https://github.com/Govcraft/beankeeper-desktop/.github/workflows/release.yml@refs/tags/beankeeper-desktop-vVERSION \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
bk-desktop-VERSION-ASSET
gh attestation verify bk-desktop-VERSION-ASSET --repo Govcraft/beankeeper-desktop \
--cert-identity https://github.com/Govcraft/beankeeper-desktop/.github/workflows/release.yml@refs/tags/beankeeper-desktop-vVERSION \
--source-ref refs/tags/beankeeper-desktop-vVERSION
Exact archive names and the BK_DOWNLOAD_BASE override are in the
release guide.
Run quietly in the background
Installers now run bk service install for the logged-in owner. Beankeeper keeps
its encrypted books locally, starts at login and recovers after a crash. Your
agent can use it without opening a browser.
Installation configures ledger MCP plus local lifecycle tools, including while
the server is stopped. The bridge discovers the actual loopback endpoint, with
a fallback when port 8750 is occupied. On Linux, lifecycle commands can find the
owner's session bus when Claude Desktop, an IDE, tmux or SSH launches bk
without the login environment. Status verifies the live service directly.
Recovery material stays in a private file under the owner's control.
Managed installs default to a bookkeeper credential that posts directly and
attributes each write to the agent. Upgrades switch the original managed
read-only default to direct posting and preserve deliberate access choices.
Say Make me read-only to turn posting off, or ask for propose-only access
if you want to review proposed entries. Restarting cannot grant posting access.
Background hosting and managed access
Your agent can report what it changed as soon as it finishes and offer to undo supported changes in chat.
Advanced service commands
bk service install
bk service status --json
bk service stop
bk service start
bk service uninstall # preserves books and recovery material
Run bk agents connect claude-code to register or refresh the Claude Code
connection and skill. Existing entries with the managed command and arguments
can include "type": "stdio" and an empty env.
In the ChatGPT desktop app, start a Work task (or open Codex) and say Install Beankeeper for me by following https://beankeeper.app/get.md. The agent handles the local install and connection. See how to check the connection and start your books in Use Beankeeper with the ChatGPT desktop app.
If Beankeeper is already available, ask your agent to install or upgrade the
Claude Desktop extension, or run bk agents extension. Verification runs
in-process without a separate cosign installation. bk doctor and bk update-check
report whether Claude's separate extension is behind Desktop; the doctor and
update_check MCP tools return the same status. After installing, restart Claude
Desktop or toggle the extension to load the upgrade.
Install or upgrade the signed extension
Build and run
Requires Rust 1.91 or newer and the C build tools needed by upstream's bundled SQLCipher/OpenSSL. See the frontend/toolchain decision.
cargo build --release --locked
./target/release/bk --db /path/to/books.db setup
# Open Desktop and select Pair this browser if prompted:
./target/release/bk open
One process serves the embedded UI at http://127.0.0.1:8750/ and Streamable HTTP
MCP at http://127.0.0.1:8750/mcp. No external asset directory or Node.js is
needed at runtime or build time. Direct links to /transactions, /reports,
/accounts, /transactions/TRANSACTION_ID?company=SLUG, /reports/REPORT_ID,
/reconciliation, /review, and /review/PROPOSAL_ID?company=SLUG work after
pairing.
Unknown URLs return 404.
bk setup creates an encrypted ledger, stores its passphrase in the native OS
keychain, writes a private recovery kit and agent token, merges MCP configs for
Claude Desktop, Claude Code and Codex, and starts the local UI. The default agent
is read-only. --preset bookkeeper enables direct posting and proposals without
spend caps or approval rights. Keep the recovery kit and separate owner
credential offline. See the setup reference for flags, exact
files touched, headless CI usage, recovery and current pairing integration limits.
Use bk setup status --json or the setup_status MCP tool to check setup
progress. Both report the ledger counts and suggest the next step. For details
on a particular book, use bk setup book-show or ledger_setup_book_show.
Your agent can clear entries and complete a monthly statement using
txn_clear and reconcile_statement. A discrepancy reports both balances
and their difference while keeping the statement open. In proposal-only
mode, the review queue shows the selected entries and statement totals before
the owner decides.
Your agent can create customers, vendors, and projects, then link imported transactions and allocate their posted revenue and expense entries. Ask for a project profitability report to verify the allocations. If you use proposal-only access, use the browser review queue to approve or reject those changes.
bk serve requires an existing ledger and resolves the passphrase once without
prompting, using upstream's --passphrase-file, --passphrase-fd or
BEANKEEPER_PASSPHRASE_CMD, then the stored credential for setup-enrolled ledgers.
All upstream CLI commands remain available, including
bk mcp serve for stdio and bk mcp serve --http for MCP-only HTTP. Desktop
extends upstream's command parser and delegates those commands to its dispatcher.
Standalone bk serve supports resuming interrupted MCP streams within the
same session. See Stream resumption.
Use bk --help or bk serve --help for options.
The MCP router receives the already-resolved passphrase through upstream's
public host-tool factory, preserving one-shot secret sources without a pipe or
temporary file.
bk --db /path/to/books.db serve --bind 127.0.0.1:8751 --read-only
bk open --bind 127.0.0.1:8751
--read-only removes mutation tools regardless of the agent's capabilities.
Port 0 selects an available port; use the URL printed at startup with bk open --bind 127.0.0.1:PORT. bk open checks /health with a two-second timeout,
without proxies or redirects, before opening a fresh pairing link in the default
browser. With no --bind, it prefers the running managed service. Ctrl-C stops the
listener and cancels upstream MCP sessions before HTTP shutdown completes.
Cross-company statements and historical journals
Run an income statement or balance sheet for selected companies in one ledger
and currency. Ask your agent to use group_income_statement or
group_balance_sheet, or run bk group-report. Results keep each company's
accounts separate and show combined totals before eliminations. The browser
Reports page renders one company per view. Report arguments.
Use txn_import to preview and import a converted general ledger as balanced
JSON journals over MCP. bk txn import accepts the same JSON from a file or
stdin. Keep source journal references stable across retries.
Historical journals and bank statement imports.
For Wise vendor payments, the signed Beankeeper CLI archives supply the
bk-wise-bridge companion. Configure the bridge on the host that runs the
ledger connection. Wise bridge setup.
Automatic local backups
Desktop keeps local backups of your books and attachments automatically. Ask your agent to list the backups or restore one. After restoring, the agent can put your books back using the undo receipt.
Backups stay beside the books and use the books' existing passphrase.
Desktop retains up to seven readable backups totaling up to 2 GiB per ledger,
keeping the newest pre-migration or upgrade backup. It takes a backup on first
use, before migrating the books, on the first open with a new Desktop or core
build, and daily while the service runs. A failed pre-migration backup stops
the migration. After an upgrade, the backup list labels the saved copy
before_migration. An operation that requires current books can report
SCHEMA_MISMATCH with the stored and expected schema versions.
The agent uses backup_list, backup_create, backup_restore and backup_undo
on the ledger connection. Their CLI equivalents are bk backups list,
bk backups create, bk backups restore <backup-id> and
bk backups undo <undo-id>, all with --json.
List uses ledger read access. Create, restore, and undo use a separately
authorized ledger administrator grant. See backup storage and recovery.
Bank feeds
Authorize a bank feed from your local terminal, then ask your agent to refresh and review it. Desktop bank feeds
MCP credentials and the local HTTP boundary
Configure your agent's Streamable HTTP client with the /mcp URL and an
Authorization: Bearer <agent-token> header. Issue an agent token with upstream's
bk key init and bk agent issue commands for an encrypted ledger. Request
credentials, revocation checks and capability rules all come from upstream's
public mcp::http_router_with_host_tools; Desktop copies no authentication or
ledger handlers.
Every MCP request needs a valid token, even if policy enforcement is off.
Upstream's BK_AGENT_TOKEN / --agent-token fallback remains supported when a
request has no Authorization header. Keep this fallback private to your process;
it is never embedded in HTML or returned to the browser.
Every request, including UI assets, health, unknown URLs and MCP, must carry
exactly one allowed Host with the actual bound port: 127.0.0.1:PORT,
localhost:PORT, or [::1]:PORT. When Origin is present it must exactly match
http://HOST for that request, including the port. Missing Origin is allowed for
native clients. Nonlocal, malformed, duplicate or null origins are rejected,
as are rebinding hostnames and wrong ports. There is no permissive CORS layer.
UI responses also forbid framing, inline scripts and third-party scripts through CSP.
These checks complement MCP credentials and the separate browser session.
Pair the browser and connect your agent
Ask your assistant to open Beankeeper Desktop or run bk open. If prompted,
select Pair this browser within five minutes. Opening or refreshing the
link leaves it usable. The button submits a same-origin POST that exchanges the
one-time secret for an HttpOnly, SameSite=Strict cookie, then opens the
requested view. The local service_open MCP tool is available through the
beankeeper-service connection and the Claude Desktop extension. Sessions
expire after 12 hours. Restarting the server clears all links and sessions.
The paired workspace can create another browser link or unpair the current browser.
MCP works before any browser is paired. Successful authenticated responses
include a Beankeeper-Pairing-Url header until the agent has a browser target.
Open that association link in a paired browser and confirm the connection.
The association link alone cannot create a human session. Browser writes require
both the exact Origin and a per-session CSRF token; MCP bearer tokens cannot
act as human credentials. Plain HTTP loopback cookies omit Secure for browser
compatibility and are not suitable for a remote deployment.
See browser pairing and session design for expiry, credential separation, localhost cookie policy and the D4 integration API.
Non-loopback binds fail unless --allow-remote is explicit. That flag permits a
plaintext listener, without TLS, and keeps the same strict local Host/Origin
rules. It does not enable arbitrary remote browser origins. Remote binding is an
advanced development option, not a supported public deployment mode. Prefer the
default 127.0.0.1 bind (or [::1] for IPv6). Other loopback aliases are
rejected because they are outside the UI Host allowlist. A wildcard listener accepts local
connections; a specific remote-interface listener needs a client supplying an
allowed Host and network access to that interface.
Import bank statements
Share a CSV, OFX or QFX statement with your agent. Compatible Streamable HTTP
clients transfer the attachment directly to Desktop and can track a large
import in the background. From the shell, bk import returns the same audit
receipt and counts for recorded rows, duplicates and entries that need
categorization. Statement import guide
Optional detail links
Answer in words first. Agents can then offer a matching Desktop view with
ui_get_link on the managed ledger MCP connection with its ordinary
ledger/read grant, including under --read-only. It returns a
credential-free absolute URL and structured
view/filter identifiers without opening or changing a browser. No pairing,
association or live tab is needed to generate a link. Browser access still
requires human pairing.
The CLI uses the same contract and checks which running Desktop instance serves the requested books. It can do this without opening the books:
bk ui link --view-id transactions --company acme --account 5000 \
--from 2026-10-01 --to 2026-10-31
bk --json ui link --view-id income-statement --company acme \
--from 2026-10-01 --to 2026-10-31 \
--compare-from 2026-09-01 --compare-to 2026-09-30
Without --db or BEANKEEPER_DB, the CLI selects the configured managed books
when available. Use bk --db /path/to/demo.db ui link ... for other books. The
listener is discovered automatically, including when it uses a fallback port.
If several instances serve the same books, use --bind 127.0.0.1:PORT to select
one. DESKTOP_BOOKS_NOT_SERVED means the CLI found no matching live instance.
All current views, including
settings and record details, have stable IDs. ui_get_link and ui_show_view
share validation; unsupported filters return VALIDATION rather than being
silently omitted. Include the company, currency and explicit dates from the
financial answer to make its link reproducible.
An unpaired browser remembers the requested view for five minutes. Pairing in that same browser opens the original destination with its filters. An already paired browser arriving from an external site can use continue to your requested view if its Strict cookie was withheld. Each listener serves one books file and has its own browser session. A separate listener needs an initial pairing and keeps it for the life of that session. See the deep-link contract for filter mappings, comparisons, pairing lifetime and examples.
Agent navigation
The ui_show_view, ui_highlight and ui_status MCP tools require a separate
ui/navigate token. Current setup presets supply ledger credentials only;
upstream rejects mixed ledger/UI grants. Connect a second client entry to the
same /mcp endpoint using the UI token, call ui_status, and open its association
link in a paired browser and confirm the connection. Browser pairing alone
does not link an agent; the live notice says navigation is ready only after
association. When no matching tab can receive navigation or highlights, those
tools return isError: true with code NO_CONNECTED_TAB, queued: false,
a message and a pairing_url. ui_status still succeeds and reports the current
pairing state and tabs. With multiple connected tabs, choose the tab_id from status.
Navigation/highlight are disabled by --read-only; status remains available.
Financial snapshot, account, register, transaction, review, financial report, tax summary and reconciliation URLs are supported with restorable filters. Tool results distinguish queued requests from the browser's confirmed view. See the tool catalog, grant commands and tab design for arguments, examples and tests.
Try it with demo books
Demo books are free and do not start the trial. The 30-day trial starts only when the owner sets up their real books. Call setup only for real books. If demo_start is not listed before setup, do not set up real books just to try a demo; pre-setup discovery arrives with #221.
Ask your connected agent, “Show me what Beankeeper can do with demo books.” You can start with a quick demo or answer a few questions in chat to get demo books shaped around your work, account types, and currencies. Try reports and practice bookkeeping in the encrypted demo. Ask your agent to discard it when you’re done. Agent demo guide
Browse your books
Open the optional Desktop link from your agent to explore your own books. Every ledger page, report download and proposal review requires D3's paired human session. Agent credentials cannot unlock browser views, and browser cookies cannot authorize MCP. Health and CSS remain public and data-free behind Host/Origin checks. After pairing, reopen a saved view URL to restore its filters.
- Your books (
/) shows a short financial snapshot from the same summary used by the agent, with optional links to the detailed views. - Accounts (
/accounts?company=acme): all accounts for the selected company, grouped by account type, with links to each account's register. - Register (
/transactions?company=acme): filter by account, inclusive date range, amount bounds in integer minor units, payee/reference text and clearance status. Reversed and cancelled pairs are hidden by default. Choose Show reversed/cancelled pairs and select Apply to include both transactions. Filters stay in the URL and restore on reload. - Detail (
/transactions/ID?company=acme): entries, metadata and audit history, including agent identity and token ID when the ledger records them. - Reports (
/reports): income statement, balance sheet, cash flow, spending and net-worth trends, and budget variance. Date and currency filters use the CLI report rules; every report offers a JSON download. The income statement shows its effective dates and explains ranges with no revenue or expense activity, with a link to company transactions across all dates. - Tax summaries (
/reports/schedule-cand/reports/1099): tables and CSV/JSON downloads, including unmatched Schedule C categories and payee thresholds. These are bookkeeping summaries, not tax advice or filed forms. - Reconciliation (
/reconciliation): account and statement clearance balances, outstanding items and bank or settlement mode. This view is read-only.
Browser amounts use currency symbols, comma grouping and currency-specific
precision, such as $55,620.00, MX$40,324.70, ¥1,234 and BHD 1.234.
Report HTML uses upstream decimal display fields in place of raw amount columns.
Register amount filters still accept integer minor units. JSON/CSV downloads,
raw audit snapshots and the full proposed posting retain their original units.
Choose a company in each view. Without a URL company filter, --company or
BEANKEEPER_COMPANY supplies the default; otherwise the first listed company is
selected visibly. No company data is combined silently. These pages never edit
the ledger. Ask your agent to prepare changes and review its proposals in the
browser. See report URLs and filters for stable navigation
IDs, date defaults, budget month constraints and download formats.
Register pages show at most 50 matches. Search and clearance use bounded scans of existing upstream transaction queries, so a page can have fewer matches while more source transactions remain. Follow Continue until the register reports completion. Pagination links preserve all filters; changing filters restarts from the beginning. Page counts and scan/truncation notices describe the source query rather than claiming an exact post-filter match count. Audit history also signals truncation. An empty ledger, no matching transactions, invalid filters, missing records and read failures have explicit states.
Review agent proposals
Open /review?company=acme to see pending proposals created through bk txn propose or MCP. Each item links to /review/PROPOSAL_ID?company=acme, showing
proposer identity, formatted debit total, posting description,
current spend caps, every entry and the complete frozen payload. Upstream does
not store a separate proposal rationale or creation-time cap snapshot, so the
posting description supplies the purpose and caps are labeled as current.
Approve posts once through upstream's atomic approval API. Reject records an optional reason without posting. A resolved detail keeps the decision and links to the posted transaction. Repeated or competing decisions cannot post twice. The local human rejects proposals rather than impersonating the proposer to withdraw them.
Only a paired browser with the exact Origin and its CSRF token can decide.
Bearer credentials fail these routes, even alongside a browser cookie or with
ledger/approve. For enforced ledgers, Desktop reads the private
<ledger-stem>.owner-token file created by bk setup. A live ledger/admin
credential in that file authorizes issuance of a unique, 12-hour
ledger/read + ledger/approve credential for the local human. It stays in
server memory and Desktop checks it for expiry and revocation on each review
request. The audit names desktop-local-human and records this identity
separately from the proposer. If the private owner credential is missing or
rejected, Desktop still serves verification, ledger views and MCP. The review
page explains how to restore browser approval. Restart Desktop and pair again
after approval access expires.
With policy enforcement off, upstream records the same actor name without a
token identity. --read-only restricts agent MCP tools; human browser decisions
remain available. Upstream CLI/MCP approval behavior is unchanged, but Desktop's
supported workflow is agent proposes, human approves in the browser.
The queue checks the ledger on first load and displays the last result and UTC
check time. Re-run verification performs the complete bk verify, including
the hash chain, accounting, proposals and policy integrity. Results are cached
for this server launch and may become stale after external changes. Browser
decisions invalidate the cache and always run a fresh full verification within
the resolution savepoint. Failure rolls back the decision. A failed check is
shown explicitly, without claiming the chain is intact. Tests demonstrate this
by changing an audit row in a temporary encrypted ledger after removing its
append-only update trigger; the next explicit check reports failure.
Development checks
cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo nextest run --workspace
cargo test --workspace
cargo +1.91.0 check --workspace --all-targets --locked
CI runs fmt, clippy with warnings denied, tests including the embedded UI build,
and a separate Rust 1.91 check. Cargo.lock records the same released
beankeeper-cli-vX.Y.Z tag for the library and CLI. A scheduled workflow opens
a pull request when a newer core release is published.
License and updates
Beankeeper Desktop 1.0 costs $79 one time per license and covers every 1.x release for perpetual use. Each license covers one set of books (one ledger) on one computer at a time. That ledger can hold as many companies as you need, with linked cross-company transactions. If you keep books for more than one client, each client's ledger needs its own license, even on the same computer. If you return your license in the app within 60 days of purchase, the original seller automatically issues a full refund, including purchases through authorized resellers. The Texas-governed agreement keeps Desktop source-available and the Beankeeper ledger and core agent tools open source. Beankeeper Desktop license agreement
Under the agreement, read-only mode for books without an active license applies only to official non-RC releases from 1.0.0 onward, after the terms are final. Release candidates are free to use without a license. You can still open, query, export, back up, and restore your books in read-only mode, and use your recovery kit. Your encrypted books stay on your computer.
Setup automatically starts an email-free 30-day trial when the books have no
active license. Ask your agent to retry with license_start_trial if the network
was unavailable; the CLI equivalent is bk license trial. No token or email
prompt is needed. Status reports the trial expiry and days remaining. After
expiry, ordinary writes pause while reads, export, backup, restore, recovery and
undo remain available. Activating a paid license removes the local trial.
Trial behavior and status
Ask your agent to check or activate your Desktop license. Give it the saved license file or the claim code you received. It also accepts signed license text if you have it in chat. The agent can tell you whether these books are writable and which major versions your installed licenses cover. Activation binds the license to the selected local books.
The CLI equivalents are bk license activate FILE and bk license. Use
--db BOOKS to select other books. The agent can also offer License and
updates in your paired browser.
Local license removal: ask your agent to remove a specific installed license.
The license_remove MCP tool takes license_id; the CLI equivalent is
bk license remove <license-id>. Removal acts directly, without confirmation,
refund, or a server-side return. It removes only that local activation and binding,
leaving books and recovery information intact. The result reports whether the
selected books remain writable. In official stable builds, books without another
active license become read-only. Undo by asking the agent to activate the same
license again, provided it has not been revoked. License status includes each
license's typed standing (valid, expired or revoked) and signed storefront; revoked licenses never authorize writes.
Revocation status reflects the signed list bundled with the installed release.
To request a return and refund, ask your agent or run bk license return.
With no installed license, CLI and MCP report that there is nothing to return;
a saved return reports its latest receipt ID. With several installed licenses,
select a license ID. If the CLI prompt receives no answer, rerun with --yes
to request the return.
Desktop explains the 60-day policy before one confirmation. The service decides
eligibility. Success stops paid features on this computer and gives you a receipt;
your books stay yours, readable and untouched. A closed window leaves your
license active. See the return instructions for seller availability and support.
bk update-status --json and the read-only update_status MCP tool return the
installed version and typed cached update outcome, including the last attempt
and release notes link when known. Status reads never contact the network. Agents
mention an available release once in plain words and continue your work.
bk update-check checks the signed GitHub release manifest at most once daily,
including failed attempts, for each running Desktop version. After a version
change, the next check refreshes the cache immediately; caches from older builds
without a recorded version are also refreshed. Settings ignores these stale
results without contacting the feed. Stable builds check the latest stable
release. RC builds select the highest stable or -rc.N version among the 100
most recent GitHub release records.
Both manifest and signature are fetched from the selected tag. bk serve
checks in the background, and paired browsers can read the cached result at License and updates (/settings).
Both show a readable UTC last-attempt time and explain incomplete checks,
including HTTP failures, separately from up-to-date or update-available results.
Set BEANKEEPER_NO_UPDATE_CHECK=1 to disable checks before any network access.
Requests contain only the Desktop version and OS, with no ledger information.
bk self-update requires an active license covering the major version in the
signed manifest. Any matching license on this installation is sufficient. It
uses in-process Sigstore verification and checks
the archive checksum before replacing the executable. After installing a new release with the signed installer from beankeeper.app or bk self-update, restart the service.
To activate a locally issued license (no storefront), build with the issuer
public key and then activate the license file. Runtime
BEANKEEPER_LICENSE_KEYS_FILE and BEANKEEPER_LICENSE_SERVICE_URL override the
built-in values. HTTP is allowed only for a loopback license service.
# KEY_ID and PUBLIC_KEY come from beankeeper-license keygen / public-key
export BEANKEEPER_LICENSE_PUBLIC_KEYS_JSON="{\"$KEY_ID\":\"$PUBLIC_KEY\"}"
# optional, if you will redeem a claim code against a local server:
# export BEANKEEPER_LICENSE_SERVICE_URL="http://127.0.0.1:8080"
cargo build -p beankeeper-desktop
./target/debug/bk license activate "$HOME/beankeeper-desktop.license"
./target/debug/bk license
The license service issues the token through its operator CLI or admin API. See the offline license contract for the token format.
See the license/update command reference, offline license contract, and release verification contract. Production public keys must be provisioned separately; the published fixture key is confined to tests and is never a default trust key.
The signed release also includes claude-plugin.zip, the guide-only plugin
listed in Claude's plugin directory. The Claude app connects through .mcpb.
See the Claude connection guide.
Sandboxed agents can preview folder grants with bk service install --plan --json and bk agents connect --all --plan --json; see service setup for CLI/MCP retry details.