mcpserver.lol
registry/trident
Connection check verified live · 27h ago

trident

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

Tools 23
GitHub stars
Installs / wk 42
Licence
Transport streamable-http, stdio
Last checked 27h ago

Tools & capabilities

23 tools

Read from the running server on 27h ago.

add_annotation token*agentId*userNameannotation*action_explanation
Adds 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 (…
add_connection token*agentId*userNameconnection*action_explanation
Adds a connection (arrow/edge) between two nodes in a live Trident document. Use get_document_summary to get valid source and target node IDs before calling this. Requires a valid…
add_container token*agentId*userNamecontainer*action_explanation
Adds a new container (group/swimlane) to a live Trident document. Containers visually group related nodes. Use get_document_summary to check existing container IDs before adding to…
add_node node*token*agentId*userNameaction_explanation
Adds a new node (entity) to a live Trident document. The node appears immediately for all collaborators. Requires a valid editor access token. Before adding nodes: call open_docume…
delete_annotation can modify data token*agentId*userNameannotationId*action_explanation
Removes 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.
delete_connection can modify data token*sourcetargetagentId*userNameconnectionId +1
Removes 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_…
delete_container can modify data token*agentId*userNamecontainerId*deleteNodesaction_explanation
Removes 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…
delete_node can modify data token*nodeId*agentId*userNameaction_explanation
Removes 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. Thi…
explain read-only token*agentId*entityIduserName*explanation*
Delivers 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…
get_comprehensive_example read-only
Returns a comprehensive Trident example demonstrating all syntax features including containers, nodes (traditional and bracket-style syntax), diamond/rectangle shapes, icons, conne…
get_document_png read-only token*
Renders 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…
get_document_summary read-only token*
Returns a complete structured summary of a Trident document as JSON: all node IDs, container IDs, connection IDs, annotation IDs, labels, and entity counts. Use this for PROGRAMMAT…
get_generator_guide read-only
Returns LLM-optimized instructions for generating Trident diagrams, including quick reference, critical rules (especially Y-axis!), spacing guidelines, common patterns, color conve…
get_quick_start read-only
Returns 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…
get_recent_changes read-only limitsincetoken*
Returns 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…
get_trident_spec read-only
Returns the complete Trident 2D specification including grammar, syntax rules, coordinate system, containers, nodes, connections, shapes, and icon reference. Use this when you need…
make_suggestion token*agentId*entityIduserName*suggestion*
Posts 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…
open_document read-only token*agentIduserName
Opens 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 diag…
update_annotation token*agentId*changes*userNameannotationId*action_explanation
Updates 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. Req…
update_canvas_graphic token*agentId*changes*userNamecanvasGraphicId*action_explanation
Repositions 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…
update_container token*agentId*changes*userNamecontainerId*action_explanation
Updates 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. Req…
update_node token*nodeId*agentId*changes*userNameaction_explanation
Updates 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 befor…
validate_trident read-only diagram
Returns a comprehensive validation checklist for Trident diagrams covering syntax rules, semantic rules, best practices, and common mistakes to avoid. Use this after generating a d…