prepare_kamino_init_user
First-time Kamino setup. Creates the user lookup table + userMetadata PDA + obligation PDA (VanillaObligation, tag 0) on Kamino's main market in a single tx. ONE-TIME — required prerequisite before prepare_kamino_supply / borrow / withdraw / repay. Refuses if userMetadata already exists (use the ...
This record as markdown: /tools/io-github-szhygulin-vaultpilot-mcp/prepare-kamino-init-user.md
What prepare_kamino_init_user does on VaultPilot MCP
AI agents invoke prepare_kamino_init_user to trigger actions in VaultPilot MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
wallet | string | Yes | Solana base58 wallet — funds the LUT (~0.014 SOL rent) + obligation PDA (~0.012 SOL rent) + userMetadata PDA (~0.002 SOL rent). Must have an initialized durable |
Parameters from the server's own tool schema.
Why prepare_kamino_init_user is rated High
This tool executes an on-chain Solana transaction that initializes multiple accounts on a DeFi protocol (Kamino). It triggers external blockchain operations with real SOL costs (~0.028 SOL in rent). While not directly moving funds or being irreversible, it establishes on-chain state required for subsequent borrow/supply/withdraw operations.
From the tool's definition Creates the user lookup table + userMetadata PDA + obligation PDA ... on Kamino's main market in a single tx. Costs ~0.028 SOL total in rent. DURABLE NONCE REQUIRED. BLIND-SIGN on Ledger
Attacks that exploit this kind of access
The rule that runs prepare_kamino_init_user safely
PolicyLayer is an MCP gateway: it sits between your AI agents and VaultPilot MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For prepare_kamino_init_user, this is the rule to start with:
prepare_kamino_init_user stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect VaultPilot MCP, apply this rule, and every prepare_kamino_init_user call is checked against it from then on.
Questions about prepare_kamino_init_user
First-time Kamino setup. Creates the user lookup table + userMetadata PDA + obligation PDA (VanillaObligation, tag 0) on Kamino's main market in a single tx. ONE-TIME — required prerequisite before prepare_kamino_supply / borrow / withdraw / repay. Refuses if userMetadata already exists (use the supply tool directly). Costs ~0.028 SOL total in rent for the three accounts (recoverable via Kamino's account-close flow when fully exiting). DURABLE NONCE REQUIRED. BLIND-SIGN on Ledger — Kamino's program isn't in the Solana app's clear-sign allowlist; match the Message Hash on-device after preview_solana_send. It is categorised as a Execute tool in the VaultPilot MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
prepare_kamino_init_user accepts 1 parameter: wallet. Required: wallet. The full parameter table on this page comes from the server's own tool schema.
Register the VaultPilot MCP server in PolicyLayer and add a rule for prepare_kamino_init_user: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches VaultPilot MCP. Nothing to install.
prepare_kamino_init_user is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the prepare_kamino_init_user rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for prepare_kamino_init_user. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
prepare_kamino_init_user is provided by the VaultPilot MCP server (vaultpilot-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on VaultPilot, and thousands of servers like it.
Across the catalogue