loading…
Search for a command to run...
loading…
Parses and generates Nuke (.nk), MaterialX (.mtlx), and USD ASCII (.usda) files via JSON AST representations with round-trip stability. Enables bidirectional co
Parses and generates Nuke (.nk), MaterialX (.mtlx), and USD ASCII (.usda) files via JSON AST representations with round-trip stability. Enables bidirectional conversion of VFX script formats for pipeline automation without modifying files.
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.
| Tool | Description |
|---|---|
parse_nuke |
Parse .nk script → JSON AST (nodes, properties, DAG wiring) |
parse_mtlx |
Parse .mtlx XML → JSON AST (node graphs, inputs, materials) |
parse_usda |
Parse .usda text → JSON AST (prims, attributes, variants, connections) |
generate_nuke |
JSON AST → .nk script (round-trip stable) |
generate_mtlx |
JSON AST → .mtlx XML (round-trip stable) |
generate_usda |
JSON AST → .usda text (semantic round-trip) |
All tools are read-only — they transform text, never touch the filesystem.
npx -y mcp-vfx-parsers
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"vfx-parsers": {
"command": "npx",
"args": ["-y", "mcp-vfx-parsers"]
}
}
}
Add to claude_desktop_config.json:
{
"mcpServers": {
"vfx-parsers": {
"command": "npx",
"args": ["-y", "mcp-vfx-parsers"]
}
}
}
.nkFoundry Nuke compositing scripts. Parses the TCL-based stack-wired node graph format:
set/push stack directives\", \\, \n, \t, \r, \0).mtlxMaterialX shading network definitions. Parses the XML-based format:
nodename connection references (DAG edge extraction)&, {, ).usdaPixar Universal Scene Description (ASCII layer format). Full grammar support:
def, over, class)uniform/custom modifiers.connect connections (UsdShade node graphs).timeSamples animation data@...@, @@@...@@@)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).
@modelcontextprotocol/sdkgit clone https://github.com/MABAAM/mcp-vfx-parsers.git
cd mcp-vfx-parsers
npm install
npm test
node src/server.mjs
JSON.parse() wrapped in safe handler — malformed input returns error instead of crashing the MCP serverunquote() now handles \n, \t, \r, \0 in addition to \" and \\.connect arrays and relationship targets are preserved as <INVALID:kind:value> instead of silently droppedMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"vfx-parsers-mcp-server": {
"command": "npx",
"args": []
}
}
}