MCP server for parsing and generating VFX files

MCP server for parsing and generating VFX files

mcp-vfx-parsers•bymabaam

An MCP stdio server exposing six read-only tools that convert Nuke, MaterialX, and USD ASCII files to JSON ASTs and back.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Parses Nuke .nk scripts into JSON ASTs capturing nodes, properties, stack-wired input connections, and root settings.
  • •Parses MaterialX .mtlx XML into JSON ASTs with node graphs, typed inputs, materials, and connection references.
  • •Parses USDA text into JSON ASTs covering prim hierarchy, attributes, time samples, relationships, variants, and composition arcs.
  • •Generates .nk, .mtlx, and .usda text back from JSON ASTs with round-trip stability.

BEST FOR

  • •Inspecting or analyzing Nuke compositing scripts as structured data without opening them in Nuke.
  • •Working with USD ASCII layers programmatically, including variant sets and composition arcs.
  • •Editing or authoring MaterialX shading networks via JSON AST transformations.

ABOUT MCP-VFX-PARSERS

MCP server for parsing and generating VFX files is cataloged as an MCP server attributed to mabaam. An MCP stdio server exposing six read-only tools that convert Nuke, MaterialX, and USD ASCII files to JSON ASTs and back. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for parsing and generating VFX files are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do these tools modify files on disk?

No; all tools are read-only and operate purely on text input without touching the filesystem.

Are round-trips lossless for all formats?

Nuke and MaterialX round-trip to byte-identical output, while USDA is semantically identical with comments stripped as a documented limitation.

What input size limits apply?

All tools reject inputs larger than 10 MB.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 012d7654d6a0 · 采集于 2026-11-13 13:31:28 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

mcp-vfx-parsers

MCP server for VFX file format parsing. Parse and generate Nuke .nk, MaterialX .mtlx, and USD ASCII .usda files — all via the MCP stdio protocol. Round-trip stable.

Tools

ToolDescription
parse_nukeParse .nk script → JSON AST (nodes, properties, DAG wiring)
parse_mtlxParse .mtlx XML → JSON AST (node graphs, inputs, materials)
parse_usdaParse .usda text → JSON AST (prims, attributes, variants, connections)
generate_nukeJSON AST → .nk script (round-trip stable)
generate_mtlxJSON AST → .mtlx XML (round-trip stable)
generate_usdaJSON AST → .usda text (semantic round-trip)

All tools are read-only — they transform text, never touch the filesystem.

Install

npx -y mcp-vfx-parsers

Usage with Claude Code

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "vfx-parsers": {
      "command": "npx",
      "args": ["-y", "mcp-vfx-parsers"]
    }
  }
}

Usage with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "vfx-parsers": {
      "command": "npx",
      "args": ["-y", "mcp-vfx-parsers"]
    }
  }
}

Supported Formats

Nuke .nk

Foundry Nuke compositing scripts. Parses the TCL-based stack-wired node graph format:

  • Node types, properties, positions
  • Input wiring via set/push stack directives
  • Root settings (merges duplicate Root blocks)
  • TCL expressions and UserKnob blocks (preserved as opaque text)
  • Escape sequences in quoted values (\", \\, \n, \t, \r, \0)

MaterialX .mtlx

MaterialX shading network definitions. Parses the XML-based format:

  • Node graphs with typed inputs/outputs
  • Material assignments
  • nodename connection references (DAG edge extraction)
  • Attribute preservation (quote style, order)
  • Comments and XML prolog
  • XML entity encoding/decoding (&, {, )

USD ASCII .usda

Pixar Universal Scene Description (ASCII layer format). Full grammar support:

  • Prim hierarchy (def, over, class)
  • Typed attributes with uniform/custom modifiers
  • .connect connections (UsdShade node graphs)
  • .timeSamples animation data
  • Relationships (single + array targets)
  • VariantSets with nested variant bodies
  • Composition arcs: references, payloads, inherits, specializes
  • Layer and prim metadata
  • Triple-quoted strings and asset paths (@...@, @@@...@@@)

Round-Trip Guarantee

All parsers maintain a strict round-trip invariant:

parse(generate(parse(input))) === parse(input)

Nuke and MaterialX produce byte-identical output. USDA produces semantically identical output in canonical pretty-print form (comments stripped — documented limitation).

Safety & Robustness

  • Input size limit: All tools reject inputs larger than 10 MB
  • Malformed JSON: Generate tools return clear error messages instead of crashing
  • No filesystem access: Pure text transforms, safe for sandboxing
  • No eval/exec: No dynamic code execution
  • No external dependencies: Only @modelcontextprotocol/sdk
  • XXE-safe: MaterialX parser does not evaluate DOCTYPE/entity declarations
  • Unicode: Full UTF-8 support across all three parsers

Development

git clone https://github.com/MABAAM/mcp-vfx-parsers.git
cd mcp-vfx-parsers
npm install
npm test
node src/server.mjs

Changelog

v0.2.0

  • Server hardening: JSON.parse() wrapped in safe handler — malformed input returns error instead of crashing the MCP server
  • Input size limits: All 6 tools reject inputs > 10 MB to prevent memory exhaustion
  • Nuke duplicate Root: Multiple Root blocks are merged (later values win) instead of silently discarding the first
  • Nuke escape sequences: unquote() now handles \n, \t, \r, \0 in addition to \" and \\
  • USDA data preservation: Non-path values in .connect arrays and relationship targets are preserved as <INVALID:kind:value> instead of silently dropped

v0.1.0

  • Initial release: 3 parsers (Nuke, MaterialX, USDA), 6 MCP tools, 13 tests

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for parsing and generating VFX files from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-vfx-parsers)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design