Rialto Swap (read-only)
Read-only MCP for Rialto quotes and swap preflight on Robinhood Chain. No signing or broadcast.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"mcp-rialto": {
"url": "https://mcp-rialto.hoodly.io/mcp"
}
}
}遠端端點
https://mcp-rialto.hoodly.io/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢rialto_list_tokens
List every token quotable on Rialto for Robinhood Chain (symbol, address, decimals, type). Public endpoint; call this before quoting to resolve symbols and decimals.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢rialto_get_quote(sellToken, buyToken, sellAmount, taker, slippageBps, ...)
Get a best-execution swap quote from Rialto. Returns human-unit amounts, the guaranteed minimum, every fee line, route stats, and blockers (issues). sellAmount is a HUMAN decimal like "0.01", never raw units. Requires RIALTO_API_KEY.
輸入結構描述
{
"type": "object",
"properties": {
"sellToken": {
"type": "string",
"description": "Symbol or address"
},
"buyToken": {
"type": "string",
"description": "Symbol or address"
},
"sellAmount": {
"type": "string",
"description": "Human decimal amount, e.g. \"0.01\""
},
"taker": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "Wallet that would pay the sell token and receive the output"
},
"slippageBps": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"default": 50
},
"gasless": {
"type": "boolean",
"default": false,
"description": "Quote for the relayed flow (sets permit2_owner=taker). This server never submits a gasless relay itself."
},
"swapFeeBps": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"description": "Integrator fee in bps — requires an integrator-scoped API key"
},
"chainId": {
"type": "number",
"enum": [
4663,
46630
],
"default": 4663
}
},
"required": [
"sellToken",
"buyToken",
"sellAmount",
"taker"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢rialto_preflight(quote, maxSlippageBps)
Validate a Rialto quote (as returned by rialto_get_quote) against baseline safety checks — issues, settlement sanity, staleness, slippage ceiling, fee cap, zero-output guard. Returns ok / refusals / warnings / notes. Run before any signing step.
輸入結構描述
{
"type": "object",
"properties": {
"quote": {
"type": "object",
"additionalProperties": {},
"description": "The full quote object returned by rialto_get_quote"
},
"maxSlippageBps": {
"type": "integer",
"minimum": 1,
"maximum": 10000
}
},
"required": [
"quote"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪rialto_build_unsigned_tx(quote)
Return the unsigned payload for a USER-signed wallet to complete: the tx object and, for Permit2 settlement, the EIP-712 typed data plus the byte offset where the wallet layer splices the 65-byte signature. This server never signs — it only shapes what a wallet needs to sign.
輸入結構描述
{
"type": "object",
"properties": {
"quote": {
"type": "object",
"additionalProperties": {},
"description": "The full quote object returned by rialto_get_quote"
}
},
"required": [
"quote"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據