@pinepaper.studio/mcp-server 1.6.2 → 1.6.4
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/README.de.md +1 -1
- package/README.es.md +1 -1
- package/README.fr.md +1 -1
- package/README.hi.md +1 -1
- package/README.ja.md +1 -1
- package/README.ko.md +1 -1
- package/README.md +45 -8
- package/README.pt-BR.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +561 -7
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/handlers.d.ts.map +1 -1
- package/dist/tools/handlers.js +73 -2
- package/dist/tools/handlers.js.map +1 -1
- package/dist/tools/minimal-descriptions.d.ts.map +1 -1
- package/dist/tools/minimal-descriptions.js +21 -3
- package/dist/tools/minimal-descriptions.js.map +1 -1
- package/dist/tools/toolkits.d.ts.map +1 -1
- package/dist/tools/toolkits.js +25 -0
- package/dist/tools/toolkits.js.map +1 -1
- package/dist/types/code-generator.d.ts +51 -2
- package/dist/types/code-generator.d.ts.map +1 -1
- package/dist/types/code-generator.js +775 -37
- package/dist/types/code-generator.js.map +1 -1
- package/dist/types/schemas.d.ts +2688 -119
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +357 -8
- package/dist/types/schemas.js.map +1 -1
- package/manifest.json +65 -9
- package/package.json +4 -4
package/README.de.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
Der PinePaper MCP-Server lässt KI-Assistenten über das Model Context Protocol Grafiken in [PinePaper Studio](https://pinepaper.studio) erstellen und animieren. Funktioniert mit jeder KI, die MCP-Tool-Aufrufe unterstützt (Claude, GPT, Gemini, lokale Modelle usw.).
|
|
16
16
|
|
|
17
|
-
Der Server bietet **
|
|
17
|
+
Der Server bietet **135 Tools**: Zeichnen, Animation, Diagramme, Karten, Typografie, Physik, Bildbearbeitung, Datenvisualisierung und Export:
|
|
18
18
|
|
|
19
19
|
- Text, Formen, Geometrie und komplexe Grafiken erstellen
|
|
20
20
|
- Mit deklarativen **Relationen** animieren statt mit Keyframes
|
package/README.es.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
El servidor MCP de PinePaper permite a los asistentes de IA crear y animar gráficos en [PinePaper Studio](https://pinepaper.studio) a través del Model Context Protocol. Funciona con cualquier IA que soporte llamadas a herramientas MCP (Claude, GPT, Gemini, modelos locales, etc.).
|
|
16
16
|
|
|
17
|
-
Expone **
|
|
17
|
+
Expone **135 herramientas**: dibujo, animación, diagramas, mapas, tipografía, física, edición de imágenes, visualización de datos y exportación:
|
|
18
18
|
|
|
19
19
|
- Crear texto, formas, geometría y gráficos complejos
|
|
20
20
|
- Animar con **relaciones** declarativas en lugar de fotogramas clave
|
package/README.fr.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
Le serveur MCP PinePaper permet aux assistants IA de créer et d'animer des graphiques dans [PinePaper Studio](https://pinepaper.studio) via le Model Context Protocol. Compatible avec toute IA gérant les appels d'outils MCP (Claude, GPT, Gemini, modèles locaux, etc.).
|
|
16
16
|
|
|
17
|
-
Il expose **
|
|
17
|
+
Il expose **135 outils** : dessin, animation, diagrammes, cartes, typographie, physique, retouche d'image, visualisation de données et export :
|
|
18
18
|
|
|
19
19
|
- Créer du texte, des formes, de la géométrie et des graphiques complexes
|
|
20
20
|
- Animer avec des **relations** déclaratives plutôt que des images clés
|
package/README.hi.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
PinePaper MCP सर्वर AI असिस्टेंट्स को Model Context Protocol के ज़रिए [PinePaper Studio](https://pinepaper.studio) में ग्राफ़िक्स बनाने और एनिमेट करने देता है। MCP टूल कॉलिंग वाले किसी भी AI (Claude, GPT, Gemini, लोकल मॉडल आदि) के साथ काम करता है।
|
|
16
16
|
|
|
17
|
-
सर्वर **
|
|
17
|
+
सर्वर **135 टूल** देता है — ड्रॉइंग, एनिमेशन, डायग्राम, नक्शे, टाइपोग्राफ़ी, फिज़िक्स, इमेज एडिटिंग, डेटा विज़ुअलाइज़ेशन और एक्सपोर्ट:
|
|
18
18
|
|
|
19
19
|
- टेक्स्ट, आकृतियाँ, ज्यामिति और जटिल ग्राफ़िक्स बनाना
|
|
20
20
|
- कीफ़्रेम की जगह व्यवहार बताने वाले **रिलेशन** से एनिमेशन
|
package/README.ja.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
PinePaper MCP サーバーは、MCP 経由で AI アシスタントが [PinePaper Studio](https://pinepaper.studio) 上にグラフィックを作成・アニメーションさせるためのサーバーです。MCP ツールコールに対応した AI(Claude、GPT、Gemini、ローカルモデルなど)で動作します。
|
|
16
16
|
|
|
17
|
-
**
|
|
17
|
+
**135 個のツール**を提供 — 描画・アニメーション・図・地図・タイポグラフィ・物理・画像編集・データ可視化・エクスポート:
|
|
18
18
|
|
|
19
19
|
- テキスト、図形、ジオメトリ、複雑なグラフィックの作成
|
|
20
20
|
- キーフレームではなく、ふるまいを宣言する**リレーション**でアニメーション
|
package/README.ko.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
PinePaper MCP 서버는 AI 어시스턴트가 MCP를 통해 [PinePaper Studio](https://pinepaper.studio)에서 그래픽을 만들고 애니메이션하게 해줍니다. MCP 툴 콜을 지원하는 모든 AI(Claude, GPT, Gemini, 로컬 모델 등)와 호환됩니다.
|
|
16
16
|
|
|
17
|
-
**
|
|
17
|
+
**135개의 툴** 제공 — 드로잉, 애니메이션, 다이어그램, 지도, 타이포그래피, 물리, 이미지 편집, 데이터 시각화, 내보내기:
|
|
18
18
|
|
|
19
19
|
- 텍스트·도형·기하·복잡한 그래픽 생성
|
|
20
20
|
- 키프레임 대신 행동을 선언하는 **릴레이션**으로 애니메이션
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
PinePaper MCP Server enables AI assistants to create and animate graphics in [PinePaper Studio](https://pinepaper.studio) via the Model Context Protocol (MCP). Works with any AI that supports MCP tool calling (Claude, GPT, Gemini, local models, etc.).
|
|
19
19
|
|
|
20
|
-
The server exposes **
|
|
20
|
+
The server exposes **135 tools** across drawing, animation, diagrams, maps, typography, physics, image editing, data visualization, and export. Using natural language, you can:
|
|
21
21
|
|
|
22
22
|
- Create text, shapes, geometry, and complex graphics
|
|
23
23
|
- Animate items with behavior-driven **relations** rather than keyframes
|
|
@@ -144,19 +144,40 @@ app.animate(sq, { animationType: 'rotate' });
|
|
|
144
144
|
|
|
145
145
|
The same code an agent generates is the code you can paste — the canvas is yours either way, undo included.
|
|
146
146
|
|
|
147
|
-
## What's new in 1.6.
|
|
147
|
+
## What's new in 1.6.4
|
|
148
|
+
|
|
149
|
+
Fourteen new tools (121 → 135) and new actions across the surface — the release that catches the agent surface up with the engine.
|
|
150
|
+
|
|
151
|
+
**3D worlds.** `pinepaper_world3d` — a real depth-buffered 3D world under the canvas: terrain presets (`forest`, `snowMountain`, `field`, `jungle`), sun shadows, an addressable actor stage and a directed camera (`follow`/`fixed`/`orbit`). `add_actor` with `live: true` puts a rigged canvas character INTO the world, performing — walk cycle, expressions and all. `describe` returns the engine's own parameter schema, so the docs cannot drift.
|
|
152
|
+
|
|
153
|
+
**Motion capture & characters.** `pinepaper_rigging` gains `import_bvh` (CMU/Mixamo mocap → a new rig, stick figure included), `retarget_bvh` (drive an *existing* rig by bone name — the result reports matched/unmatched bones) and `import_spine` (Spine JSON). New `pinepaper_import_layered_character` lands a layer-decomposed illustration as role-bound parts — blink and smile work with zero wiring (check `rolesWired` in the result).
|
|
154
|
+
|
|
155
|
+
**Video editing.** `pinepaper_media` gains `set_time_remap` (speed ramps, freeze frames, reverse), `speed_ramp`, `match_cut` (subject-aligned cuts via on-device detection), `apply_track_matte` (a headline filled with footage; `live: true` tracks an animating matte) and `stop_live_matte`.
|
|
156
|
+
|
|
157
|
+
**Design systems.** `pinepaper_brand_kit` (plan with WCAG contrast audit, then apply), `pinepaper_component` (master/instance with overrides that survive master updates), `pinepaper_artboard` (retarget a finished design to a new format), `pinepaper_comment`, `pinepaper_provenance`, `pinepaper_scene_diff` — plus `pinepaper_transform` `fit` (contain/cover).
|
|
158
|
+
|
|
159
|
+
**Typography & imagery.** `pinepaper_text_style` (stacked-layer display titles + variable-font weight/width/slant as animatable properties), `pinepaper_shatter_image` (raster → tile grid, inert until animated), `pinepaper_compose` (the collage patterns), and `pinepaper_image_filter` now documents the full GPU registry — grain, scanlines, duotone, bloom, halation, lightShafts, paletteMap, and the second-input set (displace, refract, trackMatte, datamosh) — plus `analyze_palette`/`recolor_palette` (read an image's palette, recolor another to match, shading preserved).
|
|
160
|
+
|
|
161
|
+
**Games & data.** `pinepaper_game` (deterministic A* pathfinding that feeds `moves_along_path`, tilemaps with merged collision rects), `pinepaper_audio_beats` (beat detection → `animate_to_beat`), `pinepaper_template_params`, and Figma import via `pinepaper_import_asset`.
|
|
162
|
+
|
|
163
|
+
**Agent economics.** `pinepaper_agent_export` gains `estimateOnly` — preflight an export's size without rendering it; GIF exports are capped at 15s with a clear message instead of an OOM.
|
|
164
|
+
|
|
165
|
+
<details>
|
|
166
|
+
<summary>What's new in 1.6.0</summary>
|
|
148
167
|
|
|
149
168
|
- **Image editing tools**: `pinepaper_crop_image` (one-shot crop, keeps the item's id and relations) and `pinepaper_chroma_key` (green-screen background removal with auto-estimated thresholds)
|
|
150
169
|
- **`pinepaper_media` gains `set_clip`** — re-trim an already-uploaded video/audio clip
|
|
151
170
|
- **Shader auras** in `pinepaper_apply_effect`: `heatmap`, `liquid_metal`, `gem_smoke` (WebGL2, silhouette-clipped)
|
|
152
|
-
- **`pinepaper_image_filter` fixed and expanded** —
|
|
171
|
+
- **`pinepaper_image_filter` fixed and expanded** — routed to the real GPU filter engine
|
|
153
172
|
- **README as an MCP resource** — clients can read `pinepaper://docs/readme` (and per-language variants) without leaving the protocol
|
|
154
173
|
- This README, in 9 languages, with live animated examples
|
|
155
174
|
|
|
175
|
+
</details>
|
|
176
|
+
|
|
156
177
|
|
|
157
178
|
## Toolkits & Token Budget
|
|
158
179
|
|
|
159
|
-
|
|
180
|
+
135 tools is a lot of context. The server ships a **toolkit** system that serves only the tools a given client needs, plus a **verbosity** system that controls how long each tool description is.
|
|
160
181
|
|
|
161
182
|
**Toolkit profiles** (`PINEPAPER_TOOLKIT`):
|
|
162
183
|
|
|
@@ -361,7 +382,7 @@ Generate instruction/code pairs for LLM fine-tuning:
|
|
|
361
382
|
|
|
362
383
|
## Tools Reference
|
|
363
384
|
|
|
364
|
-
All
|
|
385
|
+
All 135 tools, grouped by the tag used for toolkit filtering.
|
|
365
386
|
|
|
366
387
|
### Canvas (`canvas`)
|
|
367
388
|
| Tool | Description |
|
|
@@ -460,13 +481,25 @@ All 121 tools, grouped by the tag used for toolkit filtering.
|
|
|
460
481
|
| Tool | Description |
|
|
461
482
|
|------|-------------|
|
|
462
483
|
| `pinepaper_selection` | Selection management |
|
|
463
|
-
| `pinepaper_transform` | Transform items |
|
|
484
|
+
| `pinepaper_transform` | Transform items — fit to frame, nudge, flip, reorder |
|
|
464
485
|
| `pinepaper_history` | Undo / redo |
|
|
486
|
+
| `pinepaper_compose` | Arrange items into a named collage pattern and film it |
|
|
487
|
+
| `pinepaper_brand_kit` | Apply brand colours / fonts by role, with a contrast audit |
|
|
488
|
+
| `pinepaper_component` | Reusable master + instances, with per-instance overrides |
|
|
489
|
+
| `pinepaper_artboard` | Resize the artboard; per-item reflow constraints |
|
|
490
|
+
| `pinepaper_comment` | Notes pinned to an item, a point and/or a moment |
|
|
491
|
+
| `pinepaper_provenance` | Where an item came from; what depends on it |
|
|
492
|
+
| `pinepaper_scene_diff` | What changed between two scene states |
|
|
493
|
+
| `pinepaper_audio_beats` | Detect beats; bake an item's animation onto them |
|
|
494
|
+
| `pinepaper_template_params` | Templates with typed, coerced inputs |
|
|
465
495
|
|
|
466
496
|
### Image Processing (`image_processing`)
|
|
467
497
|
| Tool | Description |
|
|
468
498
|
|------|-------------|
|
|
469
499
|
| `pinepaper_image_filter` | Apply image filters |
|
|
500
|
+
| `pinepaper_crop_image` | Crop an image to a rect (optional aspect ratio) |
|
|
501
|
+
| `pinepaper_chroma_key` | Key out a background color (auto-estimates threshold) |
|
|
502
|
+
| `pinepaper_shatter_image` | Split a raster into a tile grid (inert until animated; group adopts the original id) |
|
|
470
503
|
| `pinepaper_lasso` | Lasso selection on images |
|
|
471
504
|
| `pinepaper_cutout_style` | Cutout styling |
|
|
472
505
|
|
|
@@ -510,17 +543,19 @@ All 121 tools, grouped by the tag used for toolkit filtering.
|
|
|
510
543
|
### Media (`media`)
|
|
511
544
|
| Tool | Description |
|
|
512
545
|
|------|-------------|
|
|
513
|
-
| `pinepaper_media` | Video/audio
|
|
546
|
+
| `pinepaper_media` | Video/audio + editing: upload, trim, time remap / speed ramps, match cut, track matte (live) |
|
|
514
547
|
|
|
515
548
|
### Rigging (`rigging`)
|
|
516
549
|
| Tool | Description |
|
|
517
550
|
|------|-------------|
|
|
518
|
-
| `pinepaper_rigging` | Skeletons, bones, IK
|
|
551
|
+
| `pinepaper_rigging` | Skeletons, bones, IK, breakdown poses; BVH mocap import/retarget, Spine import |
|
|
552
|
+
| `pinepaper_import_layered_character` | Decomposed character layers → role-bound parts (blink/smile work immediately) |
|
|
519
553
|
|
|
520
554
|
### Typography (`font`, `letter_collage`)
|
|
521
555
|
| Tool | Description |
|
|
522
556
|
|------|-------------|
|
|
523
557
|
| `pinepaper_font` | Font loading and text-to-path |
|
|
558
|
+
| `pinepaper_text_style` | Display text styles (stacked-layer titles) + variable-font axes |
|
|
524
559
|
| `pinepaper_create_letter_collage` | Create a letterform collage |
|
|
525
560
|
| `pinepaper_animate_letter_collage` | Animate a letterform collage |
|
|
526
561
|
|
|
@@ -529,6 +564,8 @@ All 121 tools, grouped by the tag used for toolkit filtering.
|
|
|
529
564
|
|------|-------------|
|
|
530
565
|
| `pinepaper_magic` | High-level "make it look good" helpers |
|
|
531
566
|
| `pinepaper_physics` | Physics simulation |
|
|
567
|
+
| `pinepaper_game` | Game logic: A* pathfinding (feeds moves_along_path) + tilemaps with collision rects |
|
|
568
|
+
| `pinepaper_world3d` | 3D world under the canvas: terrain presets, live-sprite actors, follow/orbit camera |
|
|
532
569
|
| `pinepaper_measurement` | Measurement and annotation |
|
|
533
570
|
| `pinepaper_apply_template` | Apply a scene template |
|
|
534
571
|
|
package/README.pt-BR.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
O servidor MCP do PinePaper permite que assistentes de IA criem e animem gráficos no [PinePaper Studio](https://pinepaper.studio) via Model Context Protocol. Funciona com qualquer IA que suporte chamadas de ferramenta MCP (Claude, GPT, Gemini, modelos locais etc.).
|
|
16
16
|
|
|
17
|
-
São **
|
|
17
|
+
São **135 ferramentas**: desenho, animação, diagramas, mapas, tipografia, física, edição de imagens, visualização de dados e exportação:
|
|
18
18
|
|
|
19
19
|
- Criar texto, formas, geometria e gráficos complexos
|
|
20
20
|
- Animar com **relações** declarativas em vez de keyframes
|
package/README.zh-CN.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
PinePaper MCP 服务器让 AI 助手通过 MCP 协议在 [PinePaper Studio](https://pinepaper.studio) 中创建和驱动图形动画。兼容任何支持 MCP 工具调用的 AI(Claude、GPT、Gemini、本地模型等)。
|
|
16
16
|
|
|
17
|
-
服务器提供 **
|
|
17
|
+
服务器提供 **135 个工具**,覆盖绘图、动画、图表、地图、排版、物理、图像编辑、数据可视化与导出:
|
|
18
18
|
|
|
19
19
|
- 创建文本、形状、几何图形与复杂图稿
|
|
20
20
|
- 用行为驱动的**关系(relations)**做动画,而不是逐帧关键帧
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/tools/definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAuB/C,eAAO,MAAM,cAAc,gqWAgJ+G,CAAC;AAW3I,eAAO,MAAM,eAAe,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/tools/definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAuB/C,eAAO,MAAM,cAAc,gqWAgJ+G,CAAC;AAW3I,eAAO,MAAM,eAAe,EAAE,IAAI,EA2/NjC,CAAC;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAE5D;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,MAAM,EAAE,CAEvC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,EAAE,CAO3D;AAED;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9D;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,aAAa,GAAG,IAAI,EAAE,CAQrE"}
|