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"
]
}社区
证据