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 分