Cavalry MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cavalry_pingA | Check if Cavalry is running and the Stallion bridge is reachable |
| cavalry_run_scriptA | Execute arbitrary JavaScript in Cavalry's JavaScript Editor. Use Cavalry's api, cavalry, and ui namespaces. This is the most flexible tool — use it when no specialized tool fits. |
| cavalry_create_layerA | Create a new layer in the Cavalry scene. Common layer types: basicShape, textShape, null, colorPlane, ellipse, rectangle, group, subMesh, linearGradient, cameraRig, pathfinder, duplicator, connectShape, noiseDeformer, meshDeformer, stagger, trail, spreadsheet, csvAsset, soundAsset, imageAsset, videoAsset, javaScriptUtility, javaScriptShape. |
| cavalry_set_attributeA | Set one or more attributes on a Cavalry layer. Attributes use dot-notation paths, e.g. "position.x", "fontSize", "fill.color". |
| cavalry_get_attributeA | Read the value of an attribute from a Cavalry layer. |
| cavalry_connectA | Connect an output attribute to an input attribute between layers. Use "id" as the outAttr to connect a layer's main output. |
| cavalry_keyframeB | Set a keyframe on a layer attribute at a specific frame. |
| cavalry_magic_easingA | Apply Magic Easing to a keyframed attribute. Easing types include: EaseIn, EaseOut, EaseInOut, BounceIn, BounceOut, BounceInOut, ElasticIn, ElasticOut, ElasticInOut, BackIn, BackOut, BackInOut, Linear. |
| cavalry_get_scene_layersA | Get a list of all layers in the current Cavalry scene with their IDs and types. |
| cavalry_get_selected_layersA | Get the currently selected layers in Cavalry. |
| cavalry_select_layersB | Select specific layers in Cavalry by their IDs. |
| cavalry_delete_layersA | Delete layers from the Cavalry scene by their IDs. |
| cavalry_get_composition_infoA | Get information about the active composition (resolution, frame range, FPS). |
| cavalry_set_current_frameA | Set the playhead to a specific frame in the timeline. |
| cavalry_render_pngA | Render the current frame as a PNG file. |
| cavalry_set_generatorA | Set a generator on a layer. For example, set a Basic Shape to use an ellipse or rectangle generator. Use api.getGenerators(layerId) to discover available generators. |
| cavalry_duplicate_layerB | Duplicate a layer in the scene. |
| cavalry_get_bounding_boxA | Get the bounding box of a layer (useful for positioning). |
| cavalry_save_sceneA | Save the current Cavalry scene. Optionally save to a new path. |
| cavalry_open_sceneB | Open a Cavalry scene file (.cv). |
| cavalry_add_dynamic_attributeA | Add a dynamic attribute to a layer (e.g., on a JavaScript Utility). Types: "int", "double", "bool", "string", "color", "int2d", "double2d", "position2d". |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/kacperchlebowicz/Cavalry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server