Odyssey Loopr

io.github.odyssey-finance由 GitHub 帳號 odyssey-finance 發布v0.2.0更新於 Nov 5, 2026

Quote, build and simulate leveraged DeFi yield positions on Odyssey Loopr.

已驗證Streamable HTTP可網頁執行金融AI 與機器學習

概覽

AI 產生的概覽

Odyssey Loopr 遠端 MCP 伺服器,讓助理在 EVM 鏈上報價、建構並模擬槓桿化 DeFi 收益部位,由使用者自行簽名。

可以做什麼
  • 列出並檢視槓桿策略的 APY、槓桿範圍、代幣與 TVL,可依鏈、資產或協議篩選
  • 讀取某個地址的部位健康度、槓桿與損益,並推導持有部位的智慧合約帳戶
  • 為開倉、調整、借貸、還款、領取獎勵與平倉產生報價,含健康因子與清算價格
  • 為上述操作建構未簽名交易步驟,並在簽名前於分叉環境模擬建構結果
適用情境
適合讓助理研究 Loopr 槓桿收益策略、查看部位健康狀況,或為開倉、調整、還款、平倉準備並預先檢查交易,而簽名始終由使用者在自己的錢包完成。
執行需求
遠端 streamable HTTP 端點 app.odyssey.finance;未宣告任何套件、環境變數或請求標頭。使用者需提供 EVM 地址並以自己的錢包簽署回傳的步驟;查詢部位時必須提供鏈 ID。
安裝前請注意
涉及真實的槓桿 DeFi 部位與資金:建構結果會產生轉移抵押品與債務的交易,使用者須在自己的錢包中逐筆審閱並簽名。伺服器聲明不持有私鑰、不發送交易。報價與建構 180 秒後過期且建構僅能使用一次;簽名前應先模擬並檢查結果。自動還款與複投領取涉及滑價。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Odyssey Loopr,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.odyssey-finance%2Floopr/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "odyssey-loopr": {
      "type": "http",
      "url": "https://app.odyssey.finance/api/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

17

list_strategies

List strategies

List Loopr leveraged strategies with APY, leverage bounds, deposit/borrow tokens and TVL. Filter by chain, deposit asset or protocol.

輸入參數assetschainIdsprotocolsincludeDisabled

get_strategy

Get strategy

Get one strategy. Pass depositToken/borrowToken when several strategies share a strategyId on the same chain.

輸入參數chainId必填strategyId必填borrowTokendepositToken

get_positions

Get positions

List an owner EOA's Loopr positions with health, leverage and PnL. Requires chainId or chainIds. Pass positionAddress (with chainId, not chainIds) to fetch a single position: it returns `{ position, errors, catalogUnavailable }`, and a null `position` with `errors` rows means the chain could not be read, not that the position does not exist.

輸入參數owner必填chainIdchainIdspositionAddress

get_sca_account

Get smart account

Derive the smart contract account (SCA) that holds Loopr positions for an EOA. Deterministic; the same on every chain.

輸入參數eoa必填

quote_open

Quote open

Quote opening a leveraged position: expected collateral, debt, health factor and liquidation price. Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數amount必填chainId必填leverage必填slippagestrategyId必填borrowTokencollateralToken必填

quote_adjust

Quote adjust

Quote adding collateral ('push', requires leverage) or withdrawing it ('pull'). Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數amount必填chainId必填leverageslippagedirection必填strategyId必填positionAddress必填

quote_borrow

Quote borrow

Quote borrowing more against a position. Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數chainId必填marketIdstrategyId必填borrowAmount必填positionAddress必填

quote_repay

Quote repay

Quote repaying debt. 'auto' repays from collateral via a flash-loan swap and requires slippage; 'manual' repays from the wallet. Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數mode必填chainId必填slippagestrategyId必填repayAmount必填withdrawAmountpositionAddress必填

quote_claim

Quote claim

Quote claiming rewards. 'send' pays them to the owner; 'compound' swaps them into the position and requires slippage. The returned `rewards` feed build_claim. Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數mode必填chainId必填slippagestrategyId必填positionAddress必填

quote_close

Quote close

Quote closing a position in full. Returns a quote envelope; `expiresAt` is unix ms and quotes expire after 180 seconds. Amounts are base-unit integer strings.

輸入參數chainId必填slippagestrategyId必填positionAddress必填

build_open

Build open

Build the steps that open a leveraged position. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign. `tokenIn` (zap-in) is build-only: quote in the collateral token, then set `tokenIn` here to add the swap. With `tokenIn` set, `amount` is in `tokenIn` decimals. A zap-in is simulated by the build itself, and a failure gets 422 `simulation_reverted`. Any build the owner funds (open, adjust push, manual repay), zap-in or not, gets 422 `insufficient_balance` (`token`, `required`, `available`) when the owner holds less than it pulls.

輸入參數owner必填amount必填chainId必填tokenInleverage必填slippagestrategyId必填borrowToken必填approvalModeforceSwappermaxPriceImpacttokenInSwapper另有 1 個

build_adjust

Build adjust

Build the steps that add collateral ('push': requires collateralToken, amount, borrowToken, leverage) or withdraw it ('pull': requires token, tokenOut, and exactly one of withdrawAmount or withdrawAll). Fields of the other direction are refused, not ignored. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign. `tokenIn` (zap-in) is build-only: quote in the collateral token, then set `tokenIn` here to add the swap. With `tokenIn` set, `amount` is in `tokenIn` decimals. A zap-in is simulated by the build itself, and a failure gets 422 `simulation_reverted`. Any build the owner funds (open, adjust push, manual repay), zap-in or not, gets 422 `insufficient_balance` (`token`, `required`, `available`) when the owner holds less than it pulls.

輸入參數owner必填tokenamountchainId必填tokenInleverageslippagetokenOutdirection必填strategyId必填borrowTokenwithdrawAll另有 7 個

build_borrow

Build borrow

Build the steps that borrow more against a position. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign.

輸入參數owner必填chainId必填marketIdstrategyId必填borrowAmount必填positionAddress必填

build_repay

Build repay

Build the steps that repay debt. 'auto' requires slippage; 'manual' repays from the owner's wallet. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign. Any build the owner funds (open, adjust push, manual repay), zap-in or not, gets 422 `insufficient_balance` (`token`, `required`, `available`) when the owner holds less than it pulls.

輸入參數mode必填owner必填chainId必填slippagestrategyId必填repayAmount必填approvalModeforceSwapperwithdrawAmountpositionAddress必填

build_claim

Build claim

Build the steps that claim rewards. Pass `rewards` exactly as quote_claim returned them. 'compound' requires slippage. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign.

輸入參數mode必填owner必填chainId必填rewards必填slippagestrategyId必填positionAddress必填

build_close

Build close

Build the steps that close a position in full. Returns UNSIGNED transaction steps for the owner to sign in order; this server never holds keys or sends transactions. The build expires after 180 seconds (`expiresAt`, unix ms): build immediately before signing, not as a plan for later. Builds are single-use: rebuilding an open predicts a different position address, so never replay one. A successful build does not guarantee a successful transaction: pass `steps` to `simulate` and check `ok` before asking anyone to sign.

輸入參數owner必填chainId必填slippagestrategyId必填forceSwapperreceiveTokenpositionAddress必填

simulate

Simulate

Simulate built steps on a fork (Tenderly) from the owner's address before anyone signs. Pass `steps` and `expiresAt` exactly as a build_* tool returned them. Check `ok`; on failure the failing step carries the revert reason; never ask anyone to sign a failing build. A swap-route failure can be retried by rebuilding with `forceSwapper: true` (build_open, build_adjust push, build_repay auto, build_close). `share` defaults to 'failure-only', so a passing simulation never publishes the owner's calldata as a public link.

輸入參數from必填sharesteps必填expiresAt必填

版本歷史

1
  1. v0.2.0最新Nov 5, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。