Zindex
Server Details
Immutable agent diagrams: create, edit, validate and render versioned diagrams over MCP.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
TDQS
Score is being calculated.
Available Tools
9 toolsdiagram_createSave a diagramInspect
Saves a new diagram from a DSP scene or Mermaid text and returns its id, revision 1, content hash and chain hash. key is your stable name for it, unique in the account: repeating a create with the same key and content returns the existing diagram, not a copy. brief stores context for the next agent. Versions are kept until you delete the diagram or the account.
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | e.g. payments-architecture | |
| brief | No | What the diagram shows, conventions to keep, decisions made | |
| scene | No | https://zindex.ai/schemas/scene.schema.json | |
| mermaid | No | erDiagram or flowchart (graph); drops subgraphs, edges to them and styles | |
| message | No | One line on why it was made |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | |
| key | No | |
| hash | Yes | |
| noop | No | |
| chain | Yes | |
| changed | No | |
| created | No | |
| replayed | No | |
| revision | Yes | |
| warnings | Yes |
diagram_deleteDelete a diagramDestructiveIdempotentInspect
Deletes a diagram with all its versions. It can be restored for 24 hours with undo; after that it is gone. Asks the user to confirm.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram's id or key | |
| undo | No | Restore a deleted diagram | |
| confirm | No | Token from CONFIRMATION_REQUIRED |
diagram_editChange a diagramIdempotentInspect
Changes a saved diagram as a new revision; old revisions are kept. Give baseRevision (the revision you last read), a one-line message, and ops (typed operations, https://zindex.ai/schemas/ops.schema.json), mermaid (the whole diagram edited from view mermaid; only differences apply), restoreRevision (an earlier version back), or brief. An edit with an error saves nothing; one that changes nothing returns noop. requestId makes a retry return the first result. A conflict lists what changed.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram's id or key | |
| ops | No | ||
| brief | No | Replace the brief; null removes it | |
| mermaid | No | The whole diagram as Mermaid; not with ops or restoreRevision | |
| message | Yes | One line on what the edit does and why | |
| requestId | No | Your id for this edit, e.g. a UUID | |
| baseRevision | Yes | ||
| restoreRevision | No | A revision number, or { asOf } for the version current at that instant |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | |
| key | No | |
| hash | Yes | |
| noop | No | |
| chain | Yes | |
| changed | No | |
| created | No | |
| replayed | No | |
| revision | Yes | |
| warnings | Yes |
diagram_findFind diagramsRead-onlyIdempotentInspect
Lists this account's diagrams, most recently changed first, with id, key, title and latest revision. query matches the title, key or brief, ignoring case.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 10 | |
| query | No | ||
| cursor | No | nextCursor from the previous page |
diagram_getRead a diagramRead-onlyIdempotentInspect
Reads a saved diagram by id or key. The default outline is a header (id, title, revision, time, hash), the brief, recent versions, one element per line nested by container, and edges as 'id: from -> to'. view 'dsp' returns the scene JSON; 'mermaid' returns Mermaid to edit and send back to diagram_edit. revision or asOf reads an earlier version; knownRevision, only what changed since; elements, only those elements and their neighbors.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram's id or key | |
| asOf | No | 2026-06-30 (end of day, UTC) or ISO 8601 with an offset | |
| view | No | Default outline | |
| cursor | No | nextCursor from the previous page | |
| elements | No | Element ids to focus on | |
| revision | No | Omit for the latest | |
| knownRevision | No | A revision you already know |
diagram_historyDiagram historyRead-onlyIdempotentInspect
Lists a diagram's versions, newest first, with time, client, message, chain hash and counts of elements added, changed and removed. compare, with from and to as revision numbers or dates, returns what changed between two versions instead.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The diagram's id or key | |
| limit | No | Default 10 | |
| cursor | No | nextCursor from the previous page | |
| compare | No |
diagram_renderRender a diagramRead-onlyIdempotentInspect
Returns SVG and PNG links to a version of a saved diagram, not the image, with its hashes and engine version. A published diagram's links are permanent, with url for its page; others last 7 days. preview adds a PNG for you. scene or mermaid instead of id previews an unsaved diagram.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The diagram's id or key | |
| asOf | No | 2026-06-30 (end of day, UTC) or ISO 8601 with an offset | |
| scene | No | https://zindex.ai/schemas/scene.schema.json | |
| mermaid | No | erDiagram or flowchart (graph); drops subgraphs, edges to them and styles | |
| preview | No | ||
| revision | No | Omit for the latest |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | No | |
| png | No | |
| svg | No | |
| url | No | |
| hash | No | |
| chain | No | |
| engine | No | |
| expires | No | |
| revision | No |
diagram_validateCheck a diagramRead-onlyIdempotentInspect
Checks a DSP scene or Mermaid text without saving it. Returns ok, errors and warnings, each with a code, the element when there is one, and a one-line fix.
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | https://zindex.ai/schemas/scene.schema.json | |
| mermaid | No | erDiagram or flowchart (graph); drops subgraphs, edges to them and styles |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
9 tool updates
- First observed
diagram_create - First observed
diagram_delete - First observed
diagram_edit - First observed
diagram_find - First observed
diagram_get - First observed
diagram_history - First observed
diagram_render - First observed
diagram_share - First observed
diagram_validate
Related MCP Connectors
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Create and edit architecture diagrams from your AI agent; get an SVG and a live editable canvas.
Build and run grounded business agents over MCP: agents, knowledge bases, skills, Storylines.
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA TypeScript stdio MCP server that lets agents read, import, propose connections for, and apply optimistic patches to versioned agent-draw diagram documents.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create and edit diagrams on a live canvas via MCP tools, including adding nodes, edges, and batching operations, with conflict detection via versioning.74,839 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server that lets agents draw 18 diagram types from JSON (no SVG, no headless browser)233 npm10MIT
- AlicenseNot gradedqualityAmaintenanceEnables planning and maintaining system architecture as typed, linted, live diagrams stored as files in the repo, with MCP tools for cataloging, creating, editing, linting, exporting, and viewing diagrams locally.8MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.