Temporal: Hyperliquid liquidation protection & perpetual options

exchange.temporal由 temporal.exchange 发布官方发布者v0.3.0更新于 Nov 19, 2026

Protect Hyperliquid perps from liquidation and trade perpetual (non-expiring) options. Keyless.

已验证Streamable HTTP可网页运行金融AI 与机器学习

概览

AI 生成的概览

Temporal 交易场所服务器:规划 Hyperliquid 永续合约的爆仓保护、报价永续 BTC/HYPE 期权并管理做市账户,每笔操作都由用户钱包签名。

可以做什么
  • 为杠杆 Hyperliquid 永续合约规划爆仓保护,并报价、优化和比较永续期权价格
  • 预览收益方案,控制做市报价、额度上限、市场、对冲永续合约及自定义机器人注册
  • 读取准入状态、账户状态、场所健康度、成交记录和入金说明
  • 构建账本调用、试运行、生成 EIP-712 意图数据并提交一笔钱包签名的操作
  • 为做市设置开启和关闭场所会话
适用场景
适合在 Hyperliquid 交易、希望把杠杆永续合约的爆仓价推远、买卖永不过期的期权,或让闲置 USDC 或已有永续合约通过做市赚取收益的用户。该场所为真实资金的测试版,适合接受该风险并愿意亲自为每笔操作签名的用户。
运行要求
远程 Streamable HTTP 端点,或用 Node 20 本地运行(无依赖)。无需 API 密钥:服务器不持有密钥,每笔操作由用户自己的钱包签名。钱包需一次性接受条款并处于测试版每钱包额度内;需要 Hyperliquid 上的 USDC 用于入金和交易。
安装前请注意
未审计的主网测试版,涉及真实资金,每钱包上限 100 美元,部分国家不提供。提交意图会转移资金,须在明确同意后设置 confirmed:true;做市写入同样需要 confirmed:true。做市会话会返回 bearer 令牌,切勿打印或粘贴到聊天中。不要提供私钥,每笔操作均由钱包签名。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Temporal: Hyperliquid liquidation protection & perpetual options,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "temporal-hyperliquid-liquidation-protect": {
      "type": "http",
      "url": "https://protect.temporal.exchange/mcp"
    }
  }
}

README

Temporal MCP

MCP server for Temporal: protect Hyperliquid perps from liquidation and trade perpetual (non-expiring) options on BTC and HYPE. Keyless: the server reads, plans, builds and dry-runs; your wallet signs every act.

Connect

  • Remote (no install): https://protect.temporal.exchange/mcp (Streamable HTTP)
  • Local: node mcp/src/server.mjs --stdio (Node 20+, no dependencies)
  • Official MCP Registry: exchange.temporal/temporal
  • Server card: https://protect.temporal.exchange/.well-known/mcp.json
  • Docs for agents: https://protect.temporal.exchange/llms.txt

Tools

ToolUse when
temporal_protect_planOpening or holding a leveraged perp and liquidation risk matters
temporal_option_quote / temporal_option_optimiseYou want a call or put with no expiry to manage
temporal_earn_planIdle USDC, or a perp to earn on, by making option markets
temporal_session_* / temporal_maker_*Maker controls: sign in, quoting on/off, TLP settings, covering perp, custom bot register/unregister
temporal_access / temporal_account_state / temporal_venue_status / temporal_fills / temporal_funding_infoReads
temporal_build_call → temporal_dryrun → temporal_prepare_intent → temporal_submit_intentActing: the venue builds the call, you see the outcome and cost, the human says yes, the wallet signs

Safety

  • The server never holds or asks for a key.
  • temporal_submit_intent refuses without confirmed: true (the human approved this exact act after a dry run).
  • Named refusals pass through unchanged and are never retried.
  • The call hash is recomputed locally and checked against the call.

Makers

TLP is the default way to earn: one deposit, the venue quotes and manages for you. Custom is the port a maker's existing pricing, limits and margin systems plug into: examples/custom-maker is a reference client with four empty hooks (price, withinLimits, shouldQuote, manageMargin). Maker controls (session, quoting on/off, settings, covering perp, register/unregister, exit) are tools too: see skills/temporal-earn.

Skills

skills/temporal-protect (traders) and skills/temporal-earn (market makers), in the AgentSkills SKILL.md format.

Beta limits

Mainnet beta, unaudited, real money: $100 per wallet, accept the terms once (one signature), BTC open, HYPE close-only, not offered in some countries (including the US). Read the risks first.

