- Adicionado estrutura completa do projeto - Configurado MCP server para Premiere Pro - Adicionado documentação e skills - Configurado Gitignore para o projeto
4.8 KiB
Executable File
Guarded After Effects MOGRT authoring
This repository can author and route bounded MOGRT workflows from After Effects into Premiere. It does not turn the MCP server into a general-purpose After Effects scripting endpoint, and it does not claim that a generated file has correct animation, editable controls, Premiere compatibility, visual quality, or completed-render output.
What is supported
The template library provides five deterministic recipes: lower_third,
title_card, callout, quote_card, and social_end_card. Each creates one
comp in the already open, saved After Effects project, adds bounded headline and
optional subtitle text plus an accent Color Control, then attempts to expose
those controls in Essential Graphics before requesting the MOGRT export.
An optional brand_kit can constrain template naming with a prefix, supply
approved accent/text colors, request a font by name, position content within a
safe margin, and add an approved, workspace-contained PNG/JPEG logo. Font
availability is resolved by After Effects at creation time; the preview cannot
prove it is installed.
The base path remains constrained:
verify_after_effects_connectionis read-only and returns only connector, host-version, saved-project, and project-item-count state.preview_mogrt_recipevalidates a bounded recipe and an existing output directory within an operator-approved workspace. It issues a one-time token that expires after ten minutes.create_mogrt_recipeconsumes that token only whenconfirm_exportis explicitly true. It requiresedit,export, andfilesystemauthority.verify_mogrt_artifactchecks local file presence and the ZIP header only.
The studio tools extend this without widening authority:
preview_mogrt_batchandcreate_mogrt_batchprocess up to 20 JSON/CSV rows serially. The batch stops at a host failure and cannot roll back earlier compositions or exports.validate_mogrt_brand_kitvalidates a declared local kit before its preview.inspect_after_effects_template_sourcereturns source-comp dimensions, duration, fonts, layer kinds, and (on AE 16.1+) Essential Graphics controller names. Older hosts report this readback as unavailable.preview_mogrt_library_publish,publish_mogrt_to_library, andinspect_mogrt_librarymanage immutablev001,v002, … copies inside an existing local library root; publication fails instead of overwriting.inspect_after_effects_render_templates,preview_after_effects_render, andenqueue_after_effects_renderread template names and enqueue one approved output. They never start the render queue or claim an output file.preview_mogrt_premiere_handoffandapply_mogrt_premiere_handoffrequire an explicitMOGRT Verify - …sequence name and empty track, then verify the import and returned control descriptors in Premiere.
Install and host preparation
Install the dedicated connector—not the Premiere connector—and fully restart After Effects:
premiere-pro-mcp --install-after-effects-cep
Open Window > Extensions > MCP for Adobe After Effects, then start the
connector. It uses AFTER_EFFECTS_MCP_TEMP_DIR, defaulting to the OS temporary
directory plus after-effects-mcp-bridge. That is intentionally distinct from
PREMIERE_TEMP_DIR, so simultaneous Premiere and After Effects instances cannot
claim each other's commands.
Before calling the create tool, the operator must open a saved .aep project
that is itself inside approved_workspace_path; the planned output directory
must already exist inside that same root. The tool rejects unsaved projects,
projects outside the root, non-existent directories, outside paths, and an
existing output filename. It never creates or switches projects, creates output
directories, overwrites an existing MOGRT, or accepts arbitrary script text.
Verification boundary
After Effects reports that it accepted the export request, and the server then reports immediate local artifact status. A returned boolean or an existing ZIP file is not proof of controls, import behavior, rendering, or design. The Premiere handoff is stronger evidence—it rechecks the named empty sequence, observes inserted track items, and returns control descriptors—but it still is not a visual proof. The required completion evidence is:
- Verify the
.mogrtfile locally. - Import it into a disposable Premiere sequence.
- Inspect the exposed properties and capture a rendered review frame with the
existing
capture_frametool or a separate approved export workflow. - Only then treat the template as usable for delivery.
Automated tests cover the bridge isolation, schema bounds, workspace containment, one-time approval, and artifact-check contracts. They do not substitute for a licensed After Effects and Premiere host run.