apply-effect
Apply effects to specific layers in After Effects compositions by specifying layer index, effect name or match name, and optional settings. Works with the mcp-after-effects server for streamlined automation.
Instructions
Apply an effect to a layer in After Effects
Input Schema
Name | Required | Description | Default |
---|---|---|---|
compIndex | Yes | 1-based index of the target composition in the project panel. | |
effectCategory | No | Optional category for filtering effects. | |
effectMatchName | No | After Effects internal name for the effect (more reliable, e.g., 'ADBE Gaussian Blur 2'). | |
effectName | No | Display name of the effect to apply (e.g., 'Gaussian Blur'). | |
effectSettings | No | Optional parameters for the effect (e.g., { 'Blurriness': 25 }). | |
layerIndex | Yes | 1-based index of the target layer within the composition. | |
presetPath | No | Optional path to an effect preset file (.ffx). |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"compIndex": {
"description": "1-based index of the target composition in the project panel.",
"exclusiveMinimum": 0,
"type": "integer"
},
"effectCategory": {
"description": "Optional category for filtering effects.",
"type": "string"
},
"effectMatchName": {
"description": "After Effects internal name for the effect (more reliable, e.g., 'ADBE Gaussian Blur 2').",
"type": "string"
},
"effectName": {
"description": "Display name of the effect to apply (e.g., 'Gaussian Blur').",
"type": "string"
},
"effectSettings": {
"additionalProperties": {},
"description": "Optional parameters for the effect (e.g., { 'Blurriness': 25 }).",
"type": "object"
},
"layerIndex": {
"description": "1-based index of the target layer within the composition.",
"exclusiveMinimum": 0,
"type": "integer"
},
"presetPath": {
"description": "Optional path to an effect preset file (.ffx).",
"type": "string"
}
},
"required": [
"compIndex",
"layerIndex"
],
"type": "object"
}