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 整合