KeyZula

com.keyzula由 keyzula.com 发布v1.2.4更新于 Nov 5, 2026

Use passwords and API keys from your KeyZula vault without the assistant seeing them.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

KeyZula 让 AI 助手通过 kz:// 引用使用 KeyZula 保险库中的密码、API 密钥和令牌,而密钥值不会进入对话。

可以做什么
  • 查看保险库登录与解锁状态,并按名称、用户名、网站或文件夹搜索条目,只返回名称和 kz:// 引用,不返回值
  • 运行命令,把保险库中的密钥放入其环境变量,输出中的密钥值会被隐藏
  • 用密钥填充模板,并把结果写入只有用户本人可读的文件
  • 生成强随机密码或口令短语(不保存到保险库)
  • 在显式开启并经用户批准时,可选地显示单个值,例如两步验证码
适用场景
适合希望助手使用真实凭据执行部署、数据库迁移或生成 .env 文件,同时不让密钥值出现在聊天中的场景。适用于已把凭据存放在 KeyZula 保险库、并希望从桌面 AI 客户端进行受控且有记录访问的用户。
运行要求
需要一个免费的 KeyZula 账户,以及 KeyZula 命令行工具(npm 包 @keyzula/cli 或 Homebrew),并已在终端登录且解锁 ssh-agent 守护进程。服务器通过 stdio 在本机运行,通常用 npx 启动。可选设置 KEYZULA_SERVICE_TOKEN 以限制为组织服务账户,或设置 KEYZULA_MCP_ALLOW_REVEAL 以提供 read_secret。支持 macOS、Linux 和 Windows。
安装前请注意
助手可以运行程序并写出包含你密钥的文件,如需每次使用前确认,可启用 KEYZULA_MCP_CONFIRM。read_secret 默认关闭,通过 KEYZULA_MCP_ALLOW_REVEAL 开启后仍需在本机弹窗中批准。服务令牌 KEYZULA_SERVICE_TOKEN 属于凭据,应按密钥对待。可用 keyzula lock 锁定保险库以立即切断访问。

安装

在 SourceWeft 中

  1. 打开 控制台中的 KeyZula,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

KeyZula MCP server

Let GitHub Copilot, Claude, Cursor and other AI assistants use the passwords, API keys and tokens in your KeyZula vault without the values ever entering the conversation.

The assistant finds items by name, website or username and passes secrets to the programs it runs through kz:// references. Values go into the environment of a command (concealed in its output) or into a file only you can read. The assistant receives names and references, never the secrets themselves.

This repository holds the documentation and registry metadata for the server. The server is part of the KeyZula command-line tool, published on npm and Homebrew.

Tools

ToolWhat it doesWhat the assistant receives
search_itemsSearches your vault by name, username, website or folderNames, locations, usernames, websites and kz:// references, never values
run_commandRuns a command with secrets in its environment variablesExit code and output, with secret values concealed
inject_templateFills a {{ kz://… }} template and writes a file only you can readOnly the file path
generate_passwordGenerates a strong password or passphraseThe generated value (not saved)
vault_statusShows whether KeyZula is signed in and unlockedStatus
read_secretShows one value, such as a 2FA codeOff by default; when turned on, every request needs your approval in a window on your computer

Requirements

  1. A KeyZula account (free).
  2. The KeyZula command-line tool, signed in and unlocked once in a terminal:
sh
npm i -g @keyzula/cli        # or: brew install keyzula/tap/keyzulakeyzula loginkeyzula ssh-agent --daemon

The MCP server reads only from this unlocked agent and never asks for your master password. It runs on macOS, Linux and Windows.

Configuration

VS Code and GitHub Copilot

Install from the MCP server gallery in VS Code, or add it to .vscode/mcp.json (or your user mcp.json):

json
{  "servers": {    "keyzula": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@keyzula/cli", "mcp"]    }  }}

If you installed the CLI globally, you can use "command": "keyzula", "args": ["mcp"] instead. Desktop apps may not see your terminal's PATH; use the full path from which keyzula (Windows: where keyzula) if needed.

Claude, Cursor, Windsurf and other clients

Most clients use the mcpServers format:

json
{  "mcpServers": {    "keyzula": {      "command": "npx",      "args": ["-y", "@keyzula/cli", "mcp"]    }  }}

Claude Code: claude mcp add keyzula -- npx -y @keyzula/cli mcp. For Claude Desktop, a one-click extension is available at keyzula.com/en/ai.

Options

SettingFlagEnvironment variable
Offer read_secret (every request still needs your approval)--allow-revealKEYZULA_MCP_ALLOW_REVEAL=true
Ask before every command or file that uses a secret--confirmKEYZULA_MCP_CONFIRM=true
Limit the assistant to an organization's service accountKEYZULA_SERVICE_TOKEN=kzsa_1_…

Usage

Ask in plain language; the assistant picks the right item and tool:

  • "Deploy with the Cloudflare API token from KeyZula."
  • "Run the database migrations using the staging Postgres password."
  • "Create a .env file for this project from my KeyZula items."
  • "Which KeyZula items do I have for AWS?"

For example, run_command can run wrangler deploy with CLOUDFLARE_API_TOKEN set to kz://~/Cloudflare/password (~ is your personal vault). The command gets the value; the assistant sees only the reference and the command's output, with the value concealed.

Privacy and control

  • Vault data is end-to-end encrypted; the server never sees it in plain text. The MCP server talks to the KeyZula agent on your computer over a private local socket.
  • Every use appears in your access log as "Used by an AI assistant" (item, action and time, never the value).
  • Lock the vault at any time with keyzula lock; the assistant then has no access until you unlock it.
  • Nothing is sent to the AI provider or any third party by the server itself.

More: keyzula.com/en/ai · Command-line guide · Privacy policy · Support: [email protected]

来源:README.md,提交 7008820

工具

5

vault_status

Vault status

Shows whether KeyZula is logged in and the vault is unlocked.

无需输入参数。

search_items

Search vault items

Searches the user's KeyZula vault by name, username, website or folder. Returns item names, locations, usernames, websites and the kz:// reference of each field. Secret values are never returned. Use the references with run_command or inject_template.

输入参数limitquery

run_command

Run a command with secrets

Runs a program with secrets from the vault placed in its environment variables, without showing them to you. Give env values as kz:// references (plain strings are passed as they are). References look like "kz://<collection>/<item>/<field>" ("~" is the personal vault). Get them from search_items; never guess them. The command runs directly, not through a shell; for pipes or variable expansion use ["sh", "-c", "…"] and refer to the variable (e.g. "$DB_PASSWORD"). Secret values in the output are replaced with "<concealed by KeyZula>". Do not try to print or transform secrets to get around this.

输入参数cwdenvcommand必填timeout_seconds

inject_template

Write a config file with secrets

Fills a template with secrets from the vault and writes the result to a file that only the user can read (mode 0600). Placeholders look like {{ kz://<collection>/<item>/<field> }}. References look like "kz://<collection>/<item>/<field>" ("~" is the personal vault). Get them from search_items; never guess them. The file's content is not returned to you; do not read the written file back.

输入参数templateoverwriteoutput_path必填template_path

generate_password

Generate a password

Generates a strong random password or passphrase. It is not saved to the vault.

输入参数kindwordslengthsymbols

版本历史

2
  1. v1.2.4最新Nov 5, 2026
  2. v1.2.3Oct 29, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分