Line9
Server Details
Render Mermaid with Line9 layout in your assistant.
- Status
- Healthy
- Uptime
- 100.0% over 22 days
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
TDQS
Scored across 3 tools
Each tool has a distinct role: list_diagrams discovers, get_diagram retrieves published diagrams, render_diagram previews arbitrary Mermaid. There is mild overlap in that get_diagram also 'shows it rendered,' but the descriptions clearly delimit published-fetch vs. render-anything-in-progress.
All three tools follow a clean verb_noun snake_case pattern (get_diagram, list_diagrams, render_diagram) with no deviating conventions.
Three tools is on the lean side, but the connector is deliberately read/render-only and each tool earns its place. Nothing is redundant or missing within the declared scope.
Discovery, fetch and render are covered, but there is no write path — the connector cannot create, save or publish diagrams, forcing the user to leave the agent and finish in the Line9 UI. This is disclosed, yet it leaves the lifecycle notably incomplete.
Available Tools
3 toolsget_diagramGet a diagramARead-onlyIdempotentInspect
Fetch a published diagram's current Mermaid source by name or slug, and show it rendered. The returned source is stamped with the diagram's identity — keep the line9: frontmatter block when you edit it so that Line9 recognises the diagram when it is opened and published there instead of creating a new one. Requires Line9 sign-in. This connector cannot publish or save. To publish, the user opens the diagram in Line9 (the open_url link) and publishes there — not with the Line9 CLI.
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | Yes | Diagram name, slug, or trailing public_ref. |
Output Schema
| Name | Required | Description |
|---|---|---|
| svg | No | |
| path | No | |
| plan | No | |
| error | No | |
| width | No | |
| config | No | |
| height | No | |
| source | No | |
| status | Yes | |
| diagram | No | |
| controls | No | |
| diagrams | No | |
| open_url | No | |
| warnings | No | |
| signed_in | No | |
| truncated | No | |
| watermark | No | |
| edge_count | No | |
| node_count | No | |
| orientation | No | |
| render_mode | No | |
| stop_reason | No | |
| diagram_type | No | |
| engine_version | No | |
| schema_version | Yes | |
| fallback_reason | No | |
| mermaid_version | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the auth requirement, the hard boundary that this connector cannot publish or save, and most importantly the identity-stamping behavior of the `line9:` frontmatter that must be preserved to avoid creating a duplicate diagram on publish.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose is front-loaded in the first sentence, and the follow-on sentences earn their place by covering the frontmatter contract, auth, and publish boundary. It is somewhat dense with workflow/CLI tangents, but there is little redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read tool with an output schema (which the description correctly does not duplicate), the definition covers the auth prerequisite, prohibited actions, and the crucial frontmatter-preservation rule an agent needs to act correctly. Nothing material is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the single `diagram` parameter is fully documented by the schema (name, slug, or trailing public_ref). The description merely echoes 'by name or slug', adding no new meaning and actually omitting the public_ref option the schema lists, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence gives a specific verb and resource: fetch a published diagram's Mermaid source by name or slug and show it rendered. That clearly separates it from list_diagrams, and implicitly from render_diagram (fetch vs. render-a-given-source), though no sibling is named explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives real context — Line9 sign-in is required, this connector cannot publish or save, and publishing happens in the Line9 web UI via open_url rather than the CLI. However, it never states when to choose get_diagram over render_diagram or list_diagrams, so tool-selection guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_diagramsList my diagramsARead-onlyIdempotentInspect
List the diagrams published in the user's Line9 workspace(s): name, visibility, version, last update and permalink. Use it to find a diagram before get_diagram. Requires Line9 sign-in.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (1–100; default 50). | |
| query | No | Case-insensitive substring of the diagram name. |
Output Schema
| Name | Required | Description |
|---|---|---|
| svg | No | |
| path | No | |
| plan | No | |
| error | No | |
| width | No | |
| config | No | |
| height | No | |
| source | No | |
| status | Yes | |
| diagram | No | |
| controls | No | |
| diagrams | No | |
| open_url | No | |
| warnings | No | |
| signed_in | No | |
| truncated | No | |
| watermark | No | |
| edge_count | No | |
| node_count | No | |
| orientation | No | |
| render_mode | No | |
| stop_reason | No | |
| diagram_type | No | |
| engine_version | No | |
| schema_version | Yes | |
| fallback_reason | No | |
| mermaid_version | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context: it is scoped to the user's own workspace(s) and requires authentication, which annotations do not express.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero filler, with the resource and returned fields front-loaded and the routing guidance last. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so enumerating return fields is lightly redundant, but the auth prerequisite and workspace scoping fill the remaining gaps. Nothing an agent needs in order to invoke this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% – both 'limit' (range and default 50) and 'query' (case-insensitive substring) are fully documented in the schema. The description adds no parameter syntax or format detail beyond that, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb (List) plus resource (diagrams) plus scope (published in the user's Line9 workspace(s)) and an enumeration of the returned fields. It explicitly routes to the sibling tool with 'find a diagram before `get_diagram`', so an agent can separate it from get_diagram and render_diagram immediately.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives a clear use case ('find a diagram before `get_diagram`') and names the follow-up tool, plus a prerequisite ('Requires Line9 sign-in'). It stops short of stating when-not to use it (e.g., when the diagram id is already known), so it is strong but not fully explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
render_diagramRender diagramARead-onlyIdempotentInspect
Render Mermaid source with Line9's layout engine. Call this whenever you write or change Mermaid and the user should see the result. Flowcharts and sequence diagrams get Line9's layout; other Mermaid kinds are rendered with Mermaid's own layout and flagged as such. Returns a short verdict — kind, size, warnings, or a parse error with its line and column — plus an "Open in Line9" link. On a parse error, fix the named line and call again. Assistants that support MCP Apps show the diagram in a panel; there, do not paste the SVG or repeat the source in your reply. In an assistant with no panel (a terminal or editor), reply with the verdict line and the open_url link — that link is the only way the user sees the diagram. Write flowcharts as flowchart LR unless the user asks for top-to-bottom; chat panels are wide and short. No sign-in needed; renders carry a small Line9 mark unless the user is signed in to Line9 Pro. Set theme, orientation, spacing and legend in the source itself (line9: frontmatter; flowchart LR), never as arguments. This connector cannot publish or save. To publish, the user opens the diagram in Line9 (the open_url link) and publishes there — not with the Line9 CLI.
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Opaque plan from a previous result (widget use). A hint only: skips the solve when it still fits the source. | |
| source | Yes | Mermaid source. Optional YAML frontmatter is honoured — set it in the source, never as arguments: `title`, and a nested `line9:` block with `theme` (one of `boardroom`, `linen`, `blueprint`), `scale: { node, spacing }` and `flowchart: { legend: on | off }`. The flowchart direction directive is also honoured. Maximum 100000 characters. |
Output Schema
| Name | Required | Description |
|---|---|---|
| svg | No | |
| path | No | |
| plan | No | |
| error | No | |
| width | No | |
| config | No | |
| height | No | |
| source | No | |
| status | Yes | |
| diagram | No | |
| controls | No | |
| diagrams | No | |
| open_url | No | |
| warnings | No | |
| signed_in | No | |
| truncated | No | |
| watermark | No | |
| edge_count | No | |
| node_count | No | |
| orientation | No | |
| render_mode | No | |
| stop_reason | No | |
| diagram_type | No | |
| engine_version | No | |
| schema_version | Yes | |
| fallback_reason | No | |
| mermaid_version | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantial independent context: no sign-in required, a Line9 watermark for non-Pro users, the inability to publish or save, the required source-side configuration, and the panel-vs-terminal reply behavior. This is exactly the value-add a description should provide on top of annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and the core call trigger are front-loaded, and most sentences carry actionable detail (error re-call loop, panel branching, publish limitation). It is dense and a few clauses could be trimmed, but almost nothing is padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite an output schema existing, the description wisely explains the verdict shape (kind, size, warnings, parse error with line/column, plus open_url) because agent reply behavior depends on it. Combined with the panel/no-panel branching and publishing constraints, an agent has everything needed to call this correctly and handle the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so both parameters are already documented, and the description's 'set it in the source, never as arguments' guidance largely restates the schema's own note on frontmatter. The `plan` parameter — including that it is a hint that may be skipped — is not addressed in the description at all, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Render Mermaid source with Line9's layout engine') and immediately scopes the behavior: flowcharts/sequence diagrams get Line9 layout, other kinds fall back to Mermaid's own layout and are flagged. An agent knows exactly what this produces and can distinguish it from the read-only siblings get_diagram/list_diagrams.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit trigger ('Call this whenever you write or change Mermaid and the user should see the result') plus clear conditional handling: fix the named line on parse error and re-call, and branch replies by whether an MCP Apps panel exists. It does not, however, mention when to prefer the sibling tools get_diagram or list_diagrams, so sibling routing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
- Changed
get_diagram1 field changed- changed
Output schema / properties / fallback_reason / enumPrevious value: -[ - "unsupported_diagram_kind", - "node_cap_exceeded" -]New value: +[ + "unsupported_diagram_kind", + "node_cap_exceeded", + "engine_panic" +]
- Changed
list_diagrams1 field changed- changed
Output schema / properties / fallback_reason / enumPrevious value: -[ - "unsupported_diagram_kind", - "node_cap_exceeded" -]New value: +[ + "unsupported_diagram_kind", + "node_cap_exceeded", + "engine_panic" +]
- Changed
render_diagram1 field changed- changed
Output schema / properties / fallback_reason / enumPrevious value: -[ - "unsupported_diagram_kind", - "node_cap_exceeded" -]New value: +[ + "unsupported_diagram_kind", + "node_cap_exceeded", + "engine_panic" +]
3 tool updates
- First observed
get_diagram - First observed
list_diagrams - First observed
render_diagram
Publisher details
- Operator
- Line9 · Publisher source
- Operator website
- https://line9.ai · Publisher source
- Vendor relationship
- First-party
- Documentation
- https://line9.ai/docs/mcp · Publisher source
- Trust center
- https://line9.ai/legal/privacy · Publisher source
- Restrictions
- No account or authorisation is needed to use the Line9 MCP connector. With an account, access to previously published diagrams is made available in your AI assistant UI.
Related MCP Connectors
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.
Create workflow, sequence, architecture, and mind map diagrams via AI assistants.
Related MCP Servers
- AlicenseAqualityCmaintenanceLets agents construct Mermaid diagrams from structured JSON IR and render them as PNG or SVG.3MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to generate and render Mermaid diagrams (flowcharts, sequence diagrams, etc.) as PNG/SVG images with local file saving and HTTP access URLs. Supports batch processing and intelligent caching for efficient diagram creation.119 npm1MIT
- AlicenseBqualityDmaintenance❤️ Generate mermaid diagram and chart with AI MCP dynamically.14,421 npm642TypeScriptMIT
- AlicenseNot gradedqualityCmaintenanceRenders Mermaid diagrams in an interactive viewer with pan, zoom, and split-view source editing, enabling LLM hosts to create and edit diagrams through natural language and synchronize updates back to the conversation.126 npm1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.