slatebox-mcp 0.3.5 → 0.4.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Slatebox exec: MCP server and CLI
2
2
 
3
- **Slatebox is an open source visual intelligence platform where you can invite any AI via MCP to collaborate with you and your team.** Mind maps, diagrams, project plans and presentations, drawn by your assistant and edited live with your team. An open-source alternative to whiteboard tools such as Miro. MIT licensed. The canvas is free. On Slatebox Cloud, AI comes with Slatebox Pro; a self-hosted Slatebox can use its own AI key.
3
+ **Slatebox is the free, open-source visual intelligence platform for your team and agents.** Diagrams, flowcharts, mind maps, whiteboards and brainstorms, retro boards, Gantt plans and presentations that compose themselves: you, your team and any agent you invite over MCP work on them together, live. On the web as a mind-mapping tool since 2010. An open-source alternative to whiteboard tools such as Miro. MIT licensed. The canvas is free. On Slatebox Cloud, AI comes with Slatebox Pro; a self-hosted Slatebox can use its own AI key.
4
4
 
5
5
  *Not affiliated with or endorsed by Miro. Miro is a trademark of its owner.*
6
6
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  Agents create and edit Slatebox slates (mind maps, flowcharts, diagrams, project plans, slides and boards) by running a short script, or by calling one tool per task. This package gives them two ways to do it:
10
10
 
11
- - `slatebox-mcp`, an MCP server. **`exec`** runs a JavaScript or TypeScript script, and **`describe`** explains the typed client the script uses. Beside them it lists one typed tool per client method, such as `create_slate`, `import_mermaid`, `get_slate`, `edit_slate` and `export_mermaid`, five prompts (mind map, flowchart, project plan, presentation, install Slatebox) and resources (the client's types and guide, and any slate as JSON or Mermaid).
11
+ - `slatebox-mcp`, an MCP server. **`exec`** runs a JavaScript or TypeScript script, and **`describe`** explains the typed client the script uses. Beside them it lists one typed tool per client method, such as `create_slate`, `import_mermaid`, `get_slate`, `edit_slate` and `export_mermaid`, six prompts (mind map, brainstorm, flowchart, project plan, presentation, install Slatebox) and resources (the client's types and guide, and any slate as JSON or Mermaid).
12
12
  - `slatebox`, a command that runs the same scripts from a terminal.
13
13
 
14
14
  Inside a script, the global `slatebox` is a typed client with one method for each thing your token may do, such as `slatebox.slates.get({ shareId })` and `slatebox.slates.applyOperations({ shareId, plan })`. The client is generated from the Slatebox action registry, so new Slatebox actions appear in it without a new tool.
@@ -31,17 +31,17 @@ If you want a script to run on your Slatebox instead, in its sealed runner with
31
31
 
32
32
  ## Install
33
33
 
34
- Use Node.js 22.13 or later. Download the archive and checksum from the Slatebox docs. The archive includes the JavaScript source of both commands, the generated client files and the MIT license.
34
+ Use Node.js 22.13 or later. Download the archive and checksum from the Slatebox docs. The archive includes the JavaScript source of the `slatebox-mcp` command, the generated client files and the MIT license.
35
35
 
36
36
  ```sh
37
- curl -fLO https://docs.slatebox.com/assets/downloads/slatebox-mcp-0.3.5.tgz
38
- curl -fLO https://docs.slatebox.com/assets/downloads/slatebox-mcp-0.3.5.tgz.sha256
39
- shasum -a 256 -c slatebox-mcp-0.3.5.tgz.sha256
40
- npm install --global ./slatebox-mcp-0.3.5.tgz
41
- slatebox help
37
+ curl -fLO https://docs.slatebox.com/assets/downloads/slatebox-mcp-0.4.1.tgz
38
+ curl -fLO https://docs.slatebox.com/assets/downloads/slatebox-mcp-0.4.1.tgz.sha256
39
+ shasum -a 256 -c slatebox-mcp-0.4.1.tgz.sha256
40
+ npm install --global ./slatebox-mcp-0.4.1.tgz
41
+ slatebox-mcp exec --help
42
42
  ```
43
43
 
44
- On Linux you can also verify the checksum with `sha256sum -c slatebox-mcp-0.3.5.tgz.sha256`. npm installs the public MCP SDK.
44
+ On Linux you can also verify the checksum with `sha256sum -c slatebox-mcp-0.4.1.tgz.sha256`. npm installs the public MCP SDK.
45
45
 
46
46
  Open **Profile → Developer access** in your Slatebox account and create a token. Supply it in the `SLATEBOX_API_TOKEN` environment variable. Set `SLATEBOX_BASE_URL`, or pass `--base-url`, to your own instance's origin when self-hosting. The default is `https://app.slatebox.com`, Slatebox Cloud, which serves the API at `/api/v1` and the hosted MCP endpoint at `/mcp`.
47
47
 
@@ -120,6 +120,10 @@ This is a check with a record, not an approval system: an agent you allow to run
120
120
 
121
121
  ## Use the terminal
122
122
 
123
+ The `slatebox` command comes from the npm package `slatebox` (`npm install --global slatebox`, or `npx slatebox exec ...`), which also installs and runs your own Slatebox. It runs these commands with this package. Without it, `slatebox-mcp exec` and `slatebox-mcp describe` do the same.
124
+
125
+ Upgrading from slatebox-mcp 0.3, which also named a `slatebox` command: run `npm rm -g slatebox-mcp && npm i -g slatebox slatebox-mcp`.
126
+
123
127
  ```sh
124
128
  slatebox exec script.js
125
129
  slatebox exec - < script.ts