Zib
Zib — servidor MCP (zib-vault)
Beta. O Zib é recente e ainda está em revisão. Guarde as suas próprias cópias de tudo o que for importante.
O Zib não substitui um testamento e não tem valor legal. Não guarde palavras-passe, PINs nem códigos de acesso num cofre.
O Zib guarda, durante 5 anos, uma carta cifrada e alguns ficheiros pequenos para as pessoas que escolher. Este pacote permite a um agente de IA (por MCP) ou a si (pela linha de comandos) criar, guardar e abrir cofres Zib. É gratuito e não precisa de conta.
Como o protege
Cifrado no seu computador. AES-256-GCM, com chaves derivadas por PBKDF2-SHA256 (600 000 iterações, sal aleatório). O servidor do Zib só recebe identificadores aleatórios e texto cifrado. Não consegue ler o seu cofre.
A frase fica fora da conversa. As ferramentas leem e escrevem a frase de recuperação de 9 palavras e as 4 partes em ficheiros locais criados com permissões
0600. Nenhuma ferramenta devolve a frase, uma parte ou a carta decifrada (a não ser que peça expressamente para ler a carta na conversa).Abrir um cofre precisa de si. A ferramenta
zib_open_vaultpede-lhe confirmação através do cliente MCP (elicitation). Se o cliente não souber pedir, a abertura é recusada, a menos que arranque o servidor comZIB_ALLOW_OPEN=1.O mesmo formato do site. Os cofres criados aqui abrem no site e vice-versa (formato 2; os cofres antigos, de formato 1, continuam a abrir).
Sem conta e sem rastreio. Em vez de um captcha, guardar um cofre custa ao seu computador alguns segundos de prova de trabalho. Depois de guardados, os cofres não podem ser alterados e são apagados ao fim de 5 anos.
Related MCP server: Vaulted MCP Server
Instalação
Requer Python 3.10 ou mais recente.
uvx zib-vault # arranca o servidor MCP em stdio
# ou
pip install zib-vaultConfiguração MCP
Para clientes como o Claude Desktop ou o Cursor:
{
"mcpServers": {
"zib": { "command": "uvx", "args": ["zib-vault"] }
}
}Ferramentas
Ferramenta | O que faz | Devolve |
| Gera uma frase de recuperação de 9 palavras num ficheiro novo (0600). Copie-a para papel. | caminho |
| Cifra localmente uma carta (ficheiro ou texto) e anexos opcionais; com | caminhos, validade |
| Envia o cofre cifrado (resolve a prova de trabalho em poucos segundos). | id, validade |
| Com a frase (ou 2 partes), verifica se o cofre existe e quando expira. Não decifra. | existe, validade |
| Depois da sua confirmação, decifra para uma pasta (0700, ficheiros 0600). | caminhos |
Através deste pacote, os anexos estão limitados a 3 MB no total.
Linha de comandos
zib-vault new-phrase ~/zib/frase.txt
zib-vault create ~/zib/frase.txt ~/zib/cofre.json --letter-file carta.txt --attach foto.jpg --split-into ~/zib/partes
zib-vault store ~/zib/cofre.json
zib-vault info --phrase-file ~/zib/frase.txt
zib-vault open --part-files ~/zib/partes/zib-part-1-of-4.txt ~/zib/partes/zib-part-3-of-4.txt ~/zib/abertoDepois de passar a frase para papel e de entregar as partes a pessoas de confiança, apague os ficheiros de que já não precisa.
Desenvolvimento
pip install -e ".[test]"
pytest # testes unitários, vetores cruzados e testes MCP em stdio
ZIB_E2E=1 pytest -m e2e # fala também com o servidor de produção (guarda 2 cofres de teste pequenos)Os testes com vetores cruzados confirmam que os cofres feitos pelo JavaScript do site abrem em Python e vice-versa
(tests/vectors/, gerados de novo com node tests/js/make_vectors.mjs; as frases que lá estão são dados de teste descartáveis).
Defina ZIB_WEB_DIR com uma cópia do código do site para correr as verificações em JavaScript e o Worker local.
ZIB_BASE_URL aponta o cliente para outro servidor (https, ou localhost para desenvolvimento).
Licença
MIT. Ver LICENSE.
English summary
Zib (beta) keeps an encrypted letter and a few small files for the people you choose, for 5 years.
zib-vault is its MCP server (stdio) and command-line tool. Everything is encrypted locally (AES-256-GCM,
PBKDF2-SHA256); the server only sees random ids and ciphertext. The recovery phrase and the Shamir parts stay
out of the chat: tools read and write them as 0600 files and never return them. Opening a vault requires the
human's confirmation (MCP elicitation, or ZIB_ALLOW_OPEN=1 set by the human). Storing uses a few seconds of
proof of work instead of a captcha. Zib is not a will and must not be used to store passwords.
Install: uvx zib-vault (Python 3.10+). Tools: zib_new_phrase, zib_create_vault, zib_store_vault,
zib_vault_info, zib_open_vault. Website: https://zib-vault.hmv-pt.workers.dev · Source:
https://github.com/Santiago1971/zib · License: MIT.
Available Tools
5 toolszib_create_vaultCreate (encrypt) a vault locallyA
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.
Inputs: out_file (required), phrase_file (required), split, parts_dir, +3 more.
zib_new_phraseNew recovery 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.
Inputs: phrase_file (required).
zib_open_vaultOpen (decrypt) a 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.
Inputs: out_dir (required), part_files, phrase_file, include_letter.
zib_store_vaultStore an encrypted vault on ZibAIdempotent
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.
Inputs: vault_file (required).
zib_vault_infoCheck whether a vault existsARead-only
Using phrase_file (or two part_files), check whether a vault exists and when it expires. Does not decrypt.
Inputs: part_files, phrase_file.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Sphere Vault: one encrypted vault for every AI you use
One encrypted chat for you, your people and your AI agents: Claude, Codex, Gemini, Goose.
Secure P2P File Transfer, Encrypted Chat & Communication | Decentralized P2P & AES-256-GCM encryption | Zero cloud logs. Zero registration. For humans and autonomous AI agents / MCP servers.
Request and share secrets (API keys, passwords) via end-to-end encrypted, self-destructing links.
Related MCP Servers
- AlicenseAqualityCmaintenanceZero-Knowledge Cloud Drive for Humans and Agents. Client-side AES-256-GCM encryption with 7 MCP tools for secure file vault management — the server never sees plaintext data.72MIT
- AlicenseAqualityBmaintenanceShare encrypted, self-destructing secrets from your AI agent. Zero-knowledge E2E encryption. Agent-blind input sources (env:, file:, dotenv:) keep secrets out of LLM context.446 npm1MIT
- AlicenseAqualityBmaintenanceLocal AES-256-GCM encrypted vault for AI agents. Resolve {{PLACEHOLDER}} secrets in prompts at runtime — LLMs never see real API keys. Argon2id key derivation, zero cloud.270 npm7MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first, encrypted memory for AI agents, with cryptographic forgetting.141 PyPI4Apache 2.0