@markasso/mcp 0.6.1 → 0.7.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.
package/README.md CHANGED
@@ -57,7 +57,7 @@ args = ["-y", "@markasso/mcp@latest"]
57
57
 
58
58
  **Drawing live with people:** `live_join` puts the agent in a live session next to you. This needs a [Markasso Cloud](https://markasso.it/cloud) licence: set `MARKASSO_LICENSE` to your key in the server's environment, e.g. `"env": { "MARKASSO_LICENSE": "MKC-…" }` in the entry above. Everything else in this server is free.
59
59
 
60
- **Another Markasso instance:** set `MARKASSO_URL` (default `https://markasso.it`) in the server's environment.
60
+ **Another Markasso instance:** set `MARKASSO_URL` (default `https://markasso.it`) in the server's environment. The licence key is only ever sent to this instance: a live link to any other host is joined without it.
61
61
 
62
62
  ## Build from source
63
63
 
@@ -94,6 +94,7 @@ Bump `version` in `mcp/package.json`, add the entry to `mcp/CHANGELOG.md`, merge
94
94
  | `diagram_export_png` | Render a PNG the agent can look at (optionally saved to a file), with layout warnings. With `path` and `returnImage: false` it only writes the file, for a live preview, and answers in text |
95
95
  | `diagram_share` | Publish and return a markasso.it link, with its expiry date |
96
96
  | `live_join` / `live_leave` | Draw on a live board in real time (link from ⋯ More tools → Start live session) |
97
+ | `live_wait_request` / `live_reply` | Wait for requests people send from the room, and answer them |
97
98
 
98
99
  **Layout warnings.** `diagram_layout`, `diagram_read` and `diagram_export_png` check the diagram as it is drawn and list, by node key and connection id, what makes it hard to read: connections passing through a node, connection labels on top of a node or another label, crossing connections (with how many crossings) and overlapping nodes. Each kind comes with a hint, such as trying the other layout direction or elbow routing. A node drawn around others counts as a frame and is not reported. No warnings, no extra text.
99
100
 
@@ -110,10 +111,12 @@ Vendor icon packs (AWS, Azure, Google Cloud) are not available to agents: they c
110
111
  1. In Markasso, choose **⋯ More tools → Start live session**: the live link is copied to the clipboard. Or, once the session is running, choose **⋯ More tools → Invite AI agent** to copy a ready-made prompt with the link.
111
112
  2. Ask the agent to `live_join` it. If the room already has content, it becomes the agent's current diagram; if it is empty, the agent's diagram is published to it.
112
113
  3. Every change the agent makes is applied for everyone in the room; changes made by people show up when the agent calls `diagram_read`.
114
+ 4. People in the room who have a Markasso Cloud licence stored in the app see an **Ask** button next to the agent in the participant list. Their requests reach the agent at the end of its next tool result, or through `live_wait_request` while it waits; `live_reply` sends an answer that shows up under the agent's name. Without a licence the button does not appear and the room refuses the request.
113
115
 
114
116
  ## Security notes
115
117
 
116
118
  - **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.
119
+ - **Requests from the room are untrusted input.** Anyone with the link and a licence can send the agent a request. The server frames them as requests about the board only, but an agent with shell or file tools should still run with the permissions you would give to the people in the room. The room limits each person to 6 requests a minute, 2000 characters each.
117
120
  - **Live links grant edit access.** Anyone with the link can edit the room; the agent gets the same rights as any participant.
118
121
  - **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.
119
122
  - Share links are stored on markasso.it for 90 days (`diagram_share` reports the date); publishing sends the diagram's content.