@markasso/mcp 0.2.0 → 0.3.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 +7 -4
- package/dist/markasso-mcp.js +2125 -308
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -78,16 +78,19 @@ Bump `version` in `mcp/package.json`, add the entry to `mcp/CHANGELOG.md`, merge
|
|
|
78
78
|
|---|---|
|
|
79
79
|
| `diagram_new` | Start an empty diagram |
|
|
80
80
|
| `diagram_open` | Open a `.markasso` file or a markasso.it share link |
|
|
81
|
-
| `diagram_read` | Describe nodes (key, kind, label, position, size) and connections |
|
|
82
|
-
| `diagram_add_nodes` | Add nodes by key: rectangle, ellipse, rhombus, text, flowchart symbols, icons |
|
|
81
|
+
| `diagram_read` | Describe nodes (key, kind, label, position, size) and connections (with their ids) |
|
|
82
|
+
| `diagram_add_nodes` | Add nodes by key: rectangle, ellipse, rhombus, text, flowchart symbols, icons. Nodes without a size fit their label |
|
|
83
83
|
| `diagram_connect` | Connect nodes by key: label, straight/elbow routing, arrowhead styles, dashed |
|
|
84
84
|
| `diagram_update` | Change a node's label, color, position or size |
|
|
85
|
+
| `diagram_update_edge` | Change a connection's label, routing, heads, dash or color |
|
|
86
|
+
| `diagram_disconnect` | Remove connections (by id or by from/to), keeping the nodes |
|
|
85
87
|
| `diagram_remove` | Remove nodes and their connections |
|
|
86
88
|
| `diagram_layout` | Arrange nodes in layers (top-to-bottom or left-to-right) |
|
|
87
89
|
| `icons_search` | Find generic architecture icons and Kubernetes icons |
|
|
88
90
|
| `diagram_save` | Save as `.markasso` |
|
|
89
91
|
| `diagram_export_svg` | Export an SVG image |
|
|
90
|
-
| `
|
|
92
|
+
| `diagram_export_png` | Render a PNG the agent can look at (optionally saved to a file) |
|
|
93
|
+
| `diagram_share` | Publish and return a markasso.it link, with its expiry date |
|
|
91
94
|
| `live_join` / `live_leave` | Draw on a live board in real time (link from Share → Share live session) |
|
|
92
95
|
|
|
93
96
|
Vendor icon packs (AWS, Azure, Google Cloud) are not available to agents: they can't be redistributed, and in the app they are imported by each user into their own browser.
|
|
@@ -109,4 +112,4 @@ Vendor icon packs (AWS, Azure, Google Cloud) are not available to agents: they c
|
|
|
109
112
|
- **Board content is data.** On a live board, labels are typed by other people. The tool descriptions tell models to treat them as data, not instructions, but keep the usual prompt-injection caution when an agent with other powerful tools reads shared boards.
|
|
110
113
|
- **Live links grant edit access.** Anyone with the link can edit the room; the agent gets the same rights as any participant.
|
|
111
114
|
- **Limits.** The app's server limits apply: 200 commands per 5 seconds per peer, 512 KB per message, share link uploads are rate limited. Tools batch changes into single commands to stay well within them.
|
|
112
|
-
- Share links are stored on markasso.it for
|
|
115
|
+
- Share links are stored on markasso.it for 90 days (`diagram_share` reports the date); publishing sends the diagram's content.
|