vault_entries_list
Lists the secrets this agent may use: name, id, and what kind of secret it is (web service, SSH, wallet or signing key). Never values.
vault_call
Calls a web service with a secret attached, and returns the answer with the secret removed.
entry_id- Which secret.
purpose- Why, in a sentence. Kept in the helper app’s log on the owner's computer.
requestorigin(scheme: "https",host,port),method,path, and optionalquery,bodyandheaders(your own, such as a user agent; never the one that carries the secret).request.stamp- For a secret the owner marked "stamped" (AWS, X, exchanges): how the service signs requests. The secret itself never travels; the helper app computes the signature.
{"builtin": "oauth1"}signs for X and other OAuth 1.0a services, with a fresh one-time code for every request. The owner approves each new recipe once. operation_id+args- Instead of
request: run an operation the owner defined for this secret.
- The helper app attaches the secret the way the owner set for it: a header, a query parameter, a username and password, or part of the web address. Your agent never chooses that.
- HTTPS only, with real certificate checks. Redirects are not followed.
- Private network addresses are refused unless the owner allowed one for this secret.
- Answers have size and time limits.
- An "ask me first" secret waits until the owner approves that destination, method and path, once or for a short window.
vault_new_key
Makes a new key at a service, using a secret that is allowed to create keys there, and puts the new key straight into the owner's vault. Your agent never sees it.
entry_id- The secret that is allowed to create keys at the service.
request- As for
vault_call:origin,method: "POST",path, and thebodythe service wants for a new key (its name, what it may do). save_as- The name for the new secret in the vault, 1 to 80 characters.
replaces_entry_id- Optional, for rotating a key: the secret the new key replaces (one this agent has). The owner can then replace its value in one step; its name, rules and agents stay as they are.
purpose- Why, in a sentence.
- Works only at the key-making addresses the helper app knows: Resend (
api.resend.com/api-keys), Cloudflare (api.cloudflare.com/client/v4/user/tokensand/client/v4/accounts/{account_id}/tokens), SendGrid (api.sendgrid.com/v3/api_keys), OpenAI (api.openai.com/v1/organization/admin_api_keysand/v1/organization/projects/{project_id}/service_accounts), Twilio (api.twilio.com/2010-04-01/Accounts/{account_sid}/Keys.json) and OpenRouter (openrouter.ai/api/v1/keys). Anywhere else, the owner makes the key and adds it by hand. - The helper app takes the new key out of the service's answer. Your agent gets the key's id and name at the service, never the key, and never the rest of the answer.
- The new key waits in the vault under Needs you. No agent can use it until the owner saves it with their passkey and chooses which agents may. Tell the owner it is waiting.
vault_callrefuses these addresses, so a new key cannot land in a chat by accident.- If no answer comes back from the service, your agent is told it is not known whether a key was made. Look at the service's list of keys before trying again.
- The request needs the same approval a
vault_callwith that secret would. - Rotating a key, in order: make the new key with
replaces_entry_id; tell the owner and wait until they press Replace; make a harmless call with the secret to prove the new value works; only then delete the old key at the service withvault_call; tell the owner. The old key is never deleted before the new one has worked. - Before you start, list the keys at the service and note the id of the old key. Delete by that id, never by the id
vault_new_keyreturned: that one is the new key. - Rolling a token in place (Cloudflare's
PUT …/tokens/{token_id}/value) is refused by both tools: it ends the old value at once, before the new one is saved or tried.
vault_save_secret
Saves a secret your agent already has (in a file, or printed by a command) into the owner's vault, without reading it into the chat. It waits there, marked "Saved by an agent".
save_as- The name for the secret in the vault, 1 to 80 characters.
from_file- An absolute path. Read as your agent's own user, up to 64 KB.
from_command- Instead of a file: a list, the program and then its arguments (for example
["gh", "auth", "token"]). No shell; 30 seconds; only what it prints on standard output. value- Instead of either: the text itself, only when it is already in the chat.
pick- Optional, with a file or command:
{"env": "NAME"}takes the value of aNAME=valueline (.env files);{"json": "a.b"}takes one field of JSON. Without it the whole text is the value, less one final newline. service- Optional: the service it is for, shown to the owner as a hint.
purpose- Why it should be in the vault.
- Your agent gets back the name, where it came from and its length. Never the value, and never any of the file or the command's output, also not when something fails.
- A command that fails, or runs past 30 seconds, saves nothing. What it prints on standard error is never read.
- The secret waits under Needs you. No agent can use it until the owner saves it with their passkey and chooses which agents may.
- The helper app's own account never reads the file or runs the command: your agent's process does, as your agent's user, and only the value goes on to be locked.
vault_send_secret
Puts secrets from the owner's vault into a Cloudflare Worker's settings, as encrypted Worker secrets, without your agent seeing them. For a Worker your agent builds or deploys that needs keys: a database connection string, a Stripe key, a webhook secret.
using- The vault entry of a Cloudflare API token with the permission Workers Scripts: Edit.
account- The Cloudflare account id (32 characters).
items- A list of 1 to 20
{secret, worker, name}: the vault entry to send, the Worker's name, and the name its code reads (STRIPE_KEYforenv.STRIPE_KEY). Several secrets into one Worker, or one secret into several Workers. purpose- Why, shown to the owner.
- The owner approves the list once, on one card that shows every pairing. Sending the same pairing again later asks nothing; a new secret, Worker or name asks again.
- A secret set to “Ask me first” asks on every send. All of them in one send are on one card, so one tap.
- The helper app reads each value and sends it straight to Cloudflare. Your agent gets back, for each item, whether it was set; never a value, also not when Cloudflare's answer repeats it.
- Plain text secrets only. Wallets, SSH and signing keys, stored logins and 2FA seeds never leave the vault.
- The token keeps all its own rules: if it asks the owner first, each request still does.
- A Worker's code reads its secrets as plain text when it runs, so whoever writes that code can read them. This keeps the values out of the chat, your agent's context, logs and repositories; only send secrets to Workers whose code you trust.
- Settings that are not secret (URLs, ids, a Stripe publishable key) don't need this: put them in the Worker's config.
vault_job_request
Asks the owner for a scheduled job (a backup, a sync, a report) that the helper app runs on a server with an SSH key, on a schedule, with no agent involved. For work that has to happen when nobody is there to approve it.
name- The job's name, up to 80 characters.
entry_id- An SSH key this agent holds that runs without asking. Admin keys and keys that ask first are refused.
destinationuser@host[:port].argv- The exact program and its arguments, as a list. No shell; 16 KB at most.
schedule{kind: "daily", time: "03:00", tz}or{kind: "every", hours: 1-24, tz}, with an IANA time zone such asEurope/London.timeout_s,grace_minutes- Optional: the longest a run may take (10 seconds to 6 hours, default 300 seconds; shorter than the time between runs), and how late a run may be before it counts as missed (default 30 minutes, and always longer than the run may take).
file- Optional, for a job whose output is a file to keep, such as a backup:
{max_bytes, keep}, the largest file allowed (up to 1 TB) and how many copies to keep (1 to 14, default 7). why- Why the job is needed, shown to the owner.
- Nothing runs until the owner approves the request on the Jobs page in their vault, with their passkey. The request shows the exact server, command, key and schedule.
- After that, the helper app runs the job itself. Every run is in its activity log as “job: <name>”. Changing the command, server, key or schedule is a new request.
- A run's output stays with the helper app; your agent never gets it. When a run fails, its last lines are locked so only the owner can read them.
- With
file, the command writes the file to its output. The helper app keeps it in its own folder on its computer, which agents can't read, and keeps the lastkeepcopies. A run that goes overmax_bytes, runs out of time, fails, or would leave the computer too full keeps nothing new. The request is refused when the computer hasn't room forkeep+ 1 copies. - The owner sees on the Jobs page when a run fails or is missed, and gets at most one combined email an hour about it.
vault_job_status {request_id}says whether the request is waiting, approved, declined or expired.vault_jobslists this agent's jobs and how their last run went, never their commands or servers.vault_job_run_now {job_id, purpose}asks for one run now, exactly as approved, at most once every 10 minutes.
vault_ssh_exec
Runs a command on a server, or copies files to it with rsync, with the helper app signing the SSH login.
entry_id- Which SSH key (ed25519).
destination[user@]host. The host must be on the key's list of allowed hosts.purpose- Why.
remote_argv- The command and its arguments, run without a shell.
rsync_args- Instead of a command: rsync arguments. Every
host:pathis checked against the same list. timeout_seconds,working_dir- Default 120 seconds; local folder for rsync sources.
The key never leaves the helper app. A key with no allowed hosts can't be used, and naming another host inside the command doesn't change where it connects.
Admin keys. A server can have an everyday key (for looking: code, health, logs) and an admin key (for changes). An admin key works only while the owner allows admin access for your agent, for 5 minutes, 15 minutes or 1 hour, with their passkey. Without it the call returns ADMIN_ACCESS_REQUIRED with a request id and the owner is asked; call again once they've allowed it. Use the everyday key for anything that only reads. Connections close when admin access ends.
vault_done
Tells the helper app your agent has finished. If the owner set your agent's admin access to end when it's done, it ends now. Call it when a job that needed admin access is finished.
vault_git
Runs git over SSH with a vaulted key: the helper app signs the login, the key never leaves it. Linux and macOS.
entry_id- Which SSH key.
subcommandpush,pull,fetch,cloneorls-remote.repo_dir- The local repository; for
clone, the folder to clone into. remote,refspecs- A named remote such as
origin, and what to push or fetch. url,target_dir- For
cloneonly. flags- A short allowed list per subcommand. No
--force. purpose,timeout_seconds- Why; default 120 seconds, at most 870.
Every address git would connect to, including a separate push address and rewrites in its settings, must be an approved server for that key. SSH remotes only; no submodules and no hooks while the key is in use.
vault_2fa_code
Gives the current authenticator-app code for a sign-in, and how many seconds it stays valid. Never the setup key.
entry_id- An authenticator code secret, or a login saved with its setup key.
purpose- What you are signing in to. The owner sees it.
Authenticator-app codes only: not text-message or email codes, and not passkeys.
vault_pay
Pays when a service answers "402 Payment Required" (x402), from a wallet whose key stays with the helper app. Returns the header to send when you retry the same request.
entry_id- Which wallet.
payment_required- The 402 reply's
PAYMENT-REQUIREDheader, or its decoded JSON, or a version 1 402 body. accept_index- Which offer to pay, when the service offers more than one.
purpose- Why. The owner sees it if they're asked.
- USDC on Base and Solana, and their test networks.
- Inside the owner's rules (payees they trust, a daily limit, networks they allow) it's signed at once. Anything else waits for the owner; if they haven't answered yet, call again with the same payment to keep waiting.
vault_sign
Signs data with a signing key whose value stays with the helper app. The owner approves every signature.
entry_id- Which signing key.
data- What to sign, at most 256 KB.
encoding- How
datais written:utf8(the default),base64orhex. purpose- What the signature is for. The owner sees it.
The owner is shown the data in full when it's text up to 64 KB, and its SHA-256 fingerprint always. Returns the signature (base64), the public key and the algorithm.
What errors mean
- Waiting for approval
- The owner is being asked. Nothing was sent.
- Helper app not running
- The helper app isn't installed on this computer, or this agent isn't enrolled.
- Wrong kind of secret
- For example, an SSH key used with
vault_call, or a wallet withvault_sign. - Upgrade required
- This MCP server is older than the helper app.
Version 1 tools that are gone
vault_exec, vault_entry_get, vault_entry_inject_env and vault_rsync handed the secret to a command your agent chose. Version 2 doesn't: use vault_call for web services, vault_ssh_exec, including its rsync_args, for servers, vault_pay for payments and vault_sign for signatures. How to upgrade.