ae-mcp
ae-mcp
Adobe After Effects用の高度なMCPサーバー。アシスタントにエディタのツールキットを提供します。プロジェクトの読み取り、レイヤーの作成とリグ、実際の速度カーブを使ったキーフレーム設定、テキストのアニメーション、ベクターシェイプの構築、エフェクトとエクスプレッションの適用、ネイティブメニューの操作、そして結果の確認を、会話に直接返されるスナップショットを通じて行えます。
アーキテクチャ
Assistant (MCP)
│ stdio
┌─────▼──────────────────────────────┐
│ ae-mcp server (Node/TypeScript) │ easing, SVG, presets, schemas
└─────┬──────────────────────────────┘
│ 1. HTTP 127.0.0.1:9782 (CEP transport, primary)
│ 2. watched JSON files (ScriptUI transport, fallback)
┌─────▼──────────────────────────────┐
│ bridge inside After Effects │ CEP panel or ScriptUI panel
└─────┬──────────────────────────────┘
│ $.evalFile + AEMCP.runFile()
┌─────▼──────────────────────────────┐
│ ExtendScript kernel (AEMCP) │ ~4,000 lines, 60+ commands
└────────────────────────────────────┘3つの原則:
重い処理はNode側に置く。 SVG変換、イージング計算、アニメーションプリセットはすべてサーバー側で準備し、ExtendScriptカーネルは実行するだけ。
やり取りはファイル経由で行う。 リクエストとレスポンスはJSONとしてディスク上を移動し、
evalScriptのエスケープやサイズ制限を回避。HTTPは実行をトリガーするだけ。すべてがアトミックである。 各リクエスト(50操作のバッチでも)は単一のUndoグループ内で実行され、
Ctrl+Z1回で全部元に戻せます。
ブリッジ認証トークン
CEPパネルのHTTPサーバーは127.0.0.1で待ち受け、After Effects内のコマンド(任意のExtendScriptを実行するae_evalを含む)をトリガーします。AE実行中にブラウザで開いているWebページが、単純なfetch()でブリッジを操作するのを防ぐため、パネルは初回起動時にランダムなトークンを生成し、Documents/ae-mcp/bridge/token.txtに保存して、bridge.json(tokenフィールド)にも再公開します。すべてのPOST /runまたはPOST /reloadにはX-AE-MCP-Tokenヘッダーが必要で、ない場合はサーバーは401を返します。MCPクライアント(src/bridge/client.ts)はbridge.jsonからトークンを読み取り、自動的に送信するため、手動設定は不要です。トークンはtoken.txtが存在する限り保持され、削除すると次回パネル起動時に再生成されます。
フォールバックのファイルトランスポート(req//res/)にはトークンがありません。ユーザーのDocumentsフォルダのOS権限に依存しており、別アカウントからのアクセスはすでにブロックされています。
Related MCP server: After Effects MCP Server
インストール
npm install
npm run build
npm run install-bridge # installs the CEP extension + ScriptUI panel + kernel次に、After Effectsで:
CEPトランスポート(推奨) — After Effectsを再起動します。ブリッジは自動的に起動し、ウィンドウは表示されません。
Window > Extensions > AE MCP Bridgeでステータス、ポート、ログが表示されます。ScriptUIトランスポート(再起動不要) —
File > Scripts > Run Script File…を選択し、Documents/ae-mcp/AE MCP Bridge.jsxを選びます。パネルはすぐにポーリングを開始します。
MCPクライアントにサーバーを登録します:
claude mcp add ae-mcp -- node "/path/to/ae-mcp/build/index.js"
npm run install-bridgeは、検出されたAfter EffectsインストールのScripts/ScriptUI Panelsにもパネルをコピーし、ドッキング可能にします。そのコピーはProgram Files配下に置かれるため、管理者権限が必要です。失敗しても他には影響しません。
ツール
ツール | 役割 |
| ブリッジの状態、AEバージョン、プロジェクト、コンポ |
| ドキュメント: プロパティパス、matchName、イージング、シェイプ、アニメーター |
| インベントリ、インポート(画像、動画、PSD/AIをコンポとして)、フォルダ、保存 |
| 作成、読み取り、調整、複製、プリコンポーズ、マーカー |
| すべてのレイヤータイプ、すべての属性、詳細な読み取り |
| パスによる任意のプロパティの読み書き、エクスプレッション |
| 名前付きカーブ、相対値、ホールド、オフセット付きキーフレーム |
| テキストの内容と書式、テキストアニメーター、フォント |
| ネイティブベクターツリー、ベジェパス、SVG変換 |
| エフェクトの検索、適用、調整、アニメーション |
| 矩形/楕円/ベジェマスク、モード、フェザー |
| 既製のアニメーションプリセット、スタッガーシーケンス |
| コントロール、エクスプレッションリンク、整列、ペアレント化、Essential Graphics |
| 会話に返されるスナップショット、レンダーキュー |
| ネイティブメニューコマンド、プレイヘッド、選択 |
| すべてのカーネルコマンドへの生アクセス、参照付きバッチ |
| 任意のExtendScript(最終手段) |
他との違い
実際の速度カーブ。 ease: "expo.out"は単なるイージーイーズではなく、ベジェカーブを各次元の影響と速度に変換し、セグメントの平均速度から計算します。グラフエディタを手動で調整するのとまったく同じです。
相対値。 slideInはmode: "offset"を使用します。アニメーションはレイヤーの既存の位置を上書きせず、その上に構築されます。スケールでもmode: "multiply"で同じ考え方です。
SVGが本物のシェイプに。 ae_shape action=svgはpath、rect、circle、ellipse、line、polyline、polygon、グループとそのトランスフォームを、塗り、ストローク、破線、ベジェ近似の円弧を持つネイティブで編集可能なシェイプレイヤーに変換します。
視覚的なフィードバックループ。 ae_render action=snapshotはコンポをレンダリングし、画像を直接返します。アシスタントは出力をリファレンスと比較して修正できるため、手探りで作業する必要がありません。
参照付きアトミックバッチ。 シーン全体を1回のラウンドトリップで構築でき、各ステップは{{0.index}}や{{prev.id}}で前のステップの結果を再利用できます。
開発
npm run build # kernel + TypeScript
npm run build:kernel # kernel only (also checks its syntax)
node scripts/ae.mjs status # bridge status
node scripts/ae.mjs layer.list '{"comp":"My Comp"}'
node scripts/selftest.mjs # full validation against AE
node scripts/selftest.mjs --keep --only=shape # subset, keeps the compカーネルはhost/kernel/のモジュールに分割され、scripts/build-kernel.mjsによってhost/aemcp-kernel.jsxに連結されます。ES3互換である必要があります: let/const、Array.prototype.map、ネイティブJSON(プレリュードにポリフィルが用意されています)は使用できません。
フォルダ | 内容 |
| MCPサーバー: ツール、トランスポート、イージング、SVG、プリセット |
| ExtendScriptカーネルソース |
| CEP拡張機能(HTTPパネル) |
| ScriptUIパネル(フォールバックブリッジ) |
| ビルド、インストール、診断CLI、テスト |
トラブルシューティング
症状 | 考えられる原因 |
| パネルが開いていない、またはAEが閉じている。 |
CEPパネルがメニューにない |
|
| カーネル変更後に |
ファイル書き込みが拒否される | 環境設定 > スクリプトとエクスプレッション > スクリプトによるファイル書き込みを許可。 |
エフェクト名が見つからない | AEのUIが英語でない: 代わりに |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to control Adobe After Effects for composition, layer, effect, preset, marker, and audio automation through a bridge panel.3066514MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to control Adobe After Effects through the MCP protocol, including composition creation, layer management, and animation.13665MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to control Adobe After Effects through a standardized MCP protocol, providing tools for composition creation, layer management, and animation.
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to control Adobe After Effects for project inspection, composition creation, and layer manipulation via a hardened bridge panel.
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
Create and manage cinematic AI video renders through the Future Video Studio Agent API.
Make videos and docs with your AI agent — describe what you need, every output stays editable.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/maximejacquart/ae-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server