oxframe

io.github.oxygenframe由 GitHub 账号 oxygenframe 发布v0.24.3更新于 Oct 29, 2026

Make videos from code: check scenes frame by frame, inspect nodes, render a frame, search the docs.

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

概览

AI 生成的概览

oxframe 的本地 MCP 服务器,用于以代码制作视频:让助手检查场景、查看节点、渲染画面并搜索文档。

可以做什么
  • 检查项目:编译并生成分镜和问题报告。
  • 查看场景:读取指定时间点的节点树,可选包含渲染通道。
  • 渲染:输出单帧、渲染图或执行完整渲染。
  • 列出项目可用的组件。
  • 搜索 oxframe 文档。
适用场景
适合用代码编写或调试 oxframe 视频项目时使用,让助手验证视觉改动、查看某一时刻的场景结构,或在不打开编辑器的情况下渲染画面。
运行要求
以本地进程通过 stdio 运行,用 oxframe 命令加 mcp 参数启动。需要安装 oxframe CLI(Cargo 包 oxframe-cli 或预编译二进制),渲染还需要 Rust、C 链接器和 ffmpeg。未声明账号、API 密钥或环境变量。
安装前请注意
项目处于非常活跃的开发阶段,API 尚不稳定,应锁定确切版本并在升级前查看更新日志。渲染会在项目中写入输出文件。除非设置 OXFRAME_NO_UPDATE_CHECK,CLI 每天会查询一次 crates.io 是否有新版本。README 称 CLI 本身不发起网络请求,但发布功能会上传到 oxframe.dev。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

oxframe-cli

[crates.io] [ci] [docs] [license]

Status: oxframe is under very active development. The API is not stable yet and may change from version to version. Pin the exact version in your Cargo.toml and check the changelog before upgrading.

The oxframe command for oxframe projects: create, preview with hot reload, render, check.

sh
cargo install oxframe-cli          # or a prebuilt binary:#   Linux, macOS:  curl -fsSL https://github.com/oxygenframe/oxframe-cli/releases/latest/download/install.sh | sh#   Homebrew:      brew install oxygenframe/tap/oxframe#   Windows:       powershell -ExecutionPolicy Bypass -c "irm https://github.com/oxygenframe/oxframe-cli/releases/latest/download/install.ps1 | iex"oxframe init hello && cd hellooxframe dev --open                 # editor on http://127.0.0.1:3000/?token=…oxframe render                     # out/hello.mp4oxframe publish --title "Hello"    # upload to oxframe.dev, print a link with a playeroxframe check                      # compile, then storyboard + report.jsonoxframe inspect --at 2.5           # scene tree at that time, as JSON (--graph adds passes)oxframe snapshot --at 1.5          # one frame as PNG in out/snapshots/oxframe agents                     # refresh AGENTS.md and the Claude Code skilloxframe upgrade                    # move the project to this CLI's SDK versionoxframe doctor                     # Rust, a C linker, ffmpeg: what is missing and how to fix itoxframe transcribe vo/intro.wav    # word times of a recorded voice-over (whisper.cpp, local)

Updating

sh
cargo install oxframe-cli --force  # the CLIoxframe upgrade                    # then, in each project: SDK pin, Cargo.lock, agent files

Projects pin the SDK (oxframe = "=0.22.0"), so a new release never changes an existing project by itself. Once a day the CLI checks crates.io in the background (cargo search) and mentions a newer version; set OXFRAME_NO_UPDATE_CHECK=1 to turn that off (it is off on CI).

Full reference: https://oxframe.dev/docs/cli.

AI coding agents

oxframe init writes AGENTS.md, CLAUDE.md (@AGENTS.md) and a skill in .claude/skills/oxframe/ (workflow + API cheat sheet). They tell agents to verify visual changes with oxframe check (storyboard and report.json) and never to run oxframe dev. oxframe agents refreshes them after an upgrade; files without the oxframe-agents marker (edited by you) are kept unless --force.

oxframe mcp is an MCP server over stdio with check, inspect, render_graph, render_frame, render, list_components and docs_search:

json
{ "mcpServers": { "oxframe": { "command": "oxframe", "args": ["mcp"] } } }
  • MCP Registry name: mcp-name: io.github.oxygenframe/oxframe

How oxframe dev works

browser ──WS──▶ oxframe dev (127.0.0.1:3000) ──WS──▶ <project> preview --port 0                 serves the embedded editor           restarted on every change                 watches src/, assets/, Cargo.toml → cargo build
  • Changes (debounced 200 ms) trigger cargo build; the editor shows Building…, then either Reloaded (it re-seeks to the same frame) or the compiler errors with file and line — while the previous build keeps running.
  • The old process gets Shutdown, 2 s grace, then is killed (process tree on Windows). Crashes restart the project up to three times.
  • Security: loopback only, Origin check, one-time token in the URL; the CLI runs only cargo and your project and makes no network requests.

Exit codes: 0 ok, 1 build error, 2 environment (ffmpeg, port), 3 version mismatch.

The embedded editor

ui/dist is the editor-ui release pinned in ui.lock, packed into the binary with rust-embed (no network access in build.rs or cargo install).

sh
./scripts/fetch-ui.sh             # download the pinned releasejust build-ui ../oxframe-web       # or build it from a sibling checkoutoxframe dev --ui-dir ../oxframe-web/packages/editor-ui/dist   # develop the editor

ui/debug-client/ is a minimal single-file protocol client kept for debugging.

Development

sh
cargo test                                          # unit tests, ui.lock checkcargo test --test e2e -- --ignored --nocapture      # init → dev → reload → render (needs ../oxframe-sdk)

Licensed under MIT or Apache-2.0.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

来源:README.md,提交 879ec7e

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

6
  1. v0.24.3最新Oct 29, 2026
  2. v0.24.1Oct 26, 2026
  3. v0.24.0Oct 26, 2026
  4. v0.23.8Oct 26, 2026
  5. v0.23.4Oct 25, 2026
  6. v0.23.3Oct 25, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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