
Tteop Mcp
io.github.SunrisesIllNeverSee由 GitHub 账号 SunrisesIllNeverSee 发布v0.2.1更新于 Oct 24, 2026
Build, validate, and describe TTEOP telemetry envelopes for AI operator token efficiency.
发布方自己的服务:Contribution Exchange
概览
本地 MCP 服务器,用于构建、校验和说明 TTEOP 遥测信封及其 token 效率指标。
- 可以做什么
- 根据 token 计数构建符合 TTEOP v0.1-draft 模式的信封,并计算 Yield、Leverage、Velocity、output_fraction 与 log_leverage
- 按 JSON Schema 和语义规则校验信封,返回模式错误、语义错误、警告和计算出的指标
- 查询协议元数据:版本、隐私模式、来源等级、禁用字段以及带公式的指标定义
- 运行一致性测试套件,覆盖规范向量、空值语义、禁用字段检测和银行家舍入
- 适用场景
- 当你处理 TTEOP 遥测格式,希望助手代为构建或检查信封、解释协议指标时使用;它并不用于分析任意数据。
- 运行要求
- 以本地 stdio 进程运行,通常通过 npx tteop-mcp 或全局 npm 安装,因此需要 Node.js 和 npm。未声明任何账号、API 密钥、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Tteop Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
tteop-mcp
Production MCP server for TTEOP — Token Telemetry Evaluation Operator Protocol.
Build, validate, and describe TTEOP telemetry envelopes via the Model Context Protocol. Powered by the official MCP TypeScript SDK v2 and the tteop-spec reference implementation.
New here? Read START-HERE.md. Automated contributors must also read AGENTS.md.
Architecture
This package is a thin MCP transport layer. All protocol logic — envelope construction, metric computation (banker's rounding), schema validation, and semantic rules — is delegated to tteop-spec via its stable JavaScript API:
tteop-spec/builder→buildEnvelope(telemetry, options)tteop-spec/validator→validateEnvelope(envelope, options),computeMetrics(telemetry)
No metric formulas or schema logic are duplicated here. When tteop-spec updates its validator or builder, this server inherits the changes.
Product separation
Install
Tools
Usage
With Claude Desktop
Add to claude_desktop_config.json:
With MCP Inspector
Open the browser tab, click Connect, open the Tools tab, and call any tool.
Programmatic
Development
Acceptance criteria
-
npx tteop-mcpwaits for an MCP connection -
initializesucceeds -
tools/listreturns complete schemas (4 tools) - Every tool can be called through MCP Inspector
- Invalid token values return structured MCP errors (
isError: truewith validation message) - stdout contains protocol messages only
- CI runs an actual MCP client against the packaged tarball
Distribution status and release order
[email protected] is currently published to npm and listed in the MCP Registry and Glama. Release 0.2.1 repairs source/package provenance, upgrades the exact protocol dependency to [email protected], and adds release hardening.
The required release order is:
- Confirm
[email protected]is available from npm. - Merge the
[email protected]release commit with every required check green. - Run the manual Release npm package workflow. It publishes with npm provenance and creates GitHub release
v0.2.1at the same commit. - Confirm
npm view [email protected] gitHeadequals the GitHub release commit. - Publish the matching
server.jsonto the MCP Registry: - Confirm the MCP Registry and Glama show version
0.2.1and all four tools. - From a clean directory, run
npx -y [email protected] --versionand a real MCP client invocation.
Never publish from an uncommitted working tree. Package version, lockfile, server.json, Git tag, GitHub release, npm gitHead, and MCP Registry version must identify the same release.
License
Apache-2.0
来源:README.md,提交 3132150
工具
0版本历史
1- v0.2.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。