Zib
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZIB_BASE_URL | No | Points the client to another server (https, or localhost for development). | https://zib-vault.hmv-pt.workers.dev |
| ZIB_ALLOW_OPEN | No | Start the server with ZIB_ALLOW_OPEN=1 to allow zib_open_vault to open a vault without the human's confirmation through MCP elicitation. | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Zib (beta) keeps an encrypted letter and a few files for the people you choose, for 5 years. Everything is encrypted on this computer; the server only sees ids and ciphertext. Rules for agents: never ask the human to paste the recovery phrase or parts into the chat. Tools take file paths (files are created with mode 0600). Zib is not a will and must not be used to store passwords. Opening a vault requires the human's explicit confirmation.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| zib_new_phraseA | Generate a new 9-word recovery phrase and write it to a NEW file (mode 0600). The phrase is never returned. The human should copy it onto the paper card and keep the file safe or delete it. |
| zib_create_vaultA | Encrypt a letter (from letter_file or letter_text) and optional attachments with the phrase in phrase_file. Writes the encrypted vault to out_file (0600); nothing is uploaded yet. With split=true also writes 4 part files (any 2 open the vault) into parts_dir. Returns only paths and the expiry date. |
| zib_store_vaultA | Upload a vault file made by zib_create_vault. Solves the server's proof of work (a few seconds). Only ids and ciphertext leave this computer. A vault cannot be changed after it is stored. |
| zib_vault_infoA | Using phrase_file (or two part_files), check whether a vault exists and when it expires. Does not decrypt. |
| zib_open_vaultA | Decrypt a vault into out_dir (folder 0700, files 0600) with phrase_file or two part_files. Asks the human to confirm (MCP elicitation). Returns file paths only; set include_letter=true only if the human asked to read the letter in the chat. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool maps to a distinct stage in the vault lifecycle: phrase generation, local vault creation, upload, metadata lookup, and decryption. The potentially similar pair zib_create_vault and zib_store_vault is clearly separated by local encryption versus upload, and zib_vault_info versus zib_open_vault by metadata-only check versus decryption.
All tools use a consistent zib_ snake_case prefix and are readable. Most names follow a verb_noun pattern (create_vault, store_vault, open_vault), with minor deviations such as new_phrase and vault_info.
Five tools is well-scoped for this workflow, and each tool has a clear, non-redundant role. There is no excessive surface area or trivial single-tool mismatch.
The surface covers the core lifecycle: generate a phrase, create an encrypted vault with optional split parts, upload it, inspect existence/expiry, and open it. There is no explicit deletion or revocation operation, but the stated immutability of stored vaults makes that a minor gap rather than a broken workflow.