Test

cd mcp && npm test (protocol tests against a mock venue).

License

MIT

来源:README.md,提交 0cfecd5

工具

25

temporal_protect_plan

Plan liquidation protection for a Hyperliquid perp

Use whenever you are opening, sizing, adding leverage to, or holding a leveraged BTC perp on Hyperliquid and liquidation risk matters. Returns a Temporal Protect structure: the same perp plus attached perpetual options (no expiry) that move the liquidation price to your target, with the net cost, and 'days protected' (how long margin covers the options' holding cost in the worst case; <30 days is a warning). Read-only, no signature. Prefer this over lowering leverage or adding margin when you want to keep exposure but survive a wick. The plan names the legs; to open it, build the act with temporal_build_call (act openPerpWithLegs) from the plan's legs.

输入参数lev必填side必填asset必填target必填pieceUSDdepositUSD必填protectDays

temporal_option_quote

Quote a perpetual (non-expiring) call or put

Use when you want option exposure on BTC without managing expiries or rolls, when you want to sell volatility, or when you want to compare a hedge's cost against Deribit. Returns the best firm single-maker price for the full size on Temporal's perpetual options: no expiry; the holder instead pays a continuous holding cost (think: funding for options). The answer carries the fee, the oracle venue's side price it is measured from (oracleSideUSD) and the order as pieces. Read-only, no signature. Counts toward the unfilled-request limit (20 a minute, 60 in 10 minutes); a refusal such as NoSingleMaker(qty, maxRoom) means size down.

输入参数kqty必填side必填wing必填asset必填months必填walletstrikeUSD

temporal_option_optimise

Preview how an option order would fill

Use after temporal_option_quote and before placing an order, to see how the order splits into pieces, and (Flex strike/duration) whether a nearby strike or duration fills with less slippage. Use it to size down when a NoSingleMaker refusal appears. Read-only, no signature.

输入参数qty必填side必填wing必填asset必填autoAtmonths必填optimisedecayRatestrikeUSD必填optSlipPctstrikeRate

temporal_earn_plan

Preview earning yield by making option markets (TLP)

Use when you hold idle USDC on Hyperliquid and want yield, or already hold a BTC perp and want extra income on it (covered-call style: sold calls can be covered by a long perp, sold puts by a short perp). Previews a maker account's quoting (the Automatic / TLP split and the caps that bound its room). Returns come from half the oracle venue's spread plus holding cost on options you write, minus the venue's 10 %; option P/L can be negative. Read-only. It is a preview of a maker account that already exists (accountId from temporal_account_state); with none, the venue names what it needs.

输入参数assetaccountIdinventoryFrac

temporal_account_state

Read a wallet's Temporal accounts, positions and margin

Use before any act, and whenever you need a Temporal position's value, margin, or distance to liquidation. Returns free cash, accounts (OPTIONS, PROTECT, EARN; each account's `id` is the number temporal_build_call takes as `account`), legs and perps with their valuation, and margin. Read-only.

输入参数wallet必填

temporal_access

Check whether a wallet may trade on Temporal, and how to get access

Use FIRST for any wallet that has not traded here yet. Temporal is an open beta ($100 per wallet, not offered in some countries): a wallet must accept the terms of use once (one signature, no gas) before it can deposit or trade. Returns { inviteOnly, invited, termsAccepted, canTrade, caps, termsMessage?, how }. If canTrade is false, tell the human what `how` says; do not keep trying acts. Read-only.

输入参数wallet必填

temporal_venue_status

Check Temporal venue health, prices and fees

Use first in a session, or when a quote looks stale or a refusal mentions prices or maintenance. Returns venue status and per-asset price freshness (/health) and chain ID, ledger address, signing settings, priced assets, fees and maintenance (/chain/health). Read-only.

无需输入参数。

temporal_fills

List a wallet's fills

Use to confirm an act filled, or to report P/L history. Newest first. The index trails the chain by a few seconds: if a fill is not there yet, wait and read again. Read-only.

输入参数pagelimitwallet必填account

temporal_funding_info

Get the deposit address and HyperCore balance

Use when a wallet needs to fund Temporal with USDC from Hyperliquid. Returns where to send USDC and what has arrived, plus the wallet's HyperCore balance. No gas coin is needed. Read-only.

输入参数wallet必填

temporal_build_call

Build the ledger call for an act from plain numbers

