IAMF Sentinel

io.github.jlivingston-Cipher由 GitHub 账号 jlivingston-Cipher 发布v0.2.4更新于 Oct 24, 2026

MCP server for the iamf-sentinel IAMF conformance validator and the iamf-loom packager

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,让助手校验 IAMF 沉浸式音频文件的规范符合性,并把 IAMF 打包清单编译成可检查的计划。

可以做什么
按规范符合性规则校验 IAMF 文件,给出带严重级别的发现项、摘要和流信息,可选严格模式把警告升级为失败。检查文件结构:配置文件、编解码器配置、元素与帧数量、OBU 裁剪总量以及 MP4 编辑列表是否存在。把 Loom 清单(YAML 或 JSON)编译为打包计划,包含各目标的后端与封装器路由,或给出 M 代码诊断。以文本形式解释已编译的计划。在带运行开关启动时,可选地编译并执行清单,进行编码、封装,并用校验器把关每个输出。读取校验检查项、编译诊断和故障模式登记表的参考目录。
适用场景
适合处理 IAMF 沉浸式音频时使用:检查文件是否符合规范规则、了解流的整体结构,或在正式构建前把 Loom 打包清单转成计划。默认的只读模式适合检查与审阅;只有确实要产出打包结果时才需要执行功能。
运行要求
以本地进程通过 stdio 运行,需用 pip 从 PyPI 安装,因此需要 Python 3.11 或 3.12。未声明需要账号、API 密钥或环境变量。执行工具需要机器上安装编码器工具链,并以运行开关启动服务器;缺少时会把缺失的可执行文件报告为错误。
安装前请注意
默认只读:不带运行开关时不会执行任何内容,不写文件,也不访问网络。启用运行开关会注册一个以子进程运行编码器工具链并写文件的工具,因此只应在确实要构建输出时启用。该服务器只是薄封装,符合性逻辑位于底层产品中,且执行路径未在项目的 CI 中验证。

安装

在 SourceWeft 中

  1. 打开 控制台中的 IAMF Sentinel,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

iamf-sentinel-mcp

An MCP server exposing iamf-sentinel (IAMF conformance validator) and iamf-loom (IAMF packager) to MCP clients — Claude Desktop, Claude Code, and any other agent runtime that speaks the protocol.

IAMF is the Alliance for Open Media's Immersive Audio Model and Formats (v1.1.0). The validator behind this server also reads IAMF v2.0.0 streams, recognises its six profiles and checks their limits, and reads object-based elements and the v2.0.0 rendering settings and checks them; positions over time and parameter blocks remain unvalidated. This server lets an agent validate IAMF files against the spec's conformance rules and compile packaging manifests into inspectable, deterministic plans — without executing anything (execution is a separate, per-launch opt-in — see below).

Code comments throughout cite an internal numbered design docset (doc NN), ADRs, and pre-registered expectation labels — DESIGN-NOTES.md explains the notation and indexes every cited document.

Tools

ToolWhat it doesNeeds toolchain
iamf_validateFull conformance report on a .iamf / IAMF-in-MP4 file: S-code findings with severities, summary, stream facts. strict promotes WARN to failing.no
iamf_inspectStructure orientation: profiles, codec configs (incl. Opus pre-skip), element/presentation/frame counts, OBU trim totals, MP4 edts/elst presence.no
loom_compileCompile a Loom manifest (YAML/JSON) to its packaging plan — validate-only. Per-target backend/muxer routing with rationale, or M-code diagnostics.no
loom_explainloom explain as text: the compiled plan as its own justification.no
loom_runCompile and execute a manifest: encode, mux, measure, and gate every output through the Sentinel validator. Returns per-target outputs (sha256), gate verdicts, measured loudness, and the run-ledger path. Only registered when the server is launched with --enable-run.yes

Resources

  • checks://catalog — every S-code check the validator can emit: severity, layer, title, description, related F-register entries.
  • mcodes://catalog — every M-code compile diagnostic the packager can report, with its stable summary (retired codes kept for the record).
  • fregister://catalog — the failure-mode register (F_TO_CHECK.md): the WP1/WP3 failure catalogue mapped to Sentinel checks, as markdown.

Verified platforms. Every push runs this server's test suite on Linux, macOS, and Windows against Python 3.11 and 3.12 — ci.yml is the claim; the matrix is the evidence. Two boundaries come with it. First, this package is a thin wrapper: a green matrix here says the server behaves on those platforms, not that the conformance logic does — that is gated in iamf-sentinel and iamf-loom by their own matrices. Second, no encoder toolchain is installed in CI, so loom_run's execution path is exercised only through its failure behaviour — that a missing binary yields an actionable error rather than a traceback. Its subprocess half is unverified here by design; iamf-loom owns that claim. The matrix additionally carries a wheel-only leg with no sibling source checkout, which is what pip install iamf-sentinel-mcp actually gives you. Sample-gated tests skip in that environment by design. Nothing here is claimed for a platform that does not have a green leg.

Run

bash
pip install iamf-sentinel-mcpiamf-sentinel-mcp                # stdio transport, read-only (default)iamf-sentinel-mcp --enable-run   # additionally registers loom_run (executes)

Claude Desktop / Code config:

json
{ "mcpServers": { "iamf-sentinel-mcp": { "command": "iamf-sentinel-mcp" } } }

Scope and posture

  • Read-only by default. Without --enable-run, tools parse and compile; nothing is executed, no files are written, no network is touched.
  • Execution is opt-in, per launch. --enable-run registers loom_run, which runs the encoder toolchain as subprocesses and writes files; the Sentinel gate inside loom run stays on by default. A missing toolchain is an actionable error naming the expected binary path. Sentinel L3 rendered-loudness QC remains unexposed.
  • The server is a thin wrapper over the products' public APIs; conformance logic lives in the products, behind their own test gates.

Apache-2.0 (see LICENSE / NOTICE), like everything else in the iamf-sentinel / iamf-loom stack. Support posture: see the core repo's SUPPORT.md.

Related projects

  • Inseglet — the authoring-side companion: a native REAPER MCP extension for immersive authoring (beds, ambisonics, ADM) whose spatial.export_loom_manifest writes manifests this server's loom_compile / loom_run accept. Run both servers in one agent session for an author → package → validate loop.

来源:README.md,提交 249aeef

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v0.2.4最新Oct 2, 2026
  2. v0.2.3Oct 2, 2026
  3. v0.2.2Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

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

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