From e083e95311e62bbf70d08d64a280ede167f3c59f Mon Sep 17 00:00:00 2001 From: bflatastic Date: Wed, 2 Dec 2026 06:13:03 +0700 Subject: [PATCH] M6: The MCP docs say Copy as commands write only the system clipboard, so an attached agent reads CSS or exports instead (#2524) --- docs/mcp.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index b3d9cebd8..be1844f05 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -46,11 +46,14 @@ command, and only the file it works in shows them. This is display only: no undo saved, nothing sent to a live session's other people, and nothing changes in what the agent may do. -An attached agent's copies stay inside FigCraft: `edit.copy`, `edit.cut` and the other copy -commands fill the app's own clipboard, which the agent's `edit.paste` uses, but never the system -clipboard, so nothing the agent does replaces what the user copied (or reads it: the agent's paste -never takes what another app put there). To hand layers to -another app, export them (`export`, `file.export`) or let the user copy them in the window. +An attached agent's copies stay inside FigCraft: `edit.copy` and `edit.cut` fill the app's own +clipboard, which the agent's `edit.paste` uses, but never the system clipboard, so nothing the +agent does replaces what the user copied (or reads it: the agent's paste never takes what another +app put there). The Copy as commands (`edit.copyAsText`, `edit.copyAsCss`, `edit.copyAsSvg`, +`edit.copyAsPng`, `edit.copyLink`) write only the system clipboard, so for an agent they put +nothing anywhere: read the CSS with `inspect.code` (`language: "css"`) and write SVG or PNG with +`file.exportSvg` or `file.export`. To hand layers to another app, export them or let the user +copy them in the window. Attached calls are never automatically replayed after a transport failure: the app may have applied the request before its reply was lost. The error reports that the operation may have