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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。