Skip to content

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.

Capabilityui.vault_store
AreaWindow and UI driver
Accesschanges settings
Reaches—
Rightsvault
Dry runnone

Arguments

ArgumentTypeDescription
namerequiredstringThe entry's unique name: 1 to 64 characters of A-Z, a-z, 0-9, ., _, -.
valuerequiredstringThe value, 8 to 4096 bytes. It is never shown again, to anyone.
kindstringpassword, token or secret (default secret).
usesrequiredarray of stringWhere Ferris IDEA may put the value: database (a connection's password) and/or process-env (an environment variable of run_command).
hostsarray of stringFor database: the hosts, host (any port) or host:port; no wildcards.default []
expires_in_daysintegerDays 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.

Terminal window
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"
}