$AI on HyperEVM
Quote and build unsigned buy/sell transactions for $AI on its HyperEVM bonding curve. No keys held.
我该使用它吗
质量与安全性
发现(2)
- HIGH
- LOW在 ai_build_sell_tx 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-rail": {
"url": "https://thetickeris.ai/mcp"
}
}
}远程端点
https://thetickeris.ai/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢ai_market
Read-only snapshot of the $AI/HYPE AiCurve: price, sold, retired, circulating, reserve, supply, sell fee (read live from chain), contracts, chain id, rpc, and the fee/no-guarantee disclosure. Takes no amount; for a price on a specific amount use ai_quote_buy (the recommended first call) or ai_quote_sell.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"chainId": {
"type": "integer"
},
"rpc": {
"type": "string"
},
"contracts": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"curve": {
"type": "string"
}
},
"required": [
"token",
"curve"
]
},
"priceHype": {
"type": "string"
},
"priceHypeWei": {
"type": "string"
},
"sold": {
"type": "string"
},
"retired": {
"type": "string"
},
"circulating": {
"type": "string"
},
"supply": {
"type": "string"
},
"reserveHype": {
"type": "string"
},
"sellFeeBps": {
"type": "integer"
},
"disclosure": {
"type": "string"
}
},
"required": [
"chainId",
"rpc",
"contracts",
"priceHype",
"sold",
"supply",
"sellFeeBps",
"disclosure"
]
}🟢ai_quote_buy(hype)
Recommended first call for a new agent: quote how much $AI a given amount of HYPE buys right now, before slippage. Read-only, no wallet needed, no key, no transaction. To buy it for real, call ai_build_buy_tx next with the same hype amount.
输入模式
{
"type": "object",
"properties": {
"hype": {
"type": "string",
"description": "HYPE amount as a decimal string, e.g. \"1.5\" (max 10000)"
}
},
"required": [
"hype"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"tokensOut": {
"type": "string"
},
"disclosure": {
"type": "string"
}
},
"required": [
"tokensOut",
"disclosure"
]
}🟢ai_quote_sell(ai)
Quote how much HYPE a given amount of $AI returns right now, net of the on-chain sell fee. Use it to preview a sell; it returns no transaction. To get the calldata, call ai_build_sell_tx with the same ai amount.
输入模式
{
"type": "object",
"properties": {
"ai": {
"type": "string",
"description": "$AI amount as a decimal string, e.g. \"1000\" (max 1000000000)"
}
},
"required": [
"ai"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"hypeOut": {
"type": "string"
},
"disclosure": {
"type": "string"
}
},
"required": [
"hypeOut",
"disclosure"
]
}🟢ai_build_buy_tx(hype, slippage_bps, from)
Build an unsigned buy transaction against the AiCurve contract. Returns calldata only; the caller signs and sends it. Includes an estimated gas limit when `from` is given. The minimum $AI out is the live quote minus slippage_bps, so a price move past that tolerance makes the tx revert instead of filling worse. Use ai_quote_buy to preview without building; use ai_build_sell_tx to sell.
输入模式
{
"type": "object",
"properties": {
"hype": {
"type": "string",
"description": "HYPE amount to spend, decimal string, max 10000"
},
"slippage_bps": {
"type": "integer",
"description": "Slippage tolerance in basis points, 0-5000, default 200"
},
"from": {
"type": "string",
"description": "0x sender address; when given the tx includes a gas estimate"
}
},
"required": [
"hype"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"tx": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
},
"data": {
"type": "string"
},
"gas": {
"type": "string"
},
"from": {
"type": "string"
}
},
"required": [
"chainId",
"to",
"value",
"data"
]
},
"quote": {
"type": "object",
"properties": {
"tokensOut": {
"type": "string"
},
"minTokensOut": {
"type": "string"
},
"slippageBps": {
"type": "integer"
}
},
"required": [
"tokensOut",
"minTokensOut",
"slippageBps"
]
},
"disclosure": {
"type": "string"
}
},
"required": [
"tx",
"quote",
"disclosure"
]
}🟢ai_build_sell_tx(ai, from, slippage_bps)
Build the unsigned transaction(s) to sell $AI: an approve first if allowance is insufficient, then the sell. Returns calldata only; the caller signs and sends, in order. When an approve is included, send the sell after the approve is mined and estimate its gas then. The minimum HYPE out is the net quote minus slippage_bps. Use ai_quote_sell to preview without building; use ai_build_buy_tx to buy.
输入模式
{
"type": "object",
"properties": {
"ai": {
"type": "string",
"description": "$AI amount to sell, decimal string, max 1000000000"
},
"from": {
"type": "string",
"description": "0x seller address, required to check allowance and estimate gas"
},
"slippage_bps": {
"type": "integer",
"description": "Slippage tolerance in basis points, 0-5000, default 200"
}
},
"required": [
"ai",
"from"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "string",
"enum": [
"approve",
"sell"
]
},
"tx": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
},
"data": {
"type": "string"
},
"gas": {
"type": "string"
},
"from": {
"type": "string"
}
},
"required": [
"chainId",
"to",
"value",
"data"
]
},
"note": {
"type": "string"
}
},
"required": [
"step",
"tx"
]
}
},
"quote": {
"type": "object",
"properties": {
"hypeOut": {
"type": "string"
},
"minHypeOut": {
"type": "string"
},
"slippageBps": {
"type": "integer"
}
},
"required": [
"hypeOut",
"minHypeOut",
"slippageBps"
]
},
"disclosure": {
"type": "string"
}
},
"required": [
"steps",
"quote",
"disclosure"
]
}社区
证据