cavi-adobe-mcp 0.1.0__tar.gz

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.
Files changed (41) hide show
  1. cavi_adobe_mcp-0.1.0/.gitignore +12 -0
  2. cavi_adobe_mcp-0.1.0/CHANGELOG.md +12 -0
  3. cavi_adobe_mcp-0.1.0/LICENSE +21 -0
  4. cavi_adobe_mcp-0.1.0/PKG-INFO +124 -0
  5. cavi_adobe_mcp-0.1.0/README.md +95 -0
  6. cavi_adobe_mcp-0.1.0/pyproject.toml +72 -0
  7. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/__init__.py +1 -0
  8. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/adobe_authoring.jsx +528 -0
  9. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/adobe_authoring.py +860 -0
  10. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/animate_authoring.jsfl +348 -0
  11. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/animate_authoring.py +659 -0
  12. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/animate_native.swift +219 -0
  13. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/animate_server.py +136 -0
  14. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/art_media.py +287 -0
  15. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/authoring_server.py +271 -0
  16. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/character_animator.py +1017 -0
  17. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/character_animator_server.py +304 -0
  18. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/character_bridge.py +142 -0
  19. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/character_media.py +175 -0
  20. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/character_native.swift +1125 -0
  21. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/config.py +24 -0
  22. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/contracts.py +9 -0
  23. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/dimension_authoring.py +512 -0
  24. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/dimension_native.swift +907 -0
  25. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/dimension_server.py +104 -0
  26. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/native.py +86 -0
  27. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/native_media.py +174 -0
  28. cavi_adobe_mcp-0.1.0/src/cavi_adobe_mcp/timeline_models.py +73 -0
  29. cavi_adobe_mcp-0.1.0/tests/native_recovery_server.py +37 -0
  30. cavi_adobe_mcp-0.1.0/tests/test_adobe_authoring.py +578 -0
  31. cavi_adobe_mcp-0.1.0/tests/test_adobe_drawing.py +51 -0
  32. cavi_adobe_mcp-0.1.0/tests/test_animate_authoring.py +365 -0
  33. cavi_adobe_mcp-0.1.0/tests/test_animate_timeline.py +27 -0
  34. cavi_adobe_mcp-0.1.0/tests/test_animate_timeline_native.py +64 -0
  35. cavi_adobe_mcp-0.1.0/tests/test_art_media.py +138 -0
  36. cavi_adobe_mcp-0.1.0/tests/test_character_animator.py +784 -0
  37. cavi_adobe_mcp-0.1.0/tests/test_character_media.py +145 -0
  38. cavi_adobe_mcp-0.1.0/tests/test_dimension_authoring.py +329 -0
  39. cavi_adobe_mcp-0.1.0/tests/test_native_helper.py +126 -0
  40. cavi_adobe_mcp-0.1.0/tests/test_native_recovery.py +60 -0
  41. cavi_adobe_mcp-0.1.0/tests/test_native_recovery_native.py +162 -0
@@ -0,0 +1,12 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.pyc
4
+ .ruff_cache/
5
+ dist/
6
+ build/
7
+ *.egg-info/
8
+ .tmp/
9
+ .worktrees/
10
+ .DS_Store
11
+ .adobe-authoring/
12
+ .animate-authoring/
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## 0.1.0 - 2026-11-04
6
+
7
+ ### Added
8
+
9
+ - Authoring server for Photoshop and Illustrator copies, new sRGB canvases, After Effects `aerender` jobs and FFmpeg review movies.
10
+ - Animate server for owned FLA documents, timeline edits and ordered frame exports.
11
+ - Character Animator server for native project state, owned copies, scene actions and PNG/WAV export intake.
12
+ - Dimension server for owned DN copies and native PNG renders.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sasan Sotoodehfar
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.
@@ -0,0 +1,124 @@
1
+ Metadata-Version: 2.5
2
+ Name: cavi-adobe-mcp
3
+ Version: 0.1.0
4
+ Summary: MCP servers for Adobe Photoshop, Illustrator, After Effects, Animate, Character Animator and Dimension
5
+ Project-URL: Homepage, https://github.com/cavi-ai/adobe-mcp#readme
6
+ Project-URL: Repository, https://github.com/cavi-ai/adobe-mcp
7
+ Project-URL: Issues, https://github.com/cavi-ai/adobe-mcp/issues
8
+ Project-URL: Changelog, https://github.com/cavi-ai/adobe-mcp/blob/main/CHANGELOG.md
9
+ Author: CAVI AI
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: after-effects,animate,character-animator,dimension,game-art,illustrator,mcp,mcp-server,model-context-protocol,photoshop
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: MacOS
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Multimedia :: Graphics
22
+ Requires-Python: >=3.11
23
+ Requires-Dist: anyio<5,>=4.5
24
+ Requires-Dist: cavi-mcp-core<0.2,>=0.1
25
+ Requires-Dist: mcp<3,>=2.3
26
+ Requires-Dist: pillow<14,>=13.0
27
+ Requires-Dist: pydantic<3,>=2.11
28
+ Description-Content-Type: text/markdown
29
+
30
+ # Cavi Adobe MCP
31
+
32
+ Local MCP servers for Adobe Photoshop, Illustrator, After Effects, Animate, Character
33
+ Animator and Dimension. Each server edits owned copies of documents inside one
34
+ workspace, records every native operation before it runs, and reports an uncertain
35
+ outcome as unknown instead of retrying it.
36
+
37
+ | Command | Server name | Applications |
38
+ |---|---|---|
39
+ | `cavi-adobe-authoring-mcp` | `cavi-adobe-authoring` | Photoshop, Illustrator, After Effects (`aerender`), FFmpeg review movies |
40
+ | `cavi-animate-mcp` | `cavi-animate-authoring` | Animate |
41
+ | `cavi-character-animator-mcp` | `cavi-character-animator-mcp` | Character Animator |
42
+ | `cavi-dimension-mcp` | `cavi-adobe-dimension` | Dimension |
43
+
44
+ Startup and tool discovery never launch an application. A tool reaches an application
45
+ only when it is called, and only an application that is already installed and licensed.
46
+
47
+ ## Requirements
48
+
49
+ - macOS, Python 3.11+ and [uv](https://docs.astral.sh/uv/).
50
+ - The Adobe applications you use, installed and signed in. No license or account is
51
+ supplied by these servers.
52
+ - Automation access for the MCP host to control the application (Photoshop,
53
+ Illustrator, Animate). The servers never request permissions; they report a denial.
54
+ - Animate and Character Animator also use a small native helper compiled on first use,
55
+ which needs the Swift command-line compiler (`xcode-select --install`) and existing
56
+ Accessibility access. Character Animator capture also needs Screen Recording access.
57
+ - `ffmpeg` on `PATH` for review movies.
58
+
59
+ ## Install
60
+
61
+ ```sh
62
+ uv tool install cavi-adobe-mcp
63
+ ```
64
+
65
+ Register the servers you need in your MCP client and set the workspace:
66
+
67
+ ```json
68
+ {
69
+ "mcpServers": {
70
+ "adobe-authoring": {
71
+ "command": "cavi-adobe-authoring-mcp",
72
+ "env": {"CAVI_ADOBE_WORKSPACE": "/Users/me/Art"}
73
+ }
74
+ }
75
+ }
76
+ ```
77
+
78
+ ## Configuration
79
+
80
+ | Variable | Meaning |
81
+ |---|---|
82
+ | `CAVI_ADOBE_WORKSPACE` | Absolute directory every tool path is relative to. Required. |
83
+ | `CAVI_ADOBE_DATA` | Private server state: native helper builds and Character Animator journals. Defaults to `~/.local/share/cavi-adobe-mcp`. |
84
+ | `CAVI_CHARACTER_ANIMATOR_APP` | The Character Animator application, when more than one is installed. |
85
+
86
+ Ownership records live inside the workspace (`.adobe-authoring/`, `.animate-authoring/`);
87
+ keep them private.
88
+
89
+ ## Tools
90
+
91
+ - Authoring: `adobe_status`, `adobe_inspect`, `adobe_open_copy`, `adobe_create_canvas`,
92
+ `adobe_edit_layers`, `adobe_add_group`, `adobe_place_image`, `adobe_add_rectangle`,
93
+ `adobe_add_path`, `adobe_add_text`, `adobe_apply_mask`, `adobe_fonts`, `adobe_export`,
94
+ `adobe_close_copy`, `adobe_operation_control`, `after_effects_render`,
95
+ `media_review_movie`.
96
+ - Animate: `animate_status`, `animate_inspect`, `animate_open_copy`,
97
+ `animate_create_from_png`, `animate_set_stage_size_from_source`, `animate_edit_timeline`,
98
+ `animate_export_frames`, `animate_close_copy`, `animate_operation_control`.
99
+ - Character Animator: `character_status`, `session_control`, `project_select`,
100
+ `project_save_copy`, `inspect`, `capture`, `scene_action`, `scene_export`,
101
+ `import_media`, `export_inspect`, `export_ingest`, `operation_control`.
102
+ - Dimension: `dimension_status`, `dimension_launch`, `dimension_inspect`,
103
+ `dimension_render_start`, `dimension_render_inspect`.
104
+
105
+ Every tool error returns one structured result (`code`, `outcome`, `next_action`) from
106
+ [`cavi-mcp-core`](https://github.com/cavi-ai/mcp-core). An `unknown` outcome means the
107
+ application may have changed: inspect it, or resolve the recorded operation with the
108
+ server's `operation_control` tool, before trying again.
109
+
110
+ ## Development
111
+
112
+ ```sh
113
+ uv sync --locked --dev
114
+ uv run --locked python -m unittest discover -s tests
115
+ uv run --locked ruff check .
116
+ ```
117
+
118
+ Tests that drive the real applications run only when their `CAVI_*_NATIVE` variable is
119
+ set; the rest use recorded responses and never launch an application.
120
+
121
+ ## License
122
+
123
+ MIT. Adobe, Photoshop, Illustrator, After Effects, Animate, Character Animator and
124
+ Dimension are trademarks of Adobe Inc.; this project is not affiliated with Adobe.
@@ -0,0 +1,95 @@
1
+ # Cavi Adobe MCP
2
+
3
+ Local MCP servers for Adobe Photoshop, Illustrator, After Effects, Animate, Character
4
+ Animator and Dimension. Each server edits owned copies of documents inside one
5
+ workspace, records every native operation before it runs, and reports an uncertain
6
+ outcome as unknown instead of retrying it.
7
+
8
+ | Command | Server name | Applications |
9
+ |---|---|---|
10
+ | `cavi-adobe-authoring-mcp` | `cavi-adobe-authoring` | Photoshop, Illustrator, After Effects (`aerender`), FFmpeg review movies |
11
+ | `cavi-animate-mcp` | `cavi-animate-authoring` | Animate |
12
+ | `cavi-character-animator-mcp` | `cavi-character-animator-mcp` | Character Animator |
13
+ | `cavi-dimension-mcp` | `cavi-adobe-dimension` | Dimension |
14
+
15
+ Startup and tool discovery never launch an application. A tool reaches an application
16
+ only when it is called, and only an application that is already installed and licensed.
17
+
18
+ ## Requirements
19
+
20
+ - macOS, Python 3.11+ and [uv](https://docs.astral.sh/uv/).
21
+ - The Adobe applications you use, installed and signed in. No license or account is
22
+ supplied by these servers.
23
+ - Automation access for the MCP host to control the application (Photoshop,
24
+ Illustrator, Animate). The servers never request permissions; they report a denial.
25
+ - Animate and Character Animator also use a small native helper compiled on first use,
26
+ which needs the Swift command-line compiler (`xcode-select --install`) and existing
27
+ Accessibility access. Character Animator capture also needs Screen Recording access.
28
+ - `ffmpeg` on `PATH` for review movies.
29
+
30
+ ## Install
31
+
32
+ ```sh
33
+ uv tool install cavi-adobe-mcp
34
+ ```
35
+
36
+ Register the servers you need in your MCP client and set the workspace:
37
+
38
+ ```json
39
+ {
40
+ "mcpServers": {
41
+ "adobe-authoring": {
42
+ "command": "cavi-adobe-authoring-mcp",
43
+ "env": {"CAVI_ADOBE_WORKSPACE": "/Users/me/Art"}
44
+ }
45
+ }
46
+ }
47
+ ```
48
+
49
+ ## Configuration
50
+
51
+ | Variable | Meaning |
52
+ |---|---|
53
+ | `CAVI_ADOBE_WORKSPACE` | Absolute directory every tool path is relative to. Required. |
54
+ | `CAVI_ADOBE_DATA` | Private server state: native helper builds and Character Animator journals. Defaults to `~/.local/share/cavi-adobe-mcp`. |
55
+ | `CAVI_CHARACTER_ANIMATOR_APP` | The Character Animator application, when more than one is installed. |
56
+
57
+ Ownership records live inside the workspace (`.adobe-authoring/`, `.animate-authoring/`);
58
+ keep them private.
59
+
60
+ ## Tools
61
+
62
+ - Authoring: `adobe_status`, `adobe_inspect`, `adobe_open_copy`, `adobe_create_canvas`,
63
+ `adobe_edit_layers`, `adobe_add_group`, `adobe_place_image`, `adobe_add_rectangle`,
64
+ `adobe_add_path`, `adobe_add_text`, `adobe_apply_mask`, `adobe_fonts`, `adobe_export`,
65
+ `adobe_close_copy`, `adobe_operation_control`, `after_effects_render`,
66
+ `media_review_movie`.
67
+ - Animate: `animate_status`, `animate_inspect`, `animate_open_copy`,
68
+ `animate_create_from_png`, `animate_set_stage_size_from_source`, `animate_edit_timeline`,
69
+ `animate_export_frames`, `animate_close_copy`, `animate_operation_control`.
70
+ - Character Animator: `character_status`, `session_control`, `project_select`,
71
+ `project_save_copy`, `inspect`, `capture`, `scene_action`, `scene_export`,
72
+ `import_media`, `export_inspect`, `export_ingest`, `operation_control`.
73
+ - Dimension: `dimension_status`, `dimension_launch`, `dimension_inspect`,
74
+ `dimension_render_start`, `dimension_render_inspect`.
75
+
76
+ Every tool error returns one structured result (`code`, `outcome`, `next_action`) from
77
+ [`cavi-mcp-core`](https://github.com/cavi-ai/mcp-core). An `unknown` outcome means the
78
+ application may have changed: inspect it, or resolve the recorded operation with the
79
+ server's `operation_control` tool, before trying again.
80
+
81
+ ## Development
82
+
83
+ ```sh
84
+ uv sync --locked --dev
85
+ uv run --locked python -m unittest discover -s tests
86
+ uv run --locked ruff check .
87
+ ```
88
+
89
+ Tests that drive the real applications run only when their `CAVI_*_NATIVE` variable is
90
+ set; the rest use recorded responses and never launch an application.
91
+
92
+ ## License
93
+
94
+ MIT. Adobe, Photoshop, Illustrator, After Effects, Animate, Character Animator and
95
+ Dimension are trademarks of Adobe Inc.; this project is not affiliated with Adobe.
@@ -0,0 +1,72 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "cavi-adobe-mcp"
7
+ version = "0.1.0"
8
+ description = "MCP servers for Adobe Photoshop, Illustrator, After Effects, Animate, Character Animator and Dimension"
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ license-files = ["LICENSE"]
12
+ authors = [{ name = "CAVI AI" }]
13
+ keywords = [
14
+ "mcp",
15
+ "model-context-protocol",
16
+ "mcp-server",
17
+ "photoshop",
18
+ "illustrator",
19
+ "after-effects",
20
+ "animate",
21
+ "character-animator",
22
+ "dimension",
23
+ "game-art",
24
+ ]
25
+ classifiers = [
26
+ "Development Status :: 3 - Alpha",
27
+ "Environment :: Console",
28
+ "Intended Audience :: Developers",
29
+ "Operating System :: MacOS",
30
+ "Programming Language :: Python :: 3",
31
+ "Programming Language :: Python :: 3.11",
32
+ "Programming Language :: Python :: 3.12",
33
+ "Programming Language :: Python :: 3.13",
34
+ "Topic :: Multimedia :: Graphics",
35
+ ]
36
+ requires-python = ">=3.11"
37
+ dependencies = [
38
+ "anyio>=4.5,<5",
39
+ "cavi-mcp-core>=0.1,<0.2",
40
+ "mcp>=2.3,<3",
41
+ "pillow>=13.0,<14",
42
+ "pydantic>=2.11,<3",
43
+ ]
44
+
45
+ [project.urls]
46
+ Homepage = "https://github.com/cavi-ai/adobe-mcp#readme"
47
+ Repository = "https://github.com/cavi-ai/adobe-mcp"
48
+ Issues = "https://github.com/cavi-ai/adobe-mcp/issues"
49
+ Changelog = "https://github.com/cavi-ai/adobe-mcp/blob/main/CHANGELOG.md"
50
+
51
+ [project.scripts]
52
+ cavi-adobe-authoring-mcp = "cavi_adobe_mcp.authoring_server:main"
53
+ cavi-animate-mcp = "cavi_adobe_mcp.animate_server:main"
54
+ cavi-character-animator-mcp = "cavi_adobe_mcp.character_animator_server:main"
55
+ cavi-dimension-mcp = "cavi_adobe_mcp.dimension_server:main"
56
+
57
+ # Until cavi-mcp-core is on PyPI, uv resolves it from its public repository.
58
+ [tool.uv.sources]
59
+ cavi-mcp-core = { git = "https://github.com/cavi-ai/mcp-core.git", rev = "76f427f6c6f2ca0dc12faaebd53063930ff67b51" }
60
+
61
+ [dependency-groups]
62
+ dev = ["numpy>=2.0,<3", "pypng>=0.20220715.0,<1", "ruff>=0.14,<1"]
63
+
64
+ [tool.hatch.build.targets.wheel]
65
+ packages = ["src/cavi_adobe_mcp"]
66
+
67
+ [tool.hatch.build.targets.sdist]
68
+ include = ["/src", "/tests", "/README.md", "/LICENSE", "/CHANGELOG.md", "/pyproject.toml"]
69
+
70
+ [tool.ruff]
71
+ line-length = 100
72
+ target-version = "py311"
@@ -0,0 +1 @@
1
+ """MCP servers for Adobe Photoshop, Illustrator, After Effects, Animate, Character Animator and Dimension."""