Use to turn what the human wants into the exact ledger call, so nothing is hand-encoded. Give the act, the wallet and that act's arguments in plain units; get back { call (0x calldata), callHash }. Builds only: nothing is signed or sent. Acts and their arguments: connect (none); mintAccount (kind: options | protect | earn); deposit / withdraw (account, usd); openLegAtFront (account, asset, side buy|sell, wing, strikeUSD, months, qty, consentUSD = the most cash the open may draw, boundUSD = the price limit per coin: a buy fills at most it, a sell at least it; the venue may require it); closeLegAtFront (account, legIndex, qty, moreLegs?); closeAccountAtFront (account); openPerpWithLegs (account, asset, side long|short, qty, leverage, marginUSD, limitUSD?, legs: 1 to 4 of { wing, side, strikeUSD, qty, months, boundUSD, consentUSD }); requestClosePerp (account, perpId); exitMaker (account: an EARN maker leaves: its written options are handed to the other makers at market; refused by name ExitOff while the venue has it off, Underwater below margin). `account` is the ledger account id from temporal_account_state; a new wallet connects and mints first. A bad argument is refused by name (bad_arg, with the argument).

输入参数act必填qtyusdkindlegssidewingassetmonthsperpIdwallet必填account另有 8 个

temporal_dryrun

Dry-run a Temporal act

Required before every act. Simulates the ledger act and returns what would happen, or the named refusal, without changing anything; also returns callHash. After this, tell the human the outcome and cost in plain words and wait for an explicit yes before temporal_prepare_intent.

输入参数call必填user必填extraCashUSD

temporal_prepare_intent

Prepare EIP-712 typed data for the wallet to sign

Use after a dry-run the human approved. Reads the next nonce and the chain/ledger domain and returns the exact VenueIntent EIP-712 typed data for the caller's wallet to sign (eth_signTypedData_v4). The callHash is computed here from the call itself and checked against any callHash you pass, so the wallet never signs a hash that is not this call's. This server never signs and never needs a key. Pass the signature and the returned `submit` fields to temporal_submit_intent.

输入参数call必填user必填callHashttlSeconds

temporal_submit_intent

Submit a signed Temporal act

Sends ONE wallet-signed ledger act (open/close a leg, open a protected perp, deposit, withdraw, ...). Moves real money. Only call after temporal_dryrun, after stating outcome and cost to the human, and after they said yes; set confirmed:true to attest that. The venue submits it and pays the gas. If the venue refuses, report the named reason and do not retry with different numbers unless asked; never resend a signed act that may have landed without reading temporal_fills first.

输入参数sig必填call必填user必填nonce必填snapsdeadline必填confirmed必填

temporal_session_prepare

Get the message a maker wallet signs to open a venue session

