status
Built. status reports whether the vault on this device is set up and unlocked, and, inside an agent session, which client this is and how many grants it holds.
Built Answered by the daemon in every state, including locked and outside a session (evaluate allows it first).
At a glance
| MCP tool | status ("BotPassword status") |
|---|---|
| CLI | bpw agent status |
| Default friction | None. It is the one intent allowed outside an agent session and while the vault is locked. |
| Delivery | No value is involved. |
| MCP hints | readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false |
Parameters
status takes no arguments. Send {}.
Example
A tools/call request, with placeholder references (use the id that list_credentials returns):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "status",
"arguments": {}
}
}
The result. The same JSON is also sent as text in content[0].text; isError is false for success.
{
"structuredContent": {
"outcome": "success",
"configured": true,
"unlocked": true,
"client": "unenrolled (agent \"claude-code\", self-asserted; ...); session S-EXAMPLE in /work/example-app",
"active_grants": 2
},
"isError": false
}
Outside a session only configured and unlocked come back, so status cannot be used to probe grants.
From the command line
bpw agent status
bpw agent <intent> sends the same request as the MCP tool, through the same policy. Every intent except status needs a live agent session, or the answer is session_required. Run the harness with bpw agent run -- <harness>. On macOS and Linux, an enrolled harness started normally can also be approved in the desktop app or with bpw session approve.
Result fields
Every result is one JSON object. Only outcome is always present.
| Field | Type | Meaning |
|---|---|---|
outcome | string | The typed outcome code. Always present. |
detail | string | The request ID, rotation step, revision or reason, for the outcomes that carry one. |
intent | string | With not_implemented: the intent this build cannot carry out. |
reason | string | With rejected: why the call was refused. |
message | string | With rejected or daemon_unavailable: what was wrong. Never quotes an argument value. |
next_step | string | On a result that is not a plain success: one sentence on what to do now. Fixed text chosen by the outcome code; it never asks for a password or secret and never says to get around a refusal. |
configured | boolean | Whether BotPassword is set up on this device. |
unlocked | boolean | Whether the vault is unlocked. |
client | string | Inside a session: the client, the self-asserted agent name (unverified), the session and its project. |
active_grants | integer | Inside a session: how many live grants this client holds. |
Outcomes it can return
success: The request ran.rejected: The request was malformed before policy saw it.daemon_unavailable:bpw mcporbpw agentcould not reachbotpasswordd, the desktop daemon that holds the keys.
See the outcome reference for what each one means and what to do next.
Limits
- The agent name in
clientis self-asserted by the harness (bpw mcp --agent) and shown as unverified. The daemon grants nothing because of it. - Locked or outside a session,
statusreports the lock state only.
Tool description
What the MCP tool tells the agent, verbatim from bpw mcp:
Reports whether the BotPassword vault on this device is unlocked and, inside an agent session, how this client is identified and how many grants it holds. This tool never accepts or returns secret values. The result is a typed outcome such as success, vault_locked or scope_denied.
Related
list_credentials: lists the credentials this agent client holds grants for, with each one's reference, kind, title, site and the intents its grant allows.request_access: asks the person for a grant on one credential, with the intents, scope, lifetime and a one-line reason.- Intent catalog, MCP server, Grants and approvals