Trent

ai.trent由 trent.ai 发布官方发布者v0.3.0更新于 Oct 24, 2026

Security reviews, threat models over a repo or website, and remediation tracking, in your editor.

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

Trent 是一个远程 AI 安全工程师,可在编辑器中审查代码、方案与配置,对仓库或网站做威胁建模,并跟踪修复进度。

可以做什么
  • 通过安全顾问工具审查代码差异、方案或配置中的安全问题
  • 扫描仓库或网站并读取 Trent 报告的问题
  • 对仓库(包括当前所在仓库)执行威胁建模
  • 以循环方式修复问题:在新分支上工作,用你的测试和 Trent 顾问校验每处修复,并提交一个拉取请求
  • 重新扫描已合并的代码,查看哪些修复被计为完成,并继续处理其余问题
  • 通过签名上传链接附加设计文档或问题清单文件
适用场景
适合希望在编码代理内完成安全审查、威胁建模和修复跟踪,而不另开安全工具的团队。已使用 Claude Code 或 Codex CLI、并希望把发现的问题转化为可审查的拉取请求时尤为合适。
运行要求
通过 streamable HTTP 访问的远程 MCP 端点,无需本地包或 API 密钥。首次运行工具时在浏览器中完成 OAuth 登录。扫描仓库需要在仓库上安装 Trent GitHub App。插件需从 Claude Code 或 Codex CLI 的 trnt-ai/trent-agent-plugin 市场添加。
安装前请注意
代理提交审查的内容(代码、差异、方案、配置)会发送到你所处区域的 Trent 服务器,附加文档会上传到 Trent 的 S3 存储。扫描时会发送仓库所有者与名称。反馈、修改和项目设置以工具参数形式发送。修复循环会创建分支并打开拉取请求,合并前请自行审查。插件清单没有签名,你信任的是市场名称。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Trent,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "trent": {
      "type": "http",
      "url": "https://mcp.trent.ai/mcp"
    }
  }
}

README

Trent agent plugin

Trent, an AI security engineer. Review code, plans and configs for security problems, run threat models over a repo or website, and track remediation without leaving the editor.

Installing

Add the marketplace by repository name. trnt-ai/trent-agent-plugin is the only public marketplace that carries Trent, and adding it by name is what ties the install to us. (A plugin manifest carries no signature, so the name is what you are trusting; never add a marketplace from a URL to a file.)

Claude Code:

/plugin marketplace add trnt-ai/trent-agent-plugin/plugin install trent@trent

Codex CLI:

codex plugin marketplace add trnt-ai/trent-agent-plugincodex plugin add trent@trent

Check what you installed with claude plugin details trent. It prints Source: trent@trent and the manifest's identity fields.

Signing in

The plugin declares a remote MCP server and no credentials. Authentication happens in the browser the first time a tool runs; there is no API key to paste and none is shipped here.

What the plugin sends, and where

The plugin holds no code of its own: four skills and the addresses of Trent's two servers. Everything it sends goes through your coding agent, as Trent tool calls, to the server for your account's region: https://mcp.trent.ai/mcp (US) or https://mcp.eu.trent.ai/mcp (EU).

  • Repository scans. Trent reads a repository through the Trent GitHub App you install on it. The plugin does not upload your repository; it sends the repository's owner and name.
  • Reviews. security_advisor sends the content your agent passes it for that review: code, a diff, a plan or a config. /trent:trent-loop sends the diff of each fix it makes.
  • Documents. A design document or findings file you choose to attach is uploaded straight to Trent's storage on Amazon S3, through a signed URL that prepare_file_upload returns and that expires.
  • What you type. Feedback, edits to findings and project settings go as tool arguments.

The plugin also sends its version in the x-trent-plugin-version header. It reads no credentials from your machine.

Trent handles this data under its privacy policy, https://trent.ai/privacy-policy/. Security documentation is in the Trent Trust Center, https://trust.trent.ai/.

Using it

Ask your coding agent in plain words; the plugin's skills tell it which Trent tool to use:

  • Review one piece of work (a diff, a plan, a config): trent-security-advisor.
  • Scan a repository or website and read what Trent found: trent-threats, or trent-repo for the repository you are in.
  • Fix what Trent found: run /trent:trent-loop, or /trent:trent-loop 3 to fix at most three. It works on a new branch, checks each fix with your own tests and with Trent's security advisor, and opens one pull request for you to review. After you merge it, run it again: Trent scans the merged code, reports which fixes it now counts as done, and carries on with the rest.

Verifying where a release came from

Each release is one commit, and its message carries the revision it was built from:

Published from source revision <sha>

Run git log -1 in a clone of this repository to read it. The <sha> is an identifier, not a link; there is nowhere to follow it to. What it gives you is an exact name for the build you are running: quote it to support and they can say which release you have. If a copy of this plugin does not carry a message in that form, it was not published by us.

Each release's pull request also runs a check, provenance, that the commit has that shape: one commit on main, that subject, plain files, and a changed version when the content changed. It reads the commit and holds no credential.

The plugin manifest names https://github.com/trnt-ai/trent-agent-plugin, this repository, as its repository, and trent.ai as its homepage. A plugin claiming to be Trent from anywhere else is not ours.

Pinning a release

Every release is tagged plugin-v<version>, on the commit that release published. git tag -l in a clone lists them. A tag here never moves: the repository's rules refuse it, so a pin keeps resolving to the same files.

On a Team or Enterprise plan an admin can register this marketplace for everyone in managed-settings.json, pinned to a release. ref is the tag and sha is the commit it names; with both set the sha is the pin and the ref says which release it came from:

json
{  "extraKnownMarketplaces": {    "trent": {      "source": {        "source": "github",        "repo": "trnt-ai/trent-agent-plugin",        "ref": "plugin-v0.1.0",        "sha": "<the 40-character commit plugin-v0.1.0 names>"      }    }  },  "enabledPlugins": { "trent@trent": true }}

Read the sha off the tag rather than copying one from anywhere else:

git ls-remote https://github.com/trnt-ai/trent-agent-plugin refs/tags/plugin-v0.1.0 'refs/tags/plugin-v0.1.0^{}'

One line back means the tag names that commit: pin it. Two lines back means the tag is annotated: the line ending ^{} names the commit, and that is the one to pin.

Upgrading is then a deliberate edit of those two fields, not something that happens when someone reinstalls.

Getting help

Questions, bugs and feature requests reach us at https://trent.ai or through your usual support channel; that is where they get answered.

This repository is published from Trent's build on each release; every file in it is generated, so it is not the place to file or fix anything.

Licence

Copyright Trent AI. See LICENSE for the terms, and https://trent.ai for anything the terms do not answer.

来源:README.md,提交 76497f6

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

3
  1. v0.3.0最新Oct 3, 2026
  2. v0.2.0Oct 2, 2026
  3. v0.1.0Sep 16, 2026

评分

已满足适用检查项的 85%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分