Flowchart From Text — Text-to-Mermaid Flowchart Generator
Convert structured text into Mermaid flowcharts and validate Mermaid diagram syntax.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~415Token(工具定義)
~1.3 KB典型回應大小
極小的注意力影響(128k 上下文的 0.32%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"flowchart": {
"url": "https://flowchartfromtext.com/api/mcp"
}
}
}遠端端點
https://flowchartfromtext.com/api/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢text_to_mermaid_flowchart(text, direction, title)
Deterministically convert a plain-text step list, numbered list, indented outline, or arrow chain (A -> B -> C) with optional Yes/No decision branches into valid Mermaid flowchart syntax, returning node and edge metadata. Pure rule-based engine with no LLM calls.
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"description": "Plain-text steps, numbered list, indented outline, or arrow chain (e.g. \"Start -> Valid Input? -> Yes: Save -> Done\")."
},
"direction": {
"type": "string",
"enum": [
"TD",
"TB",
"LR",
"RL",
"BT"
],
"default": "TD",
"description": "Optional Mermaid flowchart layout direction: TD (top-down), TB, LR (left-to-right), RL, or BT. Defaults to TD."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Optional short diagram title used for the suggested export filename and header metadata."
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢validate_mermaid_diagram(source)
Deterministically lint and analyze Mermaid diagram syntax (flowchart, sequence, ER, Gantt, mindmap, state). Detects diagram category, counts nodes and edges, and reports line-level structural syntax issues.
輸入結構描述
{
"type": "object",
"properties": {
"source": {
"type": "string",
"minLength": 1,
"maxLength": 12000,
"description": "Mermaid diagram source code to validate and analyze (e.g. \"flowchart TD\\n A[Start] --> B[End]\")."
}
},
"required": [
"source"
],
"additionalProperties": false
}社群
證據
近期觀測
已驗證未記錄版本2 個工具