关于 Semanto by Trooth
Semanto 提供带签名的公司网站副本,供 AI Agent 读取和验证。本仓库包含 Python、JavaScript 和 Go 的开源读取器,以及可部署到公司域名的 Cloudflare 适配器。
主要功能
- 01读取并验证带签名的网页
- 02提供 Python、JavaScript 和 Go 读取器
- 03共享测试向量与原因代码
- 04Cloudflare 部署适配器
适用场景
- 01检查网页是否具有有效的公司签名
- 02核实公司发布的内容及发布时间
- 03在 Python、JavaScript 或 Go 项目中集成 Semanto 验证
MCP 相关
该项目被描述为带签名的网站格式及读取工具包;输入未说明其 MCP 服务能力。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://api.trooth.co/os/semanto/mcpclaude mcp add --transport http co-trooth-semanto https://api.trooth.co/os/semanto/mcp{"mcpServers":{"co-trooth-semanto":{"type":"http","url":"https://api.trooth.co/os/semanto/mcp"}}}在 Cursor 中打开{"servers":{"co-trooth-semanto":{"type":"http","url":"https://api.trooth.co/os/semanto/mcp"}}}在 VS Code 中打开{"mcpServers":{"co-trooth-semanto":{"type":"http","url":"https://api.trooth.co/os/semanto/mcp"}}}{"mcpServers":{"co-trooth-semanto":{"serverUrl":"https://api.trooth.co/os/semanto/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://api.trooth.co/os/semanto/mcp需要授权工具
详细介绍
Trooth 的 Semanto
Semanto 会将公司的网站转换为一份带签名的副本,供 AI Agent 读取和核验。每个页面都带有公司自有密钥生成的签名,每个已发布的版本都会记录在公开日志中,因此任何人都可以确认公司说过什么,以及何时说的。
此代码库包含 Python、JavaScript 和 Go 的开源读取器及其共享测试向量,以及供公司部署到自有域名的 Cloudflare 适配器。Semanto 服务由 Trooth 提供,不包含在此处。
文档
文档位于 trooth.co/docs/semanto,其中包含适用于 Cloudflare、Vercel、Netlify、Fastly、Akamai、Gcore、nginx、Apache、WordPress、Shopify、Webflow 和 Squarespace 的安装指南。
读取器
| 读取器 | 路径 | 安装 |
|---|---|---|
| Python | verifier/python | pip install trooth |
| JavaScript | verifier/js | 复制 verify.mjs;Node 20 或更高版本,无依赖项 |
| Go | verifier/go | go install github.com/troothllc/semanto/verifier/go/cmd/semanto-verify@latest |
from trooth import SemantoClient
r = SemantoClient().read("https://acme.com/pricing")
print(r["ok"], r["reason"])
这三种读取器使用相同的函数、原因代码和 verifier/test-vectors/v1 中的测试向量。
Cloudflare
请参阅 deploy/cloudflare。
许可证
读取器采用 Apache-2.0 许可证。Cloudflare 适配器采用 Trooth Adapter License 1.0:你可以运行和修改它,为你控制的域名提供 Semanto 服务。LICENSE.md 包含这两种许可证。
安全
请将漏洞报告发送至 [email protected]。请勿为此创建公开问题。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。