simulate_deposit: MCP dry-run before deposit
How to use Forge MCP simulate_deposit for 30/90/365-day illustrative projections, profile gating, and compliance-safe agent UX.
Last updated: May 26, 2026 · Published 2026-05-26
Forge Treasury smart contracts are unaudited. Yield is variable and not guaranteed. Read Risks & Disclosures before depositing USDC or integrating MCP tools.
The Forge MCP tool `simulate_deposit` lets agents project economics before broadcasting a USDC deposit. It returns structured JSON: target allocation weights, illustrative APY fields (labelled target / illustrative), 30/90/365-day projection tables, gas hints, profile live flags, and compliance disclaimers. It does not move funds or sign transactions. Production integrators should call it on every new deposit tier — adapter books change after 48-hour timelocks. Pair with USDC approve and deposit workflow and read Risks & Disclosures: unaudited contracts, variable yield, early TVL.
Tool schema (MVP)
| Parameter | Required | Description |
|---|---|---|
| amount | Yes | USDC amount string, e.g. "10000" |
| profile | No | Defaults to "conservative". balanced/aggressive may error if not live |
Example MCP invocation (Cursor Agent or any MCP client): `simulate_deposit({ amount: "10000", profile: "conservative" })`. Health check the server at `https://mcp.forgetreasury.com/health` — do not open `/mcp` in a browser tab. Eight Forge tools ship on production; see MCP-native treasury.
What the response contains
- Structured envelope — chain ID, vault address, profile/strategy mapping, warnings array.
- Allocation targets — adapter weights in basis points for the selected profile.
- APY block — `advertisedAs: target/illustrative` qualifiers on USDC and FORGE boost fields.
- projections — 30 / 90 / 365-day tables using blended assumptions.
- disclaimer — explicit illustrative-yield language at end of payload.
- Legacy fields — `assumedBaseApy` / `assumedForgeBoost` retained for older integrators.
Conservative profile (live today)
MVP maps `profile: "conservative"` to 100% Core vault routing — Spark, Morpho, Aave book on `0x2C9a3922b426005B979FDD1A8F43Eb61B309193B`. Simulation assumes live adapters; if timelock pending, warnings should surface. Cross-check results against Stats before deposit. Strategy detail: Conservative strategy.
| Profile | Simulate behavior | On-chain note |
|---|---|---|
| conservative | Full response | Core live |
| balanced | May return PROFILE_NOT_LIVE | Middle adapters timelock-pending |
| aggressive | May return PROFILE_NOT_LIVE | Infra not deployed |
Recommended agent policy
- `list_profiles` — confirm which strategies are live.
- `simulate_deposit` — same amount and profile as intended deposit.
- Parse warnings — abort if `isError` or timelock blockers.
- `deposit` — only after operator policy approves illustrative economics.
- Log projection snapshot hash for audit trail (optional).
How projections are computed
Server-side math blends configured target USDC APY (~3.7% bps in constants) and optional FORGE boost (~2.0% illustrative) for UX — not live oracle aggregation of adapter rates. Realised USDC yield comes from ERC-4626 share price delta as Spark, Morpho, and Aave legs move. FORGE value at claim is unknown. Agents building dashboards should prefer on-chain share price over static MCP constants for realised metrics.
Compliance-safe presentation
| Data | Safe label | Avoid |
|---|---|---|
| projections table | Illustrative scenario | Guaranteed earnings |
| baseApy field | Target USDC yield (variable) | Live APY |
| forge boost | Emission subsidy (uncertain value) | Extra guaranteed % |
| combined sum | Do not add into one headline | Earn X% total |
Errors and blockers
`balanced` simulation may return `PROFILE_NOT_LIVE` / `STRATEGY_NOT_LIVE` with Middle vault address and timelock notes when `adapterCount` is zero. Do not bypass with manual deposit unless operator accepts Middle risk. Verify adapter execution on Stats and Basescan before routing user funds.
Simulate vs deposit vs get_current_apy
| Tool | Purpose | On-chain effect |
|---|---|---|
| simulate_deposit | Forward projections + allocation preview | None |
| deposit | Unsigned deposit calldata | After agent signs |
| get_current_apy | Current illustrative APY snapshot | None |
| get_vault_stats | TVL / stats read | None |
Frequently asked questions
Does simulate_deposit cost gas?
No. It is an off-chain MCP handler. Only subsequent `approve` and `deposit` transactions consume gas on Base.
Should I simulate for $10 smoke deposits?
Recommended for integrator discipline — confirms profile live flags and warnings even on small amounts. Smoke TVL (~$10) does not remove smart-contract risk disclosures.
Can I cache simulation results?
Short TTL only (hours). Timelock execution changes adapter bps without redeploying MCP. Re-simulate after governance events or weekly automation cron.
Summary for agents
Always `simulate_deposit` before first deposit at a new amount tier. Treat output as illustrative; verify live state on Stats. Conservative → Core only in MVP. Then approve USDC and sign `deposit` calldata. Read Risks and Docs for tool list updates.
External resources
Primary protocol documentation and data sources. Forge is not affiliated with these projects; links are for education only.
Related reading
- What is an MCP-native treasury?How Forge Treasury uses the Model Context Protocol so AI agents can discover, quote, and deposit into USDC vaults without custodial intermediaries.
- USDC approve and deposit on Base: agent workflowStep-by-step approve → simulate → deposit flow for AI agents using Forge MCP on Base mainnet — non-custodial calldata signing.
- FORGE emissions vs vault yield — keep them separateWhy USDC adapter yield and FORGE token emissions must not be blended in agent prompts or marketing copy.
- Agent treasury automation with Cursor and Forge MCPCursor MCP deeplink install, first vault info call, approve/deposit calldata walkthrough, test amounts, and troubleshooting on Base mainnet.
Share this article
Draft copy for social posts — review before publishing. URL: https://forgetreasury.com/learn/simulate-deposit-mcp-forge-treasury
Open Graph / preview card
Forge simulate_deposit MCP guide Dry-run USDC deposits via MCP — illustrative projections, profile gating, compliance labels. No on-chain effect. https://forgetreasury.com/learn/simulate-deposit-mcp-forge-treasury
Twitter / X
Before depositing USDC into Forge, agents should call simulate_deposit — illustrative 30/90/365 tables, not guaranteed APY: https://forgetreasury.com/learn/simulate-deposit-mcp-forge-treasury
Responsible agent treasuries simulate before they sign. This guide documents Forge MCP simulate_deposit — structured warnings, timelock caveats, and how to keep USDC yield separate from FORGE emissions in UX: https://forgetreasury.com/learn/simulate-deposit-mcp-forge-treasury