Forge Treasury
Non-custodial USDC yield vaults on Base mainnet with 9 MCP tools for AI agent treasury.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"treasury": {
"url": "https://mcp.forgetreasury.com/mcp"
}
}
}遠端端點
https://mcp.forgetreasury.com/mcpstreamable-http它能做什麼
工具清單
工具(9)
⚪deposit(amount, agentAddress, profile)
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.
輸入結構描述
{
"type": "object",
"properties": {
"amount": {
"type": "string",
"description": "USDC amount to deposit (human-readable, e.g. \"1000\" for 1000 USDC)"
},
"agentAddress": {
"type": "string",
"description": "Agent wallet address that will receive vault shares"
},
"profile": {
"type": "string",
"enum": [
"conservative",
"balanced",
"aggressive"
],
"description": "Strategy id (legacy \"profile\" name). conservative → Core vault. balanced → Core + Middle legs (50/50). aggressive → STRATEGY_NOT_LIVE. Defaults to \"conservative\"."
}
},
"required": [
"amount",
"agentAddress"
]
}⚪withdraw(shares, agentAddress)
Withdraw from the Forge Treasury vault by redeeming shares. Returns calldata for the agent wallet. A 15% performance fee may apply on profits above the high water mark.
輸入結構描述
{
"type": "object",
"properties": {
"shares": {
"type": "string",
"description": "Vault share amount to redeem (raw uint256 string from get_balance)"
},
"agentAddress": {
"type": "string",
"description": "Agent wallet address (owner of shares)"
}
},
"required": [
"shares",
"agentAddress"
]
}🟢get_balance(agentAddress)
Get an agent's Forge vault balance: shares held and equivalent USDC value. Read-only, no transaction needed.
輸入結構描述
{
"type": "object",
"properties": {
"agentAddress": {
"type": "string",
"description": "Agent wallet address"
}
},
"required": [
"agentAddress"
]
}🟢get_current_apy(agentAddress, profile)
Get the blended target APY for a Forge profile: base USDC yield + FORGE boost. Returns structured JSON with profile metadata, target allocation by adapter, and a disclaimer. Format: "X% USDC + Y% FORGE (blended target)". APY is a blended target across conservative allocation weights; not a guarantee. Sepolia uses MockYieldAdapter until mainnet adapters are live. 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.
輸入結構描述
{
"type": "object",
"properties": {
"agentAddress": {
"type": "string",
"description": "Optional agent address for personalized boost calculation"
},
"profile": {
"type": "string",
"enum": [
"conservative",
"balanced",
"aggressive"
],
"description": "Risk profile. MVP: \"conservative\" only. balanced/aggressive return PROFILE_NOT_LIVE. Defaults to \"conservative\"."
}
}
}⚪simulate_deposit(amount, profile)
Project expected returns for a USDC deposit over 30, 90, and 365 days using the blended target APY. Use for agent reasoning before depositing. APY is a blended target across conservative allocation weights; not a guarantee. Sepolia uses MockYieldAdapter until mainnet adapters are live.
輸入結構描述
{
"type": "object",
"properties": {
"amount": {
"type": "string",
"description": "USDC amount to simulate (e.g. \"10000\")"
},
"profile": {
"type": "string",
"enum": [
"conservative",
"balanced",
"aggressive"
],
"description": "Risk profile to simulate. MVP: \"conservative\" only. Defaults to \"conservative\". balanced/aggressive return PROFILE_NOT_LIVE."
}
},
"required": [
"amount"
]
}🟢get_vault_stats
Get live Forge vault TVL on Base (conservative profile in MVP). Read-only.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢list_profiles
List Forge vaults (Core/Middle/Infra) and agent strategies (Conservative/Balanced/Aggressive). Mainnet: Core and Middle vaults live; conservative and balanced strategies live.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_forge_rewards(agentAddress)
[Advanced] Get claimable $FORGE reward balance for an agent from the weekly emissions distributor.
輸入結構描述
{
"type": "object",
"properties": {
"agentAddress": {
"type": "string",
"description": "Agent wallet address"
}
},
"required": [
"agentAddress"
]
}⚪claim_forge(epoch, agentAddress, amount, proof)
[Advanced] Build calldata to claim weekly $FORGE rewards. Proof is fetched from forgetreasury.com/rewards when omitted.
輸入結構描述
{
"type": "object",
"properties": {
"epoch": {
"type": "string",
"description": "Reward epoch number"
},
"agentAddress": {
"type": "string",
"description": "Agent wallet address"
},
"amount": {
"type": "string",
"description": "FORGE amount to claim (raw wei string). Optional if manifest has allocation."
},
"proof": {
"type": "array",
"items": {
"type": "string"
},
"description": "Merkle proof array (bytes32 hex strings). Optional — auto-fetched from manifest."
}
},
"required": [
"epoch",
"agentAddress"
]
}社群
證據