io.github.alexeibespalov/trident

io.github.alexeibespalov/trident · v1.0.2 · productivity

io.github.alexeibespalov/trident is healthy: it completed an MCP handshake in 494 ms and exposes 24 tools.

Create and edit collaborative architecture diagrams with any AI assistant using the Trident 2D DSL.

Endpoint: https://mcp.tridentchart.com/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count24
Latency494 ms
Last checked (UTC)2026-11-30T22:55:16.945Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T22:55:16.945ZHealthy494
2026-11-28T13:05:13.079ZHealthy563
2026-11-26T05:05:28.316ZHealthy584
2026-11-23T22:50:55.410ZHealthy1716
2026-11-21T18:40:25.150ZHealthy627
2026-11-19T15:55:15.183ZHealthy1221
2026-11-17T14:15:27.046ZHealthy480
2026-11-15T14:00:47.356ZHealthy744
2026-11-13T15:06:05.255ZHealthy1879
2026-11-11T17:10:38.693ZHealthy989
2026-11-09T20:20:39.001ZHealthy815
2026-11-08T00:55:21.588ZHealthy726
2026-11-06T06:35:47.534ZHealthy401
2026-11-04T13:00:26.970ZHealthy1995
2026-11-02T20:20:32.779ZHealthy1297
2026-11-01T04:50:23.259ZHealthy1002
2026-10-30T14:15:43.169ZHealthy496
2026-10-29T00:25:20.576ZHealthy1139
2026-10-27T11:05:10.308ZHealthy949
2026-10-25T23:05:06.914ZHealthy328

Tools (24)

get_trident_specReturns the complete Trident 2D specification including grammar, syntax rules, coordinate system, containers, nodes, connections, shapes, and icon reference. Use this when you need deep understanding of the Trident DSL.
get_generator_guideReturns LLM-optimized instructions for generating Trident diagrams, including quick reference, critical rules (especially Y-axis!), spacing guidelines, common patterns, color conventions, and error prevention checklist. Use this before generating Trident markup (a whole diagram as text). Not needed
get_comprehensive_exampleReturns a comprehensive Trident example demonstrating all syntax features including containers, nodes (traditional and bracket-style syntax), diamond/rectangle shapes, icons, connections with labels, routing modes, cards, and text annotations. Use this to see all features in action.
validate_tridentReturns a comprehensive validation checklist for Trident diagrams covering syntax rules, semantic rules, best practices, and common mistakes to avoid. Use this after generating a diagram to verify correctness.
get_quick_startReturns a condensed 2-minute quick-start guide with minimal working examples, core syntax reference, and key concepts. Use this for rapid learning when you need to generate simple diagrams quickly.
open_documentOpens a live Trident document and returns its full contents as Trident markup DSL — the human-readable text format used to author diagrams. Use this to READ and UNDERSTAND the diagram: its structure, labels, connections, and layout. Do NOT rely on this to enumerate entity IDs for programmatic use —
get_document_summaryReturns a complete structured summary of a Trident document as JSON: all node IDs, container IDs, connection IDs, annotation IDs, labels, entity counts, the position of every node (x/y centre) and container (x/y centre plus w/h), and nextFree — the clear space right of and below the diagram. Use thi
get_recent_changesReturns the recent change history for a live Trident document. Each entry shows who made the change, what was changed, and when. Useful for understanding what edits have been made by AI agents or human collaborators. Requires a valid access token.
draw_groupDraws ONE region of the diagram in a single call: a container, the nodes inside it, and the edges that touch those nodes. This is THE way to build a diagram in a live document. A human is watching the canvas, and the server draws the items one at a time in the order a person would — the container, t
add_nodeAdds ONE node to a live Trident document — for small edits to an existing diagram. To build a region (a container with its nodes and edges) use draw_group instead. The node appears immediately for all collaborators. The result reports where things landed: "placed" (centre x/y and size w/h), the "con
update_nodeUpdates properties of an existing node in a live Trident document. Only the fields you provide are changed; others are preserved. Use get_document_summary to get all node IDs before calling this. Requires a valid editor access token.
delete_nodeRemoves a node from a live Trident document. All connections to/from this node are also removed automatically. Use get_document_summary to get all node IDs before calling this. This action is reversible via Ctrl+Z in the Trident editor. Requires a valid editor access token.
add_containerAdds ONE empty container (group/swimlane) to a live Trident document. When you are building a diagram, do NOT create the containers first and fill them later — use draw_group, which draws a container together with its nodes and edges. The result reports where things landed: "placed" (centre x/y and
update_containerUpdates properties of an existing container in a live Trident document. Only provided fields are changed. Use get_document_summary to get all container IDs before calling this. Requires a valid editor access token. This is also how you RESIZE a container: set width/height (and x/y to keep it centred
delete_containerRemoves a container from a live Trident document. By default, nodes inside are detached (kept on the diagram without a container). Pass deleteNodes: true to remove the container's nodes as well. Use get_document_summary to get all container IDs before calling this. Requires a valid editor access tok
add_connectionAdds a connection (arrow/edge) between two nodes or containers in a live Trident document. Draw an edge as soon as both of its ends exist — do not save the connections for the end (draw_group does this for you). Use get_document_summary to get valid source and target IDs before calling this. Require
delete_connectionRemoves a connection from a live Trident document. Provide either the connectionId, or both source and target node IDs to find and remove the matching connection. Use get_document_summary to get all connection IDs before calling this. Requires a valid editor access token.
get_document_pngRenders the current state of a live Trident document as a PNG image directly from the Yjs collaborative session — bypassing Firestore, which may be stale. Returns a base64-encoded PNG. Use this to visually verify that diagram edits look correct before or after making changes.
add_annotationAdds a text annotation to a live Trident document. Two visual styles: style:stickyNote (default — post-it card with colored background, good for notes/callouts) or style:textBody (plain transparent text, good for diagram titles and section labels). Ideal for architectural notes, decision records, se
update_annotationUpdates an existing text annotation in a live Trident document. Only the fields you provide are changed. Use get_document_summary to get all annotation IDs before calling this. Requires a valid editor access token.
delete_annotationRemoves a text annotation from a live Trident document. Use get_document_summary to get all annotation IDs before calling this. Requires a valid editor access token.
update_canvas_graphicRepositions or resizes a background image (canvas graphic) in a live Trident document. Use open_document to get the canvas graphic ID and current dimensions — it appears as: image <id> "<url>" at (x, y) width:W height:H. The position at (x, y) is the TOP-LEFT corner. USE THIS BEFORE placing many geo
make_suggestionPosts a visible suggestion to human collaborators watching the document WITHOUT making any changes to the diagram. Use this when you observe something worth flagging — a potential mistake, an improvement, or a question — but want the human to decide. The suggestion appears as a bold "SUGGESTION:" ca
explainDelivers an explanation payload to human collaborators watching the document, optionally anchored to a specific node or container. Use this when you want to explain what a diagram element represents, why it exists, or how it relates to other parts of the system — without suggesting a change. The exp