# deposit

Deposit USDC into a Forge Treasury vault on Base. Returns calldata for the agent wallet to sign. The agent must approve USDC to the vault contract first. Mints yield-bearing fUSDC shares. Conservative deposits Core only (single leg). Balanced returns two legs (50% Core / 50% Middle). Aggressive is not live. Gas: Core 4M, Middle 6M+ on mainnet.

Agent View of the PolicyLayer registry record for `deposit`. HTML page: https://policylayer.com/tools/com-forgetreasury-treasury/deposit

## Facts

- Tool: `deposit`
- Server: Forge Treasury (`https://mcp.forgetreasury.com/mcp`) — https://policylayer.com/tools/com-forgetreasury-treasury.md
- Homepage: https://github.com/forge-treasury/forge-cursor-plugin
- Risk category: Financial (Critical risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 3 (2 required)
- Recommended policy verdict: Approval-gated

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `amount` | string | yes | USDC amount to deposit (human-readable, e.g. "1000" for 1000 USDC) |
| `profile` | string | no | Strategy id (legacy "profile" name). conservative → Core vault. balanced → Core + Middle legs (50/50). aggressive → STRATEGY_NOT_LIVE. Defaults to "conservative |
| `agentAddress` | string | yes | Agent wallet address that will receive vault shares |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "deposit",
    "arguments": {
      "amount": "<amount>",
      "agentAddress": "<agentAddress>"
    }
  }
}
```

## Why deposit is rated Critical

This tool directly moves USDC (a stablecoin representing real financial value) from an agent's wallet into a yield vault on Base mainnet. This is a core Financial operation that commits monetary assets and creates yield-bearing positions. Even though it is non-custodial (user retains control), the tool enables irreversible capital deployment that obligates funds to a smart contract protocol.

From the tool's own definition: "Tool description explicitly states 'Deposit USDC into a Forge Treasury vault' and 'The agent must approve USDC to the vault contract first'."

## Use case

AI agents use deposit to commit financial operations through Forge Treasury, usually the final step of a payment, billing, or trading workflow. A call moves real money.

## Recommended policy (PolicyLayer)

Verdict: **Approval-gated**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Forge Treasury:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "deposit": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}
```

## Other tools on Forge Treasury (8)

- `claim_forge` — Financial — https://policylayer.com/tools/com-forgetreasury-treasury/claim-forge.md
- `withdraw` — Financial — https://policylayer.com/tools/com-forgetreasury-treasury/withdraw.md
- `get_balance` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/get-balance.md
- `get_current_apy` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/get-current-apy.md
- `get_forge_rewards` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/get-forge-rewards.md
- `get_vault_stats` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/get-vault-stats.md
- `list_profiles` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/list-profiles.md
- `simulate_deposit` — Read — https://policylayer.com/tools/com-forgetreasury-treasury/simulate-deposit.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-forgetreasury-treasury · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-forgetreasury-treasury
