remotion-file-bridge

v1.2.2
@visionengine/remotion-file-bridge Checked 1 day ago Published 19 days ago

VisionEngine Remotion File Bridge MCP Server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_files

Use only when the user explicitly wants to browse files in the remote Remotion/VEC cloud workspace. Lists files from the current remote project workspace via the backend file bridge API, not the ordinary local filesystem.

ParameterTypeDescription
includeContentboolean
limitinteger
maxDepthinteger
modestring
pathstringWorkspace-relative path, default is root.
recursivebooleanWhether to recursively browse files. If true, defaults mode to tree.
userIdstringOptional user id override. Normally resolved automatically from API key.
workspaceIdstringGlobally unique workspace id (conv-<uuid>); defaults to VE_WORKSPACE_ID or .ve-workspace.json.

read_file

Use only when the user explicitly wants to read a file from the remote Remotion/VEC cloud workspace. Reads remote text files when suitable, or returns preview/download URLs for remote binary assets.

ParameterTypeDescription
path *stringWorkspace-relative file path.
asTextbooleanWhether to fetch text content for text-like files. Defaults to true.
downloadbooleanWhether to prefer download mode when requesting remote content.
userIdstring
workspaceIdstring

download_file

Use only when the user explicitly wants to fetch a file from the remote Remotion/VEC cloud workspace into the local environment. Downloads a remote workspace file into local WORKDIR.

ParameterTypeDescription
remotePath *stringWorkspace-relative remote file path.
localPathstringOptional local output path, relative to WORKDIR or absolute.
userIdstring
workspaceIdstring

save_file

Use only when the user explicitly wants to save or upload content into the remote Remotion/VEC cloud workspace. Saves local files, text, base64 payloads, or remote URLs into the current user remote workspace. Always provide localPath when sourceType=local_path. targetPath should be a directory, and fileName should contain the final file name.

ParameterTypeDescription
fileName *stringFinal file name in remote workspace, including extension, e.g. baidu_ai.png.
sourceType *stringChoose local_path for local files. Choose text/base64/remote_url when content is provided in content field.
contentstringRequired for sourceType=text, base64, or remote_url. For remote_url, put URL in this field.
contentTypestring
localPathstringRequired when sourceType=local_path. Can be an absolute path or a path relative to WORKDIR.
overwriteboolean
targetPathstringTarget directory path only, workspace-relative, e.g. public/images/photos. Do not include fileName.
userIdstring
workspaceIdstring

delete_file

Use only when the user explicitly wants to delete a file from the remote Remotion/VEC cloud workspace. Deletes a file in the current user remote workspace and requires the full workspace-relative file path.

ParameterTypeDescription
path *stringFull workspace-relative file path to delete, such as src/Root.tsx or public/videos/demo.mp4.
userIdstring
workspaceIdstring

list_workspaces

List the current user veconline workspaces and quota (workspaces are created/managed here or on the website).

get_workspace_quota

Get the workspace quota: free limit (2 including the primary workspace), purchased slots, remaining, and the price of an extra slot.

create_workspace

Create a new veconline workspace (conv-*). Free quota is 2 including the primary workspace; extra slots cost 30,000 credits and must be purchased on the website. This tool never spends credits.

ParameterTypeDescription
name *stringDisplay name (directory id stays conv-*).
descriptionstring
localDirstringOptional local project dir; writes .ve-workspace.json there after creation.
templatestringOptional: "empty" (default) or "copy:<workspaceId>".

get_workspace

Get one workspace status (initializing / active / failed / deleting, and installStatus). Use for polling after create/install.

ParameterTypeDescription
workspaceId *string

rename_workspace

Rename a workspace display name. The directory id (conv-*) never changes.

ParameterTypeDescription
name *string
workspaceId *string

upload_to_workspace

Upload a local Remotion project directory into a veconline workspace. Excludes node_modules/.git/out/dist/.next/.turbo. Overwrites same-name files, then runs pnpm install. Writes .ve-workspace.json locally.

ParameterTypeDescription
localDir *stringLocal project directory (absolute or relative to WORKDIR).
installbooleanRun pnpm install after upload. Default: true.
workspaceIdstringTarget conv-<uuid> workspace; defaults to VE_WORKSPACE_ID or .ve-workspace.json.

install_workspace

Run pnpm install in a workspace (or re-run after changing dependencies). Polls until done/failed.

ParameterTypeDescription
workspaceId *string

download_from_workspace

Download the final render artifact (or any workspace file) from a veconline workspace to the local machine. Never returns chunk intermediates.

ParameterTypeDescription
path *stringWorkspace-relative file path, e.g. out/demo.mp4 or artifact/skill/demo.mp4.
localDirstringLocal directory to save into (default: WORKDIR).
workspaceIdstringWorkspace id; defaults to .ve-workspace.json.