@z7589xxz758/slidex-mcp-server 0.1.0
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.md +59 -0
- package/dist/server.mjs +42425 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# slidex-mcp-server
|
|
2
|
+
|
|
3
|
+
MCP server for SlideX MotionDoc decks. It lets MCP clients create decks, read templates, validate MDX, edit slides, add blocks, and export standalone HTML.
|
|
4
|
+
|
|
5
|
+
Current authoring syntax uses `<Slide>` with `Text`, `Icon`, `Chart`, `ImageBlock`, and `VideoBlock`. New MCP block insertion only creates the current authoring blocks.
|
|
6
|
+
|
|
7
|
+
## Use With MCP Clients
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"mcpServers": {
|
|
12
|
+
"slidex": {
|
|
13
|
+
"command": "npx",
|
|
14
|
+
"args": ["-y", "slidex-mcp-server"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Local Development
|
|
21
|
+
|
|
22
|
+
From the SlideX repository root:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install
|
|
26
|
+
npm run mcp
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
When connecting through stdio, prefer the silent npm form:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"mcpServers": {
|
|
34
|
+
"slidex": {
|
|
35
|
+
"command": "npm",
|
|
36
|
+
"args": ["--silent", "run", "mcp"],
|
|
37
|
+
"cwd": "/absolute/path/to/Animark"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Tools
|
|
44
|
+
|
|
45
|
+
- `slidex_parse_motion_doc`
|
|
46
|
+
- `slidex_validate_motion_doc`
|
|
47
|
+
- `slidex_list_templates`
|
|
48
|
+
- `slidex_get_template`
|
|
49
|
+
- `slidex_create_deck`
|
|
50
|
+
- `slidex_create_from_template`
|
|
51
|
+
- `slidex_update_slide_props`
|
|
52
|
+
- `slidex_replace_slide`
|
|
53
|
+
- `slidex_add_block`
|
|
54
|
+
- `slidex_delete_slide`
|
|
55
|
+
- `slidex_reorder_slide`
|
|
56
|
+
- `slidex_export_html`
|
|
57
|
+
- `slidex_list_block_types`
|
|
58
|
+
|
|
59
|
+
`slidex_add_block` currently accepts `Text`, `Image`, `Video`, `ChartBar`, `ChartLine`, `ChartArea`, `ChartPie`, `ChartDonut`, and `Icon`.
|