envault

v1.12.0
io.github.DinanathDash/envault Checked 49 minutes ago Published 7 months ago

Secure secret management with a Human-In-The-Loop (HITL) interceptor for agent mutations.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

envault_status

Read-only context check for auth, project, role, permissions, active environment, and mapped local env file. Use this first when context is unclear.

ParameterTypeDescription
projectIdstringOptional project ID override for status call.

envault_context

Alias of envault_status for explicit context retrieval. Returns auth, project, role, permissions, active environment, and local env mapping.

ParameterTypeDescription
projectIdstringOptional project ID override for context/status call.

envault_pull

Fetch remote secrets into a local env file. Use before local development runs, diffs, or edits. This updates local files only and does not require HITL approval.

ParameterTypeDescription
environmentstring
filestring
forceboolean
projectIdstring

envault_push

Submit local secret changes for HITL approval. IMPORTANT: treat this as an approval-request step, not immediate execution. If the response indicates pending approval (for example HTTP 202 Accepted with approval_id/approval_url), you must explicitly show the approval_url to the user, instruct them to open it in a browser and approve/reject, then wait for user confirmation or poll status before assuming changes are applied.

ParameterTypeDescription
dryRunboolean
environmentstring
filestring
forceboolean
projectIdstring

envault_deploy

Alias of envault_push. Same HITL behavior applies: if pending approval is returned, provide approval_url to the user and wait for approval completion before claiming success.

ParameterTypeDescription
dryRunboolean
environmentstring
filestring
forceboolean
projectIdstring

envault_approve

Approve a pending HITL request by approval ID. Use after envault_push/envault_deploy returns a pending approval. This executes the human approval action.

ParameterTypeDescription
approvalId *string

envault_diff

Compare local env file against remote secrets and return additions, deletions, and modifications before proposing a push.

ParameterTypeDescription
environmentstring
filestring
projectIdstring

envault_run

Run a local command with Envault secrets injected into process environment. Use when the user asks to run an app/script with managed secrets.

ParameterTypeDescription
command *string
argsarray
environmentstring
projectIdstring

envault_login

Start CLI device-flow login in the browser and store local CLI access token. Use when auth is missing or expired.

envault_init

Initialize envault.json and project linkage in the current directory. Use for first-time project setup.

envault_generate_hooks

Create or update git post-merge hook that triggers envault pull after merges.

envault_audit

Audit local env safety and key parity. Can install pre-commit hook and emit text or JSON output.

ParameterTypeDescription
filestring
formatstring
installHookboolean
strictboolean
templatestring

envault_env_map

Map an environment slug to a local env file path in envault.json.

ParameterTypeDescription
environment *string
file *string

envault_env_unmap

Remove an environment-to-file mapping from envault.json.

ParameterTypeDescription
environment *string

envault_env_default

Set the default environment in envault.json.

ParameterTypeDescription
environment *string

envault_mcp_install

Install MCP integration config for local workspace and/or global editor clients.

ParameterTypeDescription
globalboolean
localboolean

envault_mcp_update

Update MCP package/config for local workspace and/or global editor clients.

ParameterTypeDescription
configOnlyboolean
globalboolean
localboolean

envault_sdk_install

Install Envault TypeScript SDK either in current project, globally, or both.

ParameterTypeDescription
globalboolean
localboolean

envault_sdk_update

Update Envault TypeScript SDK either in current project, globally, or both.

ParameterTypeDescription
globalboolean
localboolean

envault_doctor

Run local diagnostics for CLI installation, Homebrew source, and version parity.

envault_version

Print installed Envault CLI version.

envault_set_local_key

Set/update a key=value in local env file. If autoPush=true, this triggers envault_push and may return pending HITL approval requiring browser approval.

ParameterTypeDescription
key *string
value *string
autoPushboolean
environmentstring
filestring

envault_remove_local_key

Remove a key from local env file. If autoPush=true, this triggers envault_push and may return pending HITL approval requiring browser approval.

ParameterTypeDescription
key *string
autoPushboolean
environmentstring
filestring