@lottiefiles/creator-mcp 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +13 -8
- package/dist/index.mjs +1 -1
- package/package.json +2 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LottieFiles
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@lottiefiles/creator-mcp)
|
|
4
4
|
|
|
5
|
-
Let AI control [LottieFiles Creator](https://creator.lottiefiles.com) —
|
|
6
|
-
Lottie animations through natural language.
|
|
5
|
+
Let AI control [LottieFiles Creator](https://creator.lottiefiles.com?utm_source=npm) —
|
|
6
|
+
build and edit Lottie animations through natural language.
|
|
7
7
|
|
|
8
8
|
<!-- TODO: Add demo GIF showing AI assistant controlling Creator -->
|
|
9
9
|
|
|
@@ -14,8 +14,9 @@ Lottie animations through natural language.
|
|
|
14
14
|
## What It Does
|
|
15
15
|
|
|
16
16
|
This MCP server connects AI assistants like Claude, Cursor, and Windsurf to the
|
|
17
|
-
[LottieFiles Creator](https://creator.lottiefiles.com) animation editor.
|
|
18
|
-
access to the Creator API — it can read, modify, and create animations
|
|
17
|
+
[LottieFiles Creator](https://creator.lottiefiles.com?utm_source=npm) animation editor.
|
|
18
|
+
Your AI gets full access to the Creator API — it can read, modify, and create animations
|
|
19
|
+
on your behalf.
|
|
19
20
|
|
|
20
21
|
- **Read & modify animation properties** — colors, transforms, opacity, timing
|
|
21
22
|
- **Create shapes, layers, and keyframes** programmatically
|
|
@@ -24,17 +25,21 @@ access to the Creator API — it can read, modify, and create animations on your
|
|
|
24
25
|
|
|
25
26
|
## Getting Started
|
|
26
27
|
|
|
28
|
+
Follow the
|
|
29
|
+
[Creator MCP tutorial](https://docs.lottiefiles.com/en/creator/13_ai-tools/lottie-creator-mcp)
|
|
30
|
+
for comprehensive installation and user guides.
|
|
31
|
+
|
|
27
32
|
### Prerequisites
|
|
28
33
|
|
|
29
34
|
- **Node.js** 18 or later
|
|
30
35
|
- **LottieFiles Creator** open in your browser at
|
|
31
|
-
[creator.lottiefiles.com](https://creator.lottiefiles.com)
|
|
36
|
+
[creator.lottiefiles.com](https://creator.lottiefiles.com?utm_source=npm)
|
|
37
|
+
- An MCP-compatible AI assistant
|
|
32
38
|
|
|
33
39
|
### Install
|
|
34
40
|
|
|
35
41
|
[](https://vscode.dev/redirect/mcp/install?name=%40lottiefiles%2Fcreator-mcp&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40lottiefiles%2Fcreator-mcp%22%5D%7D)
|
|
36
42
|
[](https://insiders.vscode.dev/redirect/mcp/install?name=%40lottiefiles%2Fcreator-mcp&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40lottiefiles%2Fcreator-mcp%22%5D%7D&quality=insiders)
|
|
37
|
-
[](https://cursor.com/install-mcp?name=lottiefiles-creator&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBsb3R0aWVmaWxlcy9jcmVhdG9yLW1jcCJdfQ==)
|
|
38
43
|
|
|
39
44
|
Add the following config to your MCP client:
|
|
40
45
|
|
|
@@ -148,7 +153,7 @@ gh copilot mcp add lottiefiles-creator -- npx -y @lottiefiles/creator-mcp@latest
|
|
|
148
153
|
<details>
|
|
149
154
|
<summary><strong>Cursor</strong></summary>
|
|
150
155
|
|
|
151
|
-
|
|
156
|
+
Use the config above.
|
|
152
157
|
|
|
153
158
|
</details>
|
|
154
159
|
|
|
@@ -244,7 +249,7 @@ If using `.vscode/mcp.json`, use:
|
|
|
244
249
|
|
|
245
250
|
### Your first prompt
|
|
246
251
|
|
|
247
|
-
1. Open [LottieFiles Creator](https://creator.lottiefiles.com).
|
|
252
|
+
1. Open [LottieFiles Creator](https://creator.lottiefiles.com?utm_source=npm).
|
|
248
253
|
2. Enable MCP in Creator.
|
|
249
254
|
3. Keep that tab open while using your AI assistant.
|
|
250
255
|
|
package/dist/index.mjs
CHANGED
|
@@ -41,7 +41,7 @@ const GET_RULES_TOOL_NAME = "get_rules";
|
|
|
41
41
|
/** Canonical tool description for the get_rules MCP tool. */
|
|
42
42
|
const GET_RULES_TOOL_DESCRIPTION = "Get the rules and conventions for writing Creator scripts. YOU MUST call this tool before writing scripts to avoid common pitfalls like incorrect layer ordering.";
|
|
43
43
|
/** Canonical MCP setup guide URL. */
|
|
44
|
-
const MCP_GUIDE_URL = "https://
|
|
44
|
+
const MCP_GUIDE_URL = "https://lottie.link/mcp-guide";
|
|
45
45
|
/** Message returned when a script produces no console output. */
|
|
46
46
|
const NO_RETURN_VALUE_MESSAGE = "(Script executed successfully, no console output)";
|
|
47
47
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lottiefiles/creator-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "MCP server for LottieFiles Creator",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org",
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/LottieFiles/creator.git"
|
|
14
|
-
},
|
|
15
11
|
"bin": {
|
|
16
12
|
"creator-mcp": "dist/index.mjs"
|
|
17
13
|
},
|