This release fixes issues for SREs watching stability and regressions.
Published 1mo
MCP Developer Tools
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
blackmagic
blackmagic-design
blackmagicdesign
davinci-resolve
davinciresolve
mcp
+1 more
mcp-server
Summary
AI summaryFixed installer bug that destroyed user editor settings instead of merging them.
Full changelog
v2.54.2
Fixes a destructive-overwrite bug in the installer (#71): the MCP client setup
step could wipe a user's entire editor settings file instead of merging into it.
Fixed
install.pysilently destroyed existing client config files whose contents
weren't strict JSON.read_jsonswallowedJSONDecodeErrorand returned
{}, so the subsequent "merge" wrote a file containing only the
davinci-resolveserver entry — wiping themes, terminal env vars, LSP
settings, keybindings, and everything else. Zed was the reported victim
because itssettings.jsonships with//comments (JSONC), but the same
latent risk existed for every supported client — VS Code and Continue
also accept JSONC. The fix is centralized in the single read/merge path so
all clients are covered:read_jsonnow best-effort strips JSONC//and/* */comments and
trailing commas (string-aware, so comment markers inside string values are
preserved), letting commented configs merge cleanly instead of being lost.- When a config file exists but still can't be parsed, the installer
refuses to overwrite it and tells the user to add the entry manually —
rather than silently replacing their settings.
Validation
- Unit/static checks run:
test_import, API parity audit, the three drift
guards, full unit suite (1244 passed),npm pack --dry-run,git diff --check. - New regression tests cover JSONC merge, plain-JSON merge, refuse-to-overwrite
on unparseable files, fresh-file creation, and string-aware comment stripping. - No Resolve behavior changed (installer only); live test not required.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Related context
Beta — feedback welcome: [email protected]