Skip to main content

Module vault

Module vault 

Source
Expand description

Vault MCP - the Vaultwarden family (mcp__forge__vault__*).

Thirteen tools, every one held for the reader’s approval: the blocked handler parks a VaultDraft on the workspace registry, the dock draws it, and no operation runs in the vault unless the answer approved it. The card never carries a secret value; a reveal happens only after approval and travels in the tool result.

Re-exportsΒ§

use std::sync::Arc; πŸ”’
use forge_primitives::vault::VaultTool; πŸ”’
use forge_sdk::mcp::server::McpServerBuilder; πŸ”’
use forge_sdk::mcp::tool::Tool; πŸ”’
use forge_sdk::mcp::tool::ToolInput; πŸ”’
use forge_sdk::mcp::tool::ToolOutput; πŸ”’
use serde::de::DeserializeOwned; πŸ”’
use serde_json::Value; πŸ”’
use crate::SessionSlot; πŸ”’
use crate::mcp::vault::facade::CreateInput; πŸ”’
use crate::mcp::vault::facade::PatchInput; πŸ”’
use crate::mcp::vault::facade::VaultFacade; πŸ”’
use crate::mcp::vault::facade::VaultToolError; πŸ”’

ModulesΒ§

facade
The vault family’s facade: the thirteen operations the tools call, every one held for the reader’s approval.

StructsΒ§

AttachmentGetArgs πŸ”’
AttachmentPutArgs πŸ”’
FolderNameArgs πŸ”’
FolderUpdateArgs πŸ”’
GetArgs πŸ”’
IdArgs πŸ”’
SearchArgs πŸ”’
VaultCall πŸ”’
One tool instance: the family shares a single Tool impl because the name, description and schema are chosen by the tool the instance names.

FunctionsΒ§

add_tools πŸ”’
Attach the vault tools to an existing McpServerBuilder. Called only when the family is selected AND [vault] is configured, the same double gate systemone uses.
parse πŸ”’
reply πŸ”’