Skip to content

Run fcp-mcp-server from a locked project - #2

Merged
Bouliw merged 1 commit into
mainfrom
pin-live-deps
Nov 25, 2026
Merged

Bouliw merged 1 commit into
mainfrom
pin-live-deps

Conversation

@Bouliw

@Bouliw Bouliw commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Live Mode ran fcp-mcp-server with uvx --from fcp-mcp-server==<version>: only the top-level package was pinned, and its dependencies were resolved again on each run.

Change

  • config/live holds a small uv project (pyproject.toml, uv.lock) that pins fcp-mcp-server 0.35.0 and every package it depends on, each with its hashes.
  • live.py now runs uv run --frozen --project config/live fcp-mcp-server: the lock is used as it is, never resolved again, and uv checks the hashes. The environment is kept in ~/Library/Caches/Roughcut/live, so the app folder is not written to.
  • The live.package setting is removed: the release lives in the lock. To move to another one, change config/live/pyproject.toml and run uv lock --project config/live.

A constraints file passed to uvx was tried first: it pins the versions, but uvx does not check the hashes in it (a wrong hash was accepted). With the lock, a wrong hash is refused.

Tests

  • The command line run for the server is checked (run --frozen --project <config/live>).
  • The lock is checked to name one release and a hash for every package, all from PyPI.
  • Run for real: the server starts from the lock and lists its tools, with no Final Cut Pro involved.

Not covered

  • music.py still reaches fcp-mcp-server through uvx for beat detection when librosa is missing.

@Bouliw
Bouliw merged commit 1b921c9 into main Nov 25, 2026
12 checks passed
@Bouliw
Bouliw deleted the pin-live-deps branch November 25, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant