hotpath-cloud

rs.hotpath由 hotpath.rs 發布官方發布者v1.0.1更新於 Nov 7, 2026

Read-only access to Rust profiling reports from CI: benchmark history, diffs and policies

已驗證Streamable HTTP可網頁執行開發者工具資料與分析

概覽

AI 產生的概覽

唯讀存取 CI 中的 Rust 效能剖析報告:基準歷史、與基線的差異,以及判定這些報告的策略。

可以做什麼
  • 列出權杖所屬 GitHub App 安裝可見的儲存庫及其基準
  • 列出某儲存庫已存放的報告,含判定結果、PR、提交與執行總計
  • 依拉取請求、提交或 id 取得單一報告
  • 說明報告相對於已記錄基線的變化
  • 讀取預設策略文件並驗證編輯後的策略 TOML
  • 顯示目前連線所使用的使用者與 API 權杖
適用情境
適合在檢視 CI 產生的 Rust 效能退步或改善時使用,查看某個拉取請求的基準結果,或在提交前撰寫並驗證 hotpath 策略檔。
執行需求
遠端 streamable HTTP 端點;未宣告任何套件、環境變數或標頭。存取取決於 GitHub App 安裝以及識別使用者的 API 權杖,工具會顯示該權杖資訊。
安裝前請注意
伺服器聲明所有工具皆為唯讀,validate_policy 不儲存任何內容。存取範圍限於權杖使用者可見的儲存庫,whoami 會顯示 GitHub 登入名稱、權杖名稱與到期時間,應將權杖視為憑證妥善保管。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "hotpath-cloud": {
      "type": "http",
      "url": "https://hotpath.rs/api/v1/mcp"
    }
  }
}

工具

8

get_default_policy

Get Default Policy

Get the default policy document (its keys at their defaults, comments included), as `source`. Every uploaded report must carry a policy file of its repository: write it as hotpath/policy.toml (or hotpath/<benchmark>-policy.toml), edit it, then check it with validate_policy.

無需輸入參數。

get_diff

Compare Report With Baseline

Explain what changed in a benchmark: compare a stored report with the baseline recorded for it at upload (the report the PR comment compared), judged under the policy the report carried. The head is picked as in get_report. Values are strings formatted as the PR comment shows them, with a `unit`; `change_percent` is the exact number. Compared, no baseline and an unreadable side all answer successfully: read the top-level `verdict`. `verdict.judged` and not `verdict.regressed` means judged and fine. `regressed` means a judged family regressed or a budget is broken (see rows whose `outcome` is `regression` and their `crossed` cells, and `budgets.findings`). Not `judged` means nothing was judged: no baseline and no budgets, an unreadable head, or a policy of unjudged families only.

輸入參數idprrepo必填rowseventcommitbenchmark必填

get_report

Get Report

Fetch one stored report by pull request, commit or id (exactly one). `pr` and `commit` answer the newest matching upload; `commit` matches the measured commit or a PR's head commit, so the local HEAD sha of a PR branch finds the PR's report. The summary names the policy file the report was judged under (`policy_path`, `policy_url`), its verdict, its run `totals` and its dashboard URL. `include_payload` adds the uploaded hotpath JSON report. No report yet answers not_found: poll with `commit` to wait for CI's upload. For what changed against the baseline (regressions, improvements), use get_diff. To find reports without knowing a PR or commit, use list_reports.

輸入參數idprrepo必填eventcommitbenchmark必填include_payload

list_benchmarks

List Benchmarks

List one repository's benchmarks. A repository that does not exist, that the user cannot see or that has no App installed all answer not_found. list_repos already includes every repository's benchmarks; use this one when the repository is known.

輸入參數repo必填

list_reports

List Reports

List a repository's stored reports, newest first, as summaries without payloads: id, benchmark, commit, PR, event, verdict, dashboard URL and the run's `totals` (wall time, allocated bytes or allocation count, peak RSS, Callgrind instructions and Callgrind wall time, as display strings; null when the report has none). Use it to discover report history (recent runs of one or all benchmarks, a PR's or a commit's reports, regressions in a time window) and to follow a benchmark's totals across runs without fetching each payload. Filters combine; `benchmark` narrows to one series. `metadata` narrows to runs with given user_metadata pairs, e.g. one runner or CPU. 20 per page by default, up to 50; pass `next_cursor` back as `cursor` for the next page, with the same filters. Use get_report with an `id` from here for one report's payload, and get_diff for what changed against its baseline.

輸入參數prrepo必填eventlimitsinceuntilbranchcommitcursorverdictmetadatabenchmark

list_repos

List Repositories

List the repositories the token's user can see with the hotpath GitHub App installed, ordered by full name, each with its benchmarks (name, stored reports, time of the newest report). Start here: `full_name` is the `repo` argument of the other tools. A user in a large organization may see hundreds of repositories, most without benchmarks: pass `with_benchmarks: true` to list only the profiled ones, or `query` to find one by name.

輸入參數querywith_benchmarks

validate_policy

Validate Policy

Check that a policy TOML document parses as a hotpath policy, with the parser that judges uploaded reports. Stores nothing. A document with a problem is an error naming it. Use it after editing a policy file, before committing it.

輸入參數source必填

whoami

Show Current User

Show which user and API token this connection acts as: the GitHub login, the token's name and expiry. Use it to confirm the connection works, or after a call answers invalid_token.

無需輸入參數。

版本歷史

1
  1. v1.0.1最新Nov 7, 2026

評分

已滿足適用檢查項的 83%

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

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

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

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。