Skip to main content
Glama

Server Details

Connect AI coding agents to Anima Playground, Figma, and your design system.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
AnimaApp/mcp-server-guide
GitHub Stars
6
Server Listing
Anima MCP Server
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 35 tools

Disambiguation4/5

The five namespaces (artifact-, canvas-, review-, workspace-, design_system-) carve the surface into clearly separate domains, and within each the action boundaries are usually explicit (e.g. artifact-explore for the commit log vs artifact-status for build state; canvas-read for data vs canvas-view for the user's camera). The main friction is the three artifact-creation verbs — artifact-create, artifact-create_from_template and artifact-create_knowledge — which overlap in intent and are separated only by long prose rather than by name.

Naming Consistency4/5

Tools follow a predictable namespace-verb_noun shape (artifact-list_templates, canvas-insert_html, review-reply, workspace-move_artifact), so membership in a family is obvious at a glance. Deviations are minor: artifact-status has no verb, codegen-figma_to_code uses a different convention entirely, and design_system-/codegen- use a different separator than the rest.

Tool Count3/5

35 tools is heavy and sits above the comfortable band, though it is spread across genuinely distinct sub-products (artifact lifecycle, canvas editor, review threads, workspaces, Figma codegen, design-system docs) rather than being one domain inflated. Some entries feel like internal plumbing exposed as tools — the two upload-URL tools and artifact-get_git_token are steps in flows other tools describe.

Completeness4/5

The artifact lifecycle is unusually thorough (create from several sources, explore, edit, duplicate, publish/unpublish, metadata, status, git escape hatch, large-asset and zip upload staging) and the canvas set covers read/insert/replace/update/delete/duplicate/save/view/export. Minor gaps remain on the workspace side, which can list and move but cannot create or delete workspaces, and there is no restore/rollback verb outside reading an old revision and re-editing.

Available Tools

35 tools
artifact-createCreate ArtifactAInspect

Create a NEW artifact in Agent Grid; never edits an existing one.

Building a new React app, HTML site or presentation yourself? Start from a template first. When the user asks for a new app, site, page or deck and has no code or file of their own, call artifact-list_templates and create it with artifact-create_from_template, then adapt it with artifact-explore + artifact-edit — do NOT write the project from scratch through type empty or import. The templates are maintained, working starters (Vite + React + TypeScript, plain HTML, an image-ready presentation), so the result builds and renders on the first try. Skip the template only when the user brings their own code, explicitly asks for something written from scratch, or wants Anima to generate it (p2c/l2c/f2c). If you are unsure, tell the user a template exists and offer it. Markdown documents and assets have no template: create them here as usual.

Two independent axes, easy to confuse: type (below) is where the files come from, and artifactType is what the artifact IS. artifactType defaults to app — a live web application that renders and runs at the returned URL as soon as it is ready, which is what every type below produces unless you say otherwise. Pass artifactType markdown for a readable document, or asset for a stored file: neither is a running app, so do not promise a live URL for them.

Generation types (p2c/l2c/f2c) run ASYNCHRONOUSLY: this returns IMMEDIATELY with { status: 'generating', sessionId, artifactUrl, previewUrl, playgroundUrl } while the app is still being built. The preview link shows a live loading screen that swaps in the finished app. Most of the time, you need a single call to artifact-status with { sessionId, wait: true }, BEFORE you reply to the user because it blocks until the app is ready or failed, so you report a finished app rather than a promise (if it returns still 'generating', call it again). This artifact-create tool is NOT meant to be called multiple times for the same generation request. While a matching job is active, the same stable request identity may reuse that job for the team instead of creating another. The own-code types (empty/import) return immediately.

Do NOT use for: a new React app, HTML site or presentation you would otherwise write yourself (artifact-create_from_template); editing an existing artifact (artifact-explore + artifact-edit, or the git flow via artifact-get_git_token); rename/visibility (artifact-update_metadata); deploying live (artifact-publish).

type: Anima GENERATES (async — poll artifact-status):

  • p2c: text prompt (requires prompt; optional guidelines)

  • l2c: website (requires url)

  • f2c: Figma frames (requires fileKey + nodesId + X-Figma-Token header) YOU supply (ready immediately):

  • empty: empty git repo you push to (requires framework)

  • import: your code is the first commit; EXACTLY ONE of files (inline text, up to roughly 100 KB) or zipUploadId (binaries or larger)

framework: only html and react exist. Required for empty; optional for import (detected from package.json) and generation types (default html).

Returns: generation types (p2c/l2c/f2c) → { success, status: 'generating', sessionId, artifactUrl, playgroundUrl, previewUrl }; poll artifact-status for completion. Own-code types (empty/import) → sessionId, revision, artifactUrl, name, gitRemoteUrl, access, expiresAt, nextSteps (plus fileCount, skippedFiles for import), and a read-write git token in the same response — so do NOT call artifact-get_git_token after creating. playgroundUrl comes only when artifactType is app; previewUrl renders those plus markdown artifacts, while asset artifacts expose only artifactUrl. A markdown inline-files import also returns documentPreview plus documentPreviewTruncated, so the preview card can render the bounded document text without a follow-up read. revision is the first commit: pass it straight to artifact-edit as baseRevision if you edit without git. These are ready immediately (no 'generating' status): previewUrl renders the committed files right away for import, and the seed README for empty.

Inputs: type (required), url, name, files, +11 more.

artifact-create_from_templateCreate Artifact from TemplateAInspect

Create a NEW artifact from one of Anima's templates. Returns a ready artifact; never edits an existing one.

Call with a templateId from artifact-list_templates (react, html, presentation or second-brain), an optional name (defaults to "Untitled project") and workspaceId. The template supplies the files, the artifact type and the framework: no files, ZIP upload, framework or artifactType are accepted. Then make it the user's: read it with artifact-explore and change it with artifact-edit, starting from the returned revision.

This is the DEFAULT way to start a new React app, HTML site or presentation that you will build yourself: use it whenever the user asks for one and has no code or file of their own, even if they never mention templates — they usually do not know templates exist. Use artifact-create instead to import existing code, to write a project from scratch when the user explicitly asks for that, to create a markdown document or asset, or to have Anima generate an app from a prompt, a website or Figma.

Returns the sessionId, initial revision, artifactUrl, name, artifactType, framework, fileCount, skippedFiles, and applicable preview URLs and Git access. Share artifactUrl with the human. Only use artifact-publish when the user explicitly asks for a public deployment.

Inputs: templateId (required), name, workspaceId.

artifact-create_knowledgeCreate Knowledge ArtifactAInspect

Create a NEW knowledge artifact from Anima's knowledge-base template. Returns a ready artifact; never edits an existing one.

Call with no arguments, or with an optional name (defaults to "Untitled project") and workspaceId. No files, ZIP upload, framework, or artifact type are accepted. The template supplies the initial files and determines the framework.

Returns the sessionId, initial revision, artifactUrl, name, framework, fileCount, skippedFiles, and applicable preview URLs and Git access. Share artifactUrl with the human. Use artifact-explore and artifact-edit to inspect and change its contents. Only use artifact-publish when the user explicitly asks for a public deployment.

Inputs: name, workspaceId.

artifact-deleteDelete ArtifactA
DestructiveIdempotent
Inspect

Delete an EXISTING artifact. Use this tool only when the user explicitly asks you to delete that artifact. Do not infer deletion from a cleanup request.

The tool makes a reversible soft deletion. It hides the artifact from normal lists and access paths. It keeps the artifact's code, assets, history, database content, and domain assignments. MCP cannot permanently delete an artifact.

The tool needs write access. Unpublish a published artifact before you delete it. If a publish is in progress, wait for the publish to finish. Then call artifact-unpublish. Then call artifact-delete again.

Set sessionId to the ID of the artifact to delete. An authorized repeated deletion succeeds.

Returns: { success, message }

Inputs: sessionId (required).

artifact-duplicateDuplicate ArtifactAInspect

Duplicate (clone) an EXISTING artifact into a new, independent artifact.

This copies the artifact's code, assets, and supported database content. If a supported database cannot be copied, the entire duplication fails and no usable copy is returned. It does NOT copy chat or custom domains. This is different from running git clone locally: git clone only creates a local checkout, while this tool creates a new artifact with a new sessionId.

Requires sessionId for a readable source artifact that belongs to the caller's current team. Public, shared, or otherwise readable artifacts in other teams cannot be duplicated with this MCP v1 tool. You need write in the workspace the copy goes to. name is optional; the default is " (Copy)".

Retry safety: duplication is not idempotent. If a call times out or its response is lost, list recent artifacts (workspace-list_artifacts) before retrying because the first call may already have created the copy.

Returns: { success, sessionId, sourceSessionId, name, artifactType, artifactUrl, nextSteps } — plus playgroundUrl and previewUrl when the copy is an app or knowledge artifact; a markdown copy gets previewUrl only

Inputs: sessionId (required), name, workspaceId.

artifact-editEdit Artifact FilesA
Destructive
Inspect

Change the files of an EXISTING artifact and commit them, without git or a shell. Never creates a new artifact — the sessionId keeps pointing at the same one, and its playground URL does not change. If a Canvas draft exists, this refuses unless acknowledgeCanvasDraftRevision matches the draft you reviewed and the user explicitly chose to edit committed files. It does not edit, promote or discard the draft. All the changes you pass land as ONE commit: either every operation applies or none does. Read the files first with artifact-explore and pass the revision it returned as baseRevision; if someone else changed the artifact meanwhile the edit is rejected with REVISION_CONFLICT, which lists what changed so you can re-read those files and retry. Prefer op "str_replace" for edits to existing files (send the exact snippet), "write" to create a file or replace one wholesale, "delete", and "move" to rename. move does NOT rewrite imports — neither in the files that import the moved module, nor the relative imports INSIDE the moved file, which now resolve from its new folder, so read it first and add the str_replace operations that fix them. The live preview updates from the new commit immediately. To rename an artifact or change its visibility use artifact-update_metadata; for very large repositories or full git workflows (branches, history rewriting) use artifact-get_git_token.

Inputs: changes (required), sessionId (required), baseRevision (required), commitMessage (required), +1 more.

artifact-exploreExplore Artifact FilesA
Read-only
Inspect

Inspect the files of an EXISTING artifact: list them, search their text, read them, or review the commit history. Works with no shell, no git and no network access, so prefer it whenever you cannot run git. Pass the sessionId (the last path segment of a .../chat/ URL). A canvasDraft field, when authorized, reports an uncommitted Canvas draft. Use action draft to inspect its projection overlay explicitly; ordinary reads remain committed files. Draft access requires write permission. Typical flow to change something: action "search" to find the file, action "read" for the files you will edit, then artifact-edit. Every response includes "revision", the artifact's current commit — pass it back as artifact-edit's baseRevision. Use action "read" with a "revision" to see how a file looked at an earlier commit (this is how you undo something). Assets — images, fonts, media — are readable too: action "read" answers with size, mime and oid under "asset": true whenever a file's bytes are not text, instead of content. That check is on the bytes, so it is the authority: an SVG reads as text, and a file with an unfamiliar extension may still come back as an asset. When a search comes back empty, check "notSearched": "assets" counts binary files a text query can never match, and "excluded" counts files under node_modules, dist or build — re-run with includeExcluded true to search those. A "tree" listing also maps any path artifact-edit cannot change under "unwritable", and each asset under "assets" with its size and mime, so you can tell media from code without reading it. An asset stored with Git LFS also reports "lfsOid", the sha256 of its content. For generation or build progress use artifact-status instead; this shows the commit log, not build state.

Inputs: action (required), sessionId (required), path, limit, +8 more.

artifact-get_asset_upload_urlStage an Artifact AssetAInspect

Step 1 of adding a LARGE asset (an image, font or media file) to an EXISTING artifact — anything over 256 KB, which is the most artifact-edit takes inline. Smaller files need no staging: send them to artifact-edit directly with encoding "base64".

Flow:

  1. Call this with the sessionId and the filename: it returns assetUploadId, uploadUrl and uploadFields.

  2. Upload the file with an HTTP POST of multipart/form-data to uploadUrl. Send EVERY key/value of uploadFields as a form field FIRST, then the file itself LAST, in a field named "file" — S3 ignores anything sent after the file part, so the order matters. Do not add a size or Content-Length field. Success is HTTP 204 with an empty body. With curl, uploadFields {"key": "abc", "policy": "xyz"} becomes: curl -X POST -F key=abc -F policy=xyz -F file=@/path/to/your-file.png

  3. Call artifact-edit with a "write" change carrying assetUploadId instead of content, and the path the file should live at. Put the code that references it in the SAME edit, so both land in one commit.

Rules: one file per id, single use, 30 minutes to redeem it, 32 MB max — S3 rejects a larger body at step 2. Files over 10 MB are stored through Git LFS automatically: the commit carries a small pointer and .gitattributes gains the matching filter line, with no extra steps on your side. uploadFields carry the signature that authorizes the upload; treat them as a secret. If your host cannot make an HTTP request, use artifact-edit with encoding "base64" for a file that fits inline, or artifact-get_git_token to push the file with git.

Returns: success, assetUploadId, uploadUrl, uploadFields, expiresAt, maxBytes, nextSteps.

Inputs: filename (required), sessionId (required).

artifact-get_git_tokenGet Artifact Git TokenA
Read-only
Inspect

Get git access to an EXISTING artifact, for local development with a real git client. Use this when you HAVE a working shell with git and outbound network access AND the job suits a local checkout — a large refactor, running or testing the project, branches, or history rewriting. For ordinary reading and editing of an artifact’s files, prefer artifact-explore and artifact-edit: they need no shell, no git and no network of your own, and they change the same repository. An artifact is a real git repository. Pass the sessionId — the id of an existing artifact (e.g. the last path segment of a .../chat/ URL, like "mr25vsjppVtbMx") — and this returns a gitRemoteUrl plus the authenticated principal’s commitAuthor. After cloning, apply the returned git config user.name and user.email instructions before committing; then edit files, commit, and git push — pushing updates the live artifact. The gitRemoteUrl holds a short-lived access token scoped to this one artifact (read-only or read-write, depending on your access). Tokens CANNOT be renewed: on a "token expired" git error, call this tool again for a fresh gitRemoteUrl and run git remote set-url origin <new gitRemoteUrl>, then retry. If a git command instead fails because the host cannot resolve or reach the server (DNS, proxy or firewall errors), do NOT retry it — that environment has no route to the git remote, so use artifact-edit instead. Treat the gitRemoteUrl as a secret. To rename an artifact or change its visibility, use artifact-update_metadata.

Inputs: sessionId (required), ttlSeconds.

artifact-get_zip_upload_urlGet ZIP Upload URLA
Read-only
Inspect

Step 1 of the zip import flow for artifact-create: for imports with binaries or over roughly 100 KB of source; small text-only projects pass files inline.

Flow:

  1. Call this tool: returns zipUploadId and presigned uploadUrl.

  2. HTTP PUT the project zip to uploadUrl.

  3. Call artifact-create (type import) with zipUploadId within 30 minutes of the last upload; the zip becomes the first commit and zipUploadId is single-use.

Rules: zip max 50MB; source, config, assets only — no node_modules or build output. Shell/executable files are skipped and reported. uploadUrl is a secret.

Presentations: purpose "presentation" reserves the upload for a presentation: PUT the presentation file itself (.key, .pptx, .odp or .pdf, max 256MB), then artifact-create with artifactType "presentation".

Returns: success, zipUploadId, uploadUrl, uploadUrlExpiresAt, nextSteps.

Inputs: purpose, workspaceId.

artifact-list_templatesList Artifact TemplatesA
Read-only
Inspect

List the templates a NEW artifact can start from. Read-only; takes no parameters.

A template is a maintained, working starter project — a React app, an HTML site, a presentation, a knowledge base — that becomes the new artifact's first commit. Starting from one is faster and more reliable than writing the project from scratch, and it is the only way to create a presentation without uploading a presentation file.

Returns: { success, templates: [{ id, name, description, artifactType, framework? }] }. Pass the chosen id to artifact-create_from_template.

Inputs: no named parameters.

artifact-publishPublish ArtifactA
Destructive
Inspect

Publish an artifact — deploys its committed files (git HEAD; uncommitted edits are not included) to a live public URL. Works for app AND markdown artifacts; an asset artifact cannot be published (tell the user so and share its artifactUrl instead).

Publishing makes the content PUBLIC to the world. It is NOT needed for sharing — the artifact is already visible at its artifactUrl to everyone who can reach it, and liveUrl is NOT an editor. Call this only when the user explicitly asked to publish/deploy; otherwise share that URL and offer publishing as a follow-up question.

Requires a sessionId from a previously created artifact (via artifact-create).

What goes live:

  • app: the running web application.

  • markdown: one document. liveUrl renders the initial file (README.md if present, else the first .md lexicographically); the raw source is at /index.md (Content-Type: text/markdown) — give the user that path when they want the markdown. Other .md files are served raw at their own paths, each with a rendered .html sibling. ```mermaid fences render as diagrams; the .md keeps the fence. accTitle/accDescr label a diagram.

Modes:

  • "webapp" (default): Deploys to a live URL; use it for both app and markdown artifacts. Returns { success, liveUrl, subdomain }.

  • "designSystem": NOT available over MCP — always fails with an enterprise contact link, whatever you pass. Do not offer it as a capability.

Returns: { success, liveUrl, subdomain }

Inputs: sessionId (required), mode, packageName, packageVersion.

artifact-statusCheck Artifact StatusA
Read-only
Inspect

Check the build status of an EXISTING artifact (from artifact-create). Read-only.

Generation is asynchronous, so this is how you find out it finished. Call it with { sessionId, wait: true } and it WAITS for you: the call returns as soon as status is 'ready' or 'failed', or after about 45 seconds still 'generating'. Then, you can call it again. This tool is meant to be called right after artifact-create, before replying to the user, and keep getting called until status is no longer 'generating'. ONLY when you want an instant snapshot, this tool can be called without wait (or false); the idea is to never spin on wait: false.

Requires sessionId — the id returned by artifact-create (or the last path segment of an artifact URL like https://app.agentgrid.io/artifacts/ or https://dev.animaapp.com/chat/).

Returns: { success, sessionId, status: 'generating' | 'ready' | 'failed', progress (0–100, while generating), name, artifactUrl (generating/ready only), playgroundUrl (app and knowledge artifacts only, generating/ready only), previewUrl (app, knowledge and markdown artifacts only, generating/ready only), error (when failed), nextStep (when a wait returned still generating) }

Inputs: sessionId (required), wait.

artifact-unpublishUnpublish ArtifactA
DestructiveIdempotent
Inspect

Take an EXISTING published artifact offline — clears its live URL so the deployed site (app or markdown document) stops being reachable. The inverse of artifact-publish. This only affects the live deployment: it does NOT delete the artifact, its code, or its content, and the same subdomain is reused if you publish again later.

Requires sessionId — the id of an existing, currently published artifact (returned by artifact-create; if you have an artifact URL like https://app.agentgrid.io/artifacts/, it is the last path segment).

Fields:

  • sessionId (required) — the artifact to unpublish.

Returns: { success, message }

Inputs: sessionId (required).

artifact-update_metadataUpdate Artifact MetadataA
DestructiveIdempotent
Inspect

Update an EXISTING artifact's metadata — its display name and/or visibility. Metadata only: this never changes code or content. For content edits use artifact-edit (or the git flow via artifact-get_git_token); to deploy use artifact-publish; to create a new artifact use artifact-create.

Requires sessionId — the id of an existing artifact (returned by artifact-create; if you have an artifact URL like https://app.agentgrid.io/artifacts/, it is the last path segment). Send at least one of name or privacy (both may be set in one call).

Renaming requires write capability. Changing visibility requires share capability. Sending both fields requires both capabilities on the artifact.

Fields:

  • sessionId (required) — the artifact to update.

  • name — new display name.

  • privacy — "public" (anyone with the link) or "private" (only the artifact's team).

Returns: { success, message }

Inputs: sessionId (required), name, privacy.

canvas-add_imageAdd an imageAInspect

Add an image to the canvas from base64 bytes or a fetchable http(s)/data URL. Bytes are content-addressed and deduped; the created node uses an image fill. Position like canvas-insert_html (x/y top-left; default viewport center).

Inputs: sessionId (required), x, y, url, +4 more.

canvas-create_pageCreate a pageBInspect

Create a new page and switch to it.

Inputs: name (required), sessionId (required).

canvas-delete_nodesDelete layersB
Destructive
Inspect

Delete nodes (and their subtrees) — one undoable action.

Inputs: ids (required), sessionId (required).

canvas-duplicate_nodesDuplicate layersAInspect

Copy layers or artboards already on the canvas, count times, each copy with its own patches — one undoable action, nothing to resend. Use it instead of canvas-read action=html + canvas-insert_html whenever a copy starts from something that exists (a template stamped once per title, a card repeated in a list). ids: artboards of one page or layers of one frame, copied together with their relative layout. patches: one object per copy, keyed by the SOURCE ids (from canvas-read action=outline), each value a partial patch as canvas-update_nodes takes it (text, radius, layout merge; fills replace), e.g. [{"":{"text":{"content":"Hermes"}},"":{"fills":[{"type":"image","assetId":"","mode":"fill"}]},"":{"name":"Cover / Hermes"}}, …]. Placement: at page level the copies go right of everything on the page, so none covers an artboard, in one row unless perRow wraps them into a grid; inside a frame they go next to the source (an auto-layout frame flows them after its last child). x/y set the first copy's top-left (world at page level, parent-local inside a parent), dx/dy the step between copies and between rows. pageId puts the copies on another page without moving the user's view; parentId puts them into another frame. Returns copies [{rootIds, idMap (source id → this copy's id, for the roots and every patched layer), bounds after layout}] and the patch entries it rejected; unmeasured lists any the canvas did not lay out (on another page, or far outside the view): those keep the model's sizes, which a hugging text or auto-layout frame there may not match until it is shown (copies placed right of everything are often there; canvas-read action=screenshot renders them as they are). Not for HTML pages (artboards flagged live-page) or their layers: canvas-read action=html + canvas-insert_html copies a page. Layers inside an instance cannot be patched, nor an instance's own size and look — edit the master.

Inputs: ids (required), sessionId (required), x, y, +7 more.

canvas-get_openOpen canvasesA
Read-only
Inspect

The artifacts the person has open in Agent Grid's Live Canvas right now (sessionId, name, when last focused), most recent first. Canvas tools run in that open tab: start here, then pass a sessionId to the other canvas-* tools. Empty when no canvas is open: ask the person to open the artifact in Live Canvas.

Inputs: no named parameters.

canvas-insert_htmlInsert HTMLAInspect

Insert content from HTML — one undoable action. Accepts three kinds of markup: (1) canvas layers, the data-ac-* format canvas-read action=html returns: every layer element carries data-ac-type (frame | group | rect | ellipse | line | polygon | star | vector | text | image | component | instance | section) and its data-ac-model JSON; data-ac-id is optional (ids are minted; the ones you send come back in idMap). Give every layer you want back an id of its own, across copies too (title-1, title-2, …): a repeated id is mapped for its first layer only. Several top-level layers land together, relative positions kept. To copy layers that already exist, use canvas-duplicate_nodes instead. Markup with data-ac-type, data-ac-model or data-ac-id attributes that holds no layer is refused with the reason, never inserted as a page. (2) raw (becomes native vector/shape layers), (3) any other web HTML incl. full pages. Generic HTML at page level (no parentId) on a live canvas — the default in the Anima Canvas app — becomes a live page: one artboard that keeps the HTML exactly as written and runs it, scripts included, like an HTML file dropped into the canvas. Send a complete document (…) with inline / or absolute URLs; relative files do not resolve. Its layers are a snapshot of the running page, so change it with canvas-replace_html on its artboard (canvas-read action=html returns its HTML). Otherwise (into a parentId, or on a canvas without live pages) generic HTML is rendered off-screen without scripts and converted to native layers. Position: x/y = top-left in world coords, or parent-local when parentId is given; omitted = viewport center. A top-level frame inserted at page level becomes a new artboard. Returns rootIds, idMap (layer markup), bounds (x/y parent-local, w/h after layout — hug and auto-layout sizes included, no canvas-read action=outline needed) and warnings; unmeasured lists any the canvas did not lay out (on another page, or far outside the view): those keep the model's sizes, which a hugging text or auto-layout frame there may not match until it is shown. You cannot measure text: to center or align it, put it in an auto-layout frame (data-ac-layout justify/align) and let it hug (data-ac-text autoResize "auto-wh", or "auto-h" for a fixed width) rather than guessing a width.

Inputs: html (required), sessionId (required), x, y, +2 more.

canvas-readRead the canvasA
Read-only
Inspect

Read the canvas of an artifact the person has open in Agent Grid's Live Canvas. action picks what to read, and takes the parameters listed with it:

  • outline [rootId, depth]: Cheap orientation map of the open design file: pages, then one line per node — id, type, name, position (parent-local), size, flags. Flags: artboard; live-page (its layers are a snapshot of a running page — canvas-read action=html returns the page, canvas-replace_html swaps it); auto-layout:; img: (an image fill, reusable in your own fills); ref: on an instance; hidden; locked. Call this first; use the ids it returns with every other tool.

  • html [id required]: The canonical serialized HTML of a node subtree (pass a node id, e.g. an artboard from canvas-read action=outline) or a whole page (pass a page id). This is the document format itself: elements carry data-ac-* attributes (data-ac-model JSON = geometry/fills/effects, data-ac-layout = auto-layout, data-ac-text = typography; text content is the element text). Image fills reference assets as ../../assets/. Edit this HTML and send it back via canvas-replace_html / canvas-insert_html. Exception: for the artboard of a live page (an HTML page that runs its own scripts — see canvas-insert_html) it returns that page's own HTML as written, scripts included, with the user's unsaved canvas edits merged in; edit it and send the whole page back with canvas-replace_html on the artboard.

  • selection: The user's current selection: node ids + world-space bounding box. The shared pointer between user and agent — “make this blue” starts here.

  • screenshot [nodeId, scale]: Render a node/artboard to a PNG image for your own eyes — visual ground truth from the export renderer. Defaults to the selection, else the first artboard. Use it to check your own work after edits. For an image the user keeps, use canvas-read action=export_png.

  • assets: The file's image asset manifest (id, mime, dimensions). Reuse an existing assetId in an image fill instead of re-uploading identical bytes.

  • pages: Pages in the open file (id, name, which is current).

  • export_html [nodeId required]: Export a node/artboard as a standalone HTML document with every asset inlined as data: URIs — opens in any browser as-is. (canvas-read action=html is the lighter read for editing; this is the shippable deliverable.)

  • export_png [nodeId required, scale]: Export a node/artboard as PNG bytes. scale 2 (default) stamps pixel density so the image pastes back at logical size.

Inputs: action (required), sessionId (required), id, depth, +3 more.

canvas-replace_htmlReplace HTMLA
Destructive
Inspect

Swap a node's subtree for new layer markup (data-ac-*, as canvas-insert_html takes it) in place — the “regenerate this element” verb. Keeps the node's id, parent, z-order and position; only the first root in the markup is used. Get the current markup with canvas-read action=html, edit it, send it back here. Returns idMap and bounds like canvas-insert_html. For the artboard of a live page, send the whole new page as plain HTML instead: the page is replaced in the same place and width as one undo step, and its artboard gets a new id (returned). Refused while the user has unsaved canvas edits on that page.

Inputs: html (required), nodeId (required), sessionId (required).

canvas-saveSave the canvasAInspect

Commit the canvas: the same as the person's Save, one new version of the artifact, with you named in the commit. It saves everything unsaved in the person's open canvas, the person's own edits included. Save when the task is done or when the person asks; artifact-publish publishes the last commit, so save before publishing. Answers with the commit, the pages written and anything that did not read back after saving.

Inputs: sessionId (required), message.

canvas-update_nodesUpdate layersA
Destructive
Inspect

Batch property patches, one undoable transaction — the surgical alternative to resending HTML. Each patch is a partial SceneNode; editable keys: name, x, y, w, h, rotation, opacity, fills, strokes, effects, radius {tl,tr,br,bl}, blendMode, clipsContent, layout (auto-layout; null removes it), layoutAbsolute, sizingH/sizingV (fixed|hug|fill), constraintH/constraintV, text {content, fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, align, valign, autoResize, …}, points, innerRadius, svgPath, locked, hidden, flipH, flipV. Object fields (text, radius, layout, padding, margin) merge into the node's current value, so a patch names only what changes; arrays (fills, strokes, effects) replace. E.g. {"text":{"content":"Line one\nLine two"}} keeps the font; {"fills":[{"type":"image","assetId":"","mode":"fill"}]}. Structural fields (id, parentId, children, type) are rejected; nodes inside instances are rejected, and so is an instance's own size and look (w, h, fills, strokes, effects, radius, layout, clipsContent), which follow its master — edit the master. Invalid values are dropped and reported. Returns updated, rejected and the bounds of the updated nodes after layout; unmeasured lists any the canvas did not lay out (on another page, or far outside the view): those keep the model's sizes, which a hugging text or auto-layout frame there may not match until it is shown.

Inputs: edits (required), sessionId (required).

canvas-viewChange what the person seesA
Read-only
Inspect

Change what the person sees in their canvas (never the artifact itself). action picks what, and takes the parameters listed with it:

  • select [ids required]: Set the selection to these node ids (highlights them for the user).

  • goto_page [pageId required]: Switch the editor to a page.

  • zoom_to [target required]: Move the user's camera: a node id, 'selection', or 'fit' (all page content). End a task by showing your work.

Inputs: action (required), sessionId (required), ids, pageId, +1 more.

codegen-figma_to_codeGenerate Code from FigmaAInspect

Convert a Figma design to production-ready code.

This tool generates code from Figma designs, supporting multiple frameworks and styling options.

Authentication: Requires X-Figma-Token header with your Figma personal access token.

Inputs:

  • fileKey: Figma file key extracted from the URL. For example, from "https://figma.com/design/abc123XYZ/MyDesign", the fileKey is "abc123XYZ".

  • nodesId: Array of Figma node IDs to convert. Extract from the URL's node-id parameter, replacing "-" with ":". For example, from "?node-id=1-2", the nodeId is "1:2".

  • framework: Target framework (react, html). Detect from the user's project to match their existing stack.

  • styling: CSS approach (tailwind, plain_css). Detect from the user's project to match their existing styling system.

  • language: TypeScript or JavaScript. Detect from the user's project.

  • uiLibrary: Optional UI component library (mui, antd, shadcn). Detect from the user's project if they use one of the supported libraries.

  • assetsBaseUrl: Base path for assets in generated code

Returns:

  • files: Generated code files as a record of {path: {content, isBinary}}

  • assets: Array of {name, url} for images/assets that need to be downloaded from Figma

  • tokenUsage: Approximate token count for the generation

  • snapshotsUrls: Record of {nodeId: url} with screenshot URLs for each requested node

  • guidelines: IMPORTANT Instructions for using the generated code effectively

Asset Handling: The generated code references assets at the assetsBaseUrl path. You must download the assets from the returned URLs and place them at your assetsBaseUrl location. For example, if assetsBaseUrl is "./assets" and an asset is named "logo.png", the code will reference "./assets/logo.png".

Inputs: fileKey (required), nodesId (required), styling, language, +3 more.

design_system-get_filesGet Design System FilesA
Read-only
Inspect

Fetch multiple documentation files by their paths. Returns a JSON object mapping file paths to their content. Use this after getting the manifest to retrieve specific files like README.md, COMPONENTS.md, TROUBLESHOOTING.md or component documentation.

Inputs: dsId (required), filePaths (required).

design_system-get_manifestGet Design System ManifestA
Read-only
Inspect

Get the manifest.json file describing the design system documentation structure. Returns a JSON object mapping file/folder paths to their metadata (description, type, optional tags/category).

Inputs: dsId (required).

review-listList Artifact ReviewsA
Read-onlyIdempotent
Inspect

Read the change requests humans have addressed to YOU on their artifacts. A review is a batch of comments a reviewer wrote together and sent as one, each pinned to a place in the artifact. Call this when a human says they left you comments or asked for changes, and at the start of work on an artifact you have been reviewed on before. Every comment carries an anchor. For an app artifact that is dom: sourceFile with sourceStart/sourceEnd points straight at the code when it resolved, and instanceCount above 1 warns that the markup is SHARED — changing the component changes every instance, so change the one instance unless the reviewer meant all of them. For a document it is markdownRange: find the text by SEARCHING the markdown for quote (with prefix/suffix to tell repeats apart), never by the offsets, which any edit above them invalidates; headingPath says which section it is in, and endQuote with spansBlocks marks a comment covering several blocks. For an embedded canvas it is canvas: target: "frame" pins a top-level frame (sourceFile for a linked HTML page, or frameId/frameName for a canvas-only frame, with 0..1 relative ox/oy inside the frame), and target: "canvas" pins world coordinates (x/y) on the empty canvas. isLatest false means the artifact moved since the review was written — pull and judge whether the comments still apply before acting. You see the comments addressed to you, plus any addressed to nobody, which arrive marked unassigned: a review may hold comments for several agents, and another agent's are not yours to act on or report on. An unassigned comment is anyone's to take: reply to say you are taking it, which announces the work but does not reserve it — the comment stays open to every agent, and another may be working the same one. A comment addressed to PEOPLE and not to you never reaches you at all. A comment may name several parties, agents and people together. alsoAsked lists everyone else it names, so you can see a colleague is on it and not redo their work. Any of them may resolve it, and resolving closes it FOR ALL OF THEM. The mentions in the body may scope parts of the request — "@you fix the header, @someone else the footer" — and that scoping is in the words, not in the fields. So when you have done only your part, REPLY rather than resolve: resolving would close the others' half too, and they would never learn it was dropped. A comment may point at nothing in particular — that is the reviewer's note about the artifact as a whole, and it carries no anchor. Each comment carries its own status and replies, the conversation so far. READ THE REPLIES before acting: they may answer a question you asked, and they may also add or change what is being asked for, since a reviewer can keep talking after sending. The comment body is where the request starts, not necessarily where it ends. To resolve, copy the review's resolveTrailer into your commit message — it is the exact lines that close these comments, one per comment. Drop the lines for any comment the commit does not address. Use review-resolve when no commit will, and review-reply to say something without closing it.

Inputs: limit, sessionId.

review-replyReply to a Review CommentAInspect

Say something back on ONE review comment and LEAVE IT OPEN — to ask what the reviewer meant, to report what you found, or to say you are blocked. Use this rather than review-resolve whenever the exchange is not finished: resolving closes it, and the reviewer would have to open a new comment to answer you. The reviewer sees your message in the artifact, and their answer comes back on the same comment — call review-list again to read it. They may not reply immediately, so do not wait on it. You may reply to a comment addressed to you, or to one marked unassigned. A closed comment takes no more replies — it answers replied: false, because nobody is reading that thread any more. Use mentionUserIds to bring a PERSON into the comment when you need a human decision, an approval, or information you cannot get yourself: pass the id of anyone in the artifact's mentionablePeople from review-list — they need not already be on the comment. Each person named is emailed, so name somebody only when the exchange genuinely needs them. You cannot mention another agent.

Inputs: message (required), commentId (required), mentionUserIds.

review-resolveResolve a Review CommentA
Idempotent
Inspect

Close ONE review comment WITHOUT a commit — for what a commit message cannot carry: a question answered, or a deliberate decision not to make the change, explained in note. When a commit does address the comment, prefer the trailer AgentGrid-Resolves: <reviewId>#<index> in its message: that records which commit resolved it, which this cannot. Closing ends the exchange — if you are asking the reviewer something rather than answering them, use review-reply instead, which leaves the comment open for them to come back to. You may close a comment addressed to you, or one marked unassigned. Safe to retry — a comment already closed answers resolved: false rather than failing.

Inputs: commentId (required), note.

workspace-list_artifactsList Workspace ArtifactsA
Read-only
Inspect

List the artifacts you can read, most recently updated first — across every workspace you can access, or in one with workspaceId. Each row's sessionId is what artifact-explore, artifact-edit and artifact-get_git_token take.

Returns: { success: true, artifacts: [{ name, type: app | knowledge | markdown | asset, sessionId, workspaceId, workspaceName, updatedAt }], truncated, nextSteps }. Rows cover only what you can access, and the listing is capped (truncated: true means more exist): report what you found, never a total, and never say there are no artifacts.

Inputs: workspaceId.

workspace-list_workspacesList WorkspacesA
Read-only
Inspect

List the workspaces you can access and what you may do in each. Takes no parameters. Workspace ids are opaque: this names the ones you can reach, and a workspace-list_artifacts row carries the id its artifact is filed in.

Returns: { success: true, workspaces: [{ workspaceId, name, isGeneral, capabilities }], nextSteps } — and for an agent also agent { name, accessMode, manageUrl } and otherWorkspacesCount. capabilities is a subset of read, write, share, publish; you need write to create or change an artifact in that workspace. isGeneral marks the General workspace. accessMode "all" means you follow everything your human can access, including workspaces created later. Only when you can reach more than one team does the answer name teams: defaultTeam { id, name } is the one you were connected from, and each workspace carries its team { id, name }. Work in defaultTeam unless the user names another team; never ask the user which team. An empty list, or otherWorkspacesCount > 0, means there is more you were not given, not that there is none: give the user manageUrl, where they can grant it.

Inputs: no named parameters.

workspace-move_artifactMove Artifact To Another WorkspaceA
DestructiveIdempotent
Inspect

Re-file an EXISTING artifact under a different workspace of the same team (never across teams). The content stays put: the same git repository, sessionId, URL, history and live deployment. What changes is where it is listed and who reaches it — the destination's access decides that from here on, handing the artifact to the people who reach that workspace and taking it from the rest. Say what a move will change before making one a human did not ask for.

You need write on the artifact AND write in the destination. Moving an artifact where it already is succeeds and leaves everything as it was.

Returns: { success: true, sessionId, workspaceId, workspaceName, nextSteps }.

Inputs: sessionId (required), workspaceId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.