Vitro

io.github.kadirzarex由 GitHub 账号 kadirzarex 发布v1.0.0更新于 Nov 1, 2026

Read Vitro markets on Robinhood Chain and prepare unsigned transactions. Unaudited, capped launch.

已验证Streamable HTTP可网页运行数据库金融

概览

AI 生成的概览

读取 Robinhood Chain 上的 Vitro 市场数据,并为抵押型到期合成资产准备未签名交易,自身不持有私钥。

可以做什么
  • 浏览市场与系列:列出市场、查看单个市场的实时价格与阶段、列出当前及历史系列、查询结算轮次
  • 读取仓位与历史:按钱包或跨市场查询仓位、筛选分页的索引事件、协议统计以及索引器健康状况
  • 报价与风险说明:给出存款铸造的费用、抵押率与清算价格报价,并用通俗语言解释风险
  • 准备普通钱包交易:创建或增加仓位、存入抵押、还款、提取、到期结算,以及结算后平仓赎回
  • 准备委托账户操作:创建委托账户、设置限额、授予或撤销会话密钥,并准备仓位、还款、提取与结算调用
适用场景
适合让助手查看 Vitro 的市场数据、仓位与风险,或起草未签名交易供用户在自己的钱包中审阅并签名。更偏向只读分析与交易准备,而非自动交易。
运行要求
需要远程 streamable HTTP 端点;未声明任何软件包、环境变量或请求头。查询仓位需要钱包地址,准备好的交易由用户在自己的钱包中签名。
安装前请注意
该协议被描述为未经审计且处于限额上线阶段。准备好的交易均为未签名数据,签名前必须审阅;服务器从不签名或发送。委托账户未经审计、所有者不可更改且无所有者找回机制,已有仓位也无法迁入。会话密钥会被授予在限额内代为操作的权利。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vitro,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.kadirzarex%2Fvitro/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "vitro": {
      "type": "http",
      "url": "https://vitro-agent.fly.dev/mcp"
    }
  }
}

工具

30

list_markets

List markets

All Vitro markets with status, expiry, caps, totals and price (from the Proof API).

输入参数status

get_market

Get market

One market in detail (Proof API) plus a live price and phase check from the chain.

输入参数market必填

list_series

List series

Current and past series with settlement round, price and who settled.

输入参数assetstate

get_series_settlement

Series settlement

How a series settled (round id, price, path, caller), or which settlement window applies now and when the next opens.

输入参数market必填

get_position

Get position

A wallet's position: indexed history from Proof plus live collateral, debt, residual, claimable and synth balance from the chain. Omit market for all markets.

输入参数owner必填market

get_events

Get events

Indexed events (mints, repays, withdrawals, liquidations, settlements, redemptions, ...), filterable and paginated.

输入参数typelimitordercursormarketaccounttoBlockfromBlock

get_stats

Get stats

TVL, fees to the treasury, liquidations and per-market use of caps.

无需输入参数。

get_health

Get health

Proof indexer progress and lag versus the chain head.

无需输入参数。

quote_position

Quote a position

Fee, collateral ratio, liquidation price and headroom for depositing collateral and minting, with the contracts' exact math at the current oracle price. Warns when the price is stale or the market is closed. Read-only.

输入参数ownermarket必填collateral必填mintTokensmintValueUsdg

explain_risk

Explain risk

Plain-language risk for a position: distance to liquidation, weekend gaps, expiry, settlement rules, USDG pause and freeze risk. Pass owner for a real position, or collateral and debtTokens for a hypothetical one.

输入参数ownermarket必填collateraldebtTokens

prepare_create_position

Prepare create position

Open or add to a position: USDG approval (if needed) and create(collateral, tokens). Enforces the 11 USDG minimum for a new position, both caps and a fresh price. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数owner必填market必填collateral必填mintTokens必填

prepare_deposit

Prepare deposit

Add collateral to an existing position: approval (if needed) and deposit(amount). Checks both caps. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数owner必填amount必填market必填

prepare_repay

Prepare repay

Burn synth from the wallet to reduce debt: repay(tokens). "all" repays the whole debt. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数owner必填market必填tokens必填

prepare_withdraw

Prepare withdraw

Withdraw collateral: withdraw(amount). "max" withdraws the most the minimum ratio and 10 USDG floor allow. Needs a fresh price when the position has debt. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数owner必填amount必填market必填

prepare_close_and_redeem

Prepare close and redeem

After settlement: withdrawResidual (closes the sponsor position and pays the residual), redeem the wallet's synth if redemption is open, or claim a top-up. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数owner必填market必填

prepare_settle

Prepare settle

After expiry: finds the first Chainlink round at or after expiry, encodes the proof as abi.encode(uint80 roundId) and picks the path that applies now: settle(proof) if that round landed within expiry + maxSettleLag; otherwise guardianSettle(proof) for the guardian Safe, or settleBackstop(proof) for anyone from expiry + maxSettleLag + 7 days. Refused before expiry, once settled, and until the round has printed. Returns UNSIGNED transaction data (to, data, value, gas) for the user's own wallet; simulated against the latest block first and refused if it would revert. Never signs or sends.

输入参数frommarket必填

prepare_mandate_create

Prepare mandate account

Create a mandate account: a smart account that is itself a sponsor, so limits can bind a session key. Existing positions can't be moved into it. The owner can never change: there is no owner recovery. Unaudited. Refused while mandates aren't enabled on this server. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数saltowner必填

prepare_mandate_set_limits

Prepare mandate limits

Set an account's limits and, optionally, the markets it may use with a cap for each. Refuses a minimum ratio at or below any market's own minimum. Binds session keys, not the owner. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数account必填marketCapsmintBudget必填maxActionSize必填approvalThreshold必填totalCollateralCap必填minCollateralRatioPct必填

prepare_mandate_grant_session

Prepare session grant

Let a session key act for the account, inside its limits, on the listed markets until it expires. Replacing a session restarts its mint budget. The key is never held by this server. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数account必填actionsmarkets必填sessionKey必填validForSeconds必填

prepare_mandate_revoke_session

Prepare session revoke

Stop one session key, or all of them with all: true. Takes effect in the next transaction. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数allaccount必填sessionKey

prepare_mandate_withdraw

Prepare owner withdraw

Send idle tokens from the account to its owner, the only address the contract can send them to. Collateral in a position is not idle. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数tokenamount必填account必填

prepare_mandate_create_position

Prepare mandate position

Open or add to the account's position: create(collateral, tokens) through the account, which sets its own allowance. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数market必填account必填approvalcollateral必填mintTokens必填sessionKey必填approvalTtlSeconds

prepare_mandate_deposit

Prepare mandate deposit

Add collateral to the account's position. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数amount必填market必填account必填approvalsessionKey必填approvalTtlSeconds

prepare_mandate_repay

Prepare mandate repay

Burn synth held by the account to reduce its debt. "all" repays the whole debt. Works while the price is stale. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数market必填tokens必填account必填approvalsessionKey必填approvalTtlSeconds

prepare_mandate_withdraw_collateral

Prepare mandate collateral withdraw

Move collateral from the position back to the account, never to any other address. "max" stops at the account's minimum ratio. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数amount必填market必填account必填approvalsessionKey必填approvalTtlSeconds

prepare_mandate_close_and_redeem

Prepare mandate close and redeem

After settlement: withdrawResidual, redeem and claim, paid to the account. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数market必填account必填approvalsessionKey必填approvalTtlSeconds

prepare_mandate_settle

Prepare mandate settle

After expiry: settle(proof) through the account, only while the first round landed inside the lag. Other settlement paths are not agent actions: use prepare_settle from an ordinary wallet. Checks the account's limits, then returns UNSIGNED transaction data for the session key, simulated first. Above the approval threshold it returns EIP-712 typed data for the owner instead, which only works when the owner is an ordinary wallet: it refuses when the owner is a contract, such as a Safe. Never signs or sends.

输入参数market必填account必填approvalsessionKey必填approvalTtlSeconds

prepare_mandate_owner_repay

Prepare owner repay

Burn synth held by the account to reduce its debt. "all" repays the whole debt. For the owner only: works with every session key revoked, ignores session limits, and still follows the market's rules. It prepares exactly this one market call and nothing else. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数owner必填market必填tokens必填account必填

prepare_mandate_owner_withdraw_collateral

Prepare owner collateral withdraw

Move collateral from the position to the account. "max" is the most the market allows. For the owner only: works with every session key revoked, ignores session limits, and still follows the market's rules. It prepares exactly this one market call and nothing else. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数owner必填amount必填market必填account必填

prepare_mandate_owner_withdraw_residual

Prepare owner residual withdraw

After settlement: close the account's position and pay the residual to the account. For the owner only: works with every session key revoked, ignores session limits, and still follows the market's rules. It prepares exactly this one market call and nothing else. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.

输入参数owner必填market必填account必填

版本历史

1
  1. v1.0.0最新Nov 1, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。