@z7589xxz758/slidex-mcp-server 0.1.1 → 0.1.2

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 (3) hide show
  1. package/README.md +30 -0
  2. package/dist/server.mjs +38313 -36661
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,6 +4,8 @@ MCP server for SlideX MotionDoc decks. It lets MCP clients create decks, read te
4
4
 
5
5
  Current authoring syntax uses `<Slide>` with `Text`, `Icon`, `Chart`, `ImageBlock`, and `VideoBlock`. New MCP block insertion only creates the current authoring blocks.
6
6
 
7
+ The package also includes built-in slide layout presets matching the SlideX Studio layout picker, such as Title & Photo, Title & Bullets, Agenda, Key Fact, Quote, Photos - 3 on a page, and Photo. Once installed, MCP clients can list layouts, fetch layout source, create a slide from a layout, append a layout slide, or replace an existing slide with a layout.
8
+
7
9
  ## Quick Start
8
10
 
9
11
  Run the server directly without installing:
@@ -59,6 +61,11 @@ When connecting through stdio, prefer the silent npm form:
59
61
  - `slidex_update_slide_props`
60
62
  - `slidex_replace_slide`
61
63
  - `slidex_add_block`
64
+ - `slidex_list_slide_layouts`
65
+ - `slidex_get_slide_layout`
66
+ - `slidex_create_slide_from_layout`
67
+ - `slidex_add_slide_from_layout`
68
+ - `slidex_replace_slide_with_layout`
62
69
  - `slidex_delete_slide`
63
70
  - `slidex_reorder_slide`
64
71
  - `slidex_export_html`
@@ -66,6 +73,29 @@ When connecting through stdio, prefer the silent npm form:
66
73
 
67
74
  `slidex_add_block` currently accepts `Text`, `Image`, `Video`, `ChartBar`, `ChartLine`, `ChartArea`, `ChartPie`, `ChartDonut`, and `Icon`.
68
75
 
76
+ ## Built-in Slide Layouts
77
+
78
+ `slidex_list_slide_layouts` currently returns 16 installable layout presets:
79
+
80
+ - `title`
81
+ - `title-photo`
82
+ - `title-alt-photo`
83
+ - `title-bullets`
84
+ - `bullets`
85
+ - `title-bullets-photo`
86
+ - `title-bullets-small-video`
87
+ - `title-bullets-large-video`
88
+ - `chapter`
89
+ - `only-title`
90
+ - `agenda`
91
+ - `statement`
92
+ - `key-fact`
93
+ - `quote`
94
+ - `photos-3`
95
+ - `photo`
96
+
97
+ Layout resources are also available at `slidex://slide-layouts` and `slidex://slide-layouts/{layoutId}`.
98
+
69
99
  ## Dynamic Workspace Skills
70
100
 
71
101
  When the server starts, it dynamically scans the current working directory (`process.cwd()`) for a `.agents/skills` folder. If found, it reads the `SKILL.md` files and automatically registers them as: