vault_store
MCP tools › Window and UI driver
Store a credential you hold in Ferris IDEA's vault and get its handle; it is encrypted and never readable by any agent. uses database (save_connection vault, needs hosts) and/or process-env (run_command env_from_vault). Workspace-only and marked seen_by_agent: tell the user to rotate it; prefer vault_generate. Each later use asks the person first. Needs the vault right.
| Capability | ui.vault_store |
|---|---|
| Area | Window and UI driver |
| Access | changes settings |
| Reaches | — |
| Rights | vault |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
namerequired | string | The entry's unique name: 1 to 64 characters of A-Z, a-z, 0-9, ., _, -. |
valuerequired | string | The value, 8 to 4096 bytes. It is never shown again, to anyone. |
kind | string | password, token or secret (default secret). |
usesrequired | array of string | Where Ferris IDEA may put the value: database (a connection's password) and/or
process-env (an environment variable of run_command). |
hosts | array of string | For database: the hosts, host (any port) or host:port; no wildcards.default [] |
expires_in_days | integer | Days until the entry expires (1 to 3650); default never.minimum 0 |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project vault_store '{"name":"<string>","value":"<string>","uses":[]}'Input schema as JSON
{ "properties": { "name": { "description": "The entry's unique name: 1 to 64 characters of A-Z, a-z, 0-9, ., _, -.", "type": "string" }, "value": { "description": "The value, 8 to 4096 bytes. It is never shown again, to anyone.", "type": "string" }, "kind": { "description": "password, token or secret (default secret).", "type": [ "string", "null" ] }, "uses": { "description": "Where Ferris IDEA may put the value: `database` (a connection's password) and/or\n`process-env` (an environment variable of `run_command`).", "type": "array", "items": { "type": "string" } }, "hosts": { "description": "For `database`: the hosts, `host` (any port) or `host:port`; no wildcards.", "type": "array", "items": { "type": "string" }, "default": [] }, "expires_in_days": { "description": "Days until the entry expires (1 to 3650); default never.", "type": [ "integer", "null" ], "minimum": 0 } }, "required": [ "name", "value", "uses" ], "additionalProperties": false, "type": "object"}