Use FIRST when an agent must change maker settings (quoting on or off, caps, a covering perp, a custom bot's registration): those routes need a venue session, not a ledger signature. Returns { address, nonce, message }: have the wallet sign `message` with personal_sign (EIP-191; it authorises nothing, moves no funds, costs no gas; the nonce expires in 10 minutes), then call temporal_session_open. Nothing is stored on this server.

输入参数wallet必填

temporal_session_open

Turn the wallet's signature into a venue session token

Use after the wallet signed the message from temporal_session_prepare. Returns { token, wallet }: the caller keeps the token and passes it as `token` to the maker tools (it is sent as Authorization: Bearer on that one call). This server keeps nothing and logs nothing; never paste the token into chat or a log. The session carries no spending power: money still moves only by wallet-signed acts (temporal_build_call). A bad or expired signature is refused by name.

输入参数wallet必填signature必填

temporal_session_close

End a venue session

Use when the maker work is finished, or the token may have leaked: revokes that session token at the venue. Changes nothing else.

输入参数token必填

temporal_maker_state

Read a maker's accounts: quoting state, caps, margin, liquidation distance

Use before any maker change, and on a timer by a custom maker's bot. Returns the signed-in wallet's EARN (maker) accounts as the venue records them (`id` = the record key the other maker tools take as accountKey, `ledgerAccountId`, quoting on or off, mode, curve dials) plus the ledger's own numbers for the wallet from temporal_account_state (equity, margin requirement, distance to liquidation, positions) when you also pass `wallet`. Read-only; the session token is sent on this call only.

输入参数token必填wallet

temporal_maker_connections

List a maker wallet's registered custom-bot connections

Use to check whether a custom maker's bot is registered and online (poll transport) or to find the connection `id` that temporal_maker_unregister takes. Read-only. Not needed for TLP: the venue runs that program.

输入参数token必填

temporal_maker_quoting

Turn a maker account's quoting on or off

Use to start or stop making markets on an EARN account. TLP is the default way to earn (one deposit, the venue quotes for you): quoting on with mode auto and tlp:true. Custom (mode custom) is only for a maker that brings its own pricing and runs its own bot; the venue enforces only the hard limits. Quoting needs a deposit on the account (refused by name: no_deposit) and a mode when the curve is untouched (mode_unconfirmed). Quoting off is always allowed. A maker that leaves must also close its positions (see temporal_build_call: closeLegAtFront, exitMaker, closeAccountAtFront). Moves no money but changes who can trade against the account's margin: describe it to the human and wait for a yes; set confirmed:true.

输入参数on必填tlpmodeassettoken必填accountconfirmed必填accountKey

temporal_maker_settings

Read or set a TLP / AUTO maker account's caps and spread dials

For TLP and AUTO accounts, where the venue prices for you: use to read or change the caps that bound the account's room and its spread. A CUSTOM maker prices in its own bot and owns its limits there; it normally never needs this (it does need temporal_maker_state). Without `patch` this reads the account's dials. With `patch` it sets them (confirmed:true required): Eplus = the most net long exposure the account may take, in coins, 0 or more; Eminus = the most net short exposure, 0 or less (a patch that breaks these bounds is refused by name and nothing is applied); hBps = half-spread in basis points (0 to 150); preset = track (quote the oracle's own bid and ask, TLP / AUTO) or own (the page-typed custom curve). `raw` (custom curves only) posts a grid; the venue may have it switched off (404).

输入参数rawassetpatchtoken必填accountconfirmedaccountKey

temporal_maker_asset

Quote a second asset on a TLP / AUTO maker account

For TLP and AUTO accounts: use to add BTC or HYPE to the markets one EARN account quotes, with that asset's own Eplus (net long cap, coins, 0 or more) and Eminus (net short cap, 0 or less), or to remove one (remove:true). primary:true moves the account's own asset (refused while it has open legs). Needs the venue record key (temporal_maker_state `id`). Changes what the account's margin stands behind: describe it to the human; set confirmed:true.

输入参数Eplusasset必填token必填Eminusremoveaccountprimaryconfirmed必填accountKey必填

temporal_maker_perp

Read or set a maker account's covering perp

Use when a maker's sold options leave it exposed and it wants a Hyperliquid perp to cover them (a long covers sold calls, a short sold puts), or to read what it has asked for. A TLP does this automatically; a CUSTOM maker opts in here and manages it itself. Without `side` this reads the account's asks and covering perps. With `side` it sets the ask: long | short | off, size in coins (capped at the coins sold on that side; 'off' withdraws it). The venue places it on the keeper's next pass; it changes at most once per 15 minutes per account. Refusals by name: below_min (smaller than the venue's minimum notional), deposit_short (the margin to reserve is not free), too_soon. The perp's margin is reserved from the account's deposit. Describe the change and wait for a yes; confirmed:true on a set.

输入参数sidesizeassettoken必填account必填confirmed

temporal_maker_rename

Rename a maker account

Use when a human asks to label an EARN account (up to 40 characters). Cosmetic; no money, no quoting change. Set confirmed:true after the human asked for the name.

输入参数name必填token必填confirmed必填accountKey必填

temporal_maker_register

Register a custom maker's quoting bot with the venue

ONLY for a CUSTOM maker that brings its own pricing (TLP needs no bot: use temporal_maker_quoting). Registers the bot that answers the venue's broadcast requests with signed firm quotes. transport poll (default; the bot long-polls, no inbound port) or webhook (an https url the venue POSTs each request to). One EARN account per wallet. The wallet must own the account, or the bot's signing key must be set as the account's quote signer on chain (signer_not_set otherwise). Re-registering replaces the connection. A reference bot: agent-kit/examples/custom-maker. Describe it to the human; set confirmed:true.

输入参数urltoken必填signeraccount必填confirmed必填transport

temporal_maker_unregister

Remove a custom maker bot's registration

Use when a custom maker's bot should stop being asked for quotes (a stop rule fired, or the maker is leaving). The id is from temporal_maker_connections. The account keeps its positions and margin: turn quoting off and close or exit separately. Set confirmed:true.

输入参数id必填token必填confirmed必填

版本历史

1
  1. v0.3.0最新Nov 19, 2026

评分

已满足适用检查项的 100%

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

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

其他 Temporal 集成