schemeog-mcp 3.2.0 β 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -31
- package/index.js +23 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,37 +1,7 @@
|
|
|
1
|
-
# SchemeOG MCP Server v3.
|
|
1
|
+
# SchemeOG MCP Server v3.2
|
|
2
2
|
|
|
3
3
|
MCP server for [Diagrams.love](https://diagrams.love) β create diagrams and flowcharts with AI.
|
|
4
4
|
|
|
5
|
-
## π ASCII Diagrams vs SchemeOG β When to Use What
|
|
6
|
-
|
|
7
|
-
**β
USE ASCII DIAGRAMS (text in chat) for:**
|
|
8
|
-
- Quick architecture explanation
|
|
9
|
-
- Temporary diagram for discussion
|
|
10
|
-
- Simple flowcharts in conversation
|
|
11
|
-
- When user just needs to understand something
|
|
12
|
-
|
|
13
|
-
**Example ASCII:**
|
|
14
|
-
```
|
|
15
|
-
βββββββββββββββ βββββββββββββββ βββββββββββββββ
|
|
16
|
-
β Request ββββββΆβ Validate ββββββΆβ Process β
|
|
17
|
-
βββββββββββββββ βββββββββββββββ ββββββββ¬βββββββ
|
|
18
|
-
β
|
|
19
|
-
βββββββββββββββ β
|
|
20
|
-
β Response ββββββββββββββ
|
|
21
|
-
βββββββββββββββ
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**β‘οΈ USE SchemeOG (this MCP) ONLY when:**
|
|
25
|
-
- User explicitly asks to CREATE/SAVE a schema
|
|
26
|
-
- User wants to EDIT an existing schema
|
|
27
|
-
- Schema needs to be SHARED with team
|
|
28
|
-
- User flow for documentation
|
|
29
|
-
|
|
30
|
-
**β οΈ DO NOT suggest SchemeOG automatically!**
|
|
31
|
-
ASCII diagrams are for quick explanations, SchemeOG is for persistent cloud storage.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
5
|
## Features
|
|
36
6
|
|
|
37
7
|
- **17 commands** for schemas, projects, tags, and import/export
|
|
@@ -145,6 +115,29 @@ In `~/.claude.json` (or Cline settings):
|
|
|
145
115
|
**Element types:**
|
|
146
116
|
- `card` β regular process/action card
|
|
147
117
|
- `condition` β decision point (diamond shape)
|
|
118
|
+
- `ascii` β ASCII diagram card (renders monospace ASCII art)
|
|
119
|
+
|
|
120
|
+
### ASCII Card Type
|
|
121
|
+
|
|
122
|
+
The `ascii` type renders ASCII diagrams inside a card with monospace font. Requires `asciiContent` field.
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"id": "flow-1",
|
|
127
|
+
"type": "ascii",
|
|
128
|
+
"title": "Request Flow",
|
|
129
|
+
"asciiContent": "βββββββββββ βββββββββββ\nβ Request ββββββΆβ Process β\nβββββββββββ βββββββββββ",
|
|
130
|
+
"borderColor": "purple"
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**ASCII card features:**
|
|
135
|
+
- Monospace font rendering
|
|
136
|
+
- Auto-calculated width/height based on content
|
|
137
|
+
- Max 2000 characters for `asciiContent`
|
|
138
|
+
- Default border color: purple
|
|
139
|
+
- Supports box-drawing characters: `β β β β β β β β€ β¬ β΄ βΌ`
|
|
140
|
+
- Supports arrows: `βΆ β βΌ β² β β β β`
|
|
148
141
|
|
|
149
142
|
**Completion status (`completed`):**
|
|
150
143
|
- `true` β card is marked as completed (done)
|
package/index.js
CHANGED
|
@@ -509,33 +509,7 @@ const TOOLS = [
|
|
|
509
509
|
|
|
510
510
|
Returns: ID, name, description, project, update date for each schema.
|
|
511
511
|
|
|
512
|
-
Use this command to see what schemas the user has
|
|
513
|
-
|
|
514
|
-
---
|
|
515
|
-
|
|
516
|
-
π ASCII DIAGRAMS vs SchemeOG β WHEN TO USE WHAT:
|
|
517
|
-
|
|
518
|
-
β
USE ASCII DIAGRAMS (text in chat) for:
|
|
519
|
-
- Quick architecture explanation
|
|
520
|
-
- Temporary diagram for discussion
|
|
521
|
-
- Simple flowcharts in conversation
|
|
522
|
-
- When user just needs to understand something
|
|
523
|
-
|
|
524
|
-
Example ASCII:
|
|
525
|
-
\`\`\`
|
|
526
|
-
βββββββββββ βββββββββββ
|
|
527
|
-
β Request ββββββΆβ Process β
|
|
528
|
-
βββββββββββ βββββββββββ
|
|
529
|
-
\`\`\`
|
|
530
|
-
|
|
531
|
-
β‘οΈ USE SchemeOG (this MCP) ONLY when:
|
|
532
|
-
- User explicitly asks to CREATE/SAVE a schema
|
|
533
|
-
- User wants to EDIT an existing schema
|
|
534
|
-
- Schema needs to be SHARED with team
|
|
535
|
-
- User flow for documentation
|
|
536
|
-
|
|
537
|
-
β οΈ DO NOT suggest SchemeOG automatically!
|
|
538
|
-
ASCII diagrams are for quick explanations, SchemeOG is for persistent cloud storage.`,
|
|
512
|
+
Use this command to see what schemas the user has.`,
|
|
539
513
|
inputSchema: {
|
|
540
514
|
type: "object",
|
|
541
515
|
properties: {},
|
|
@@ -623,17 +597,29 @@ ASCII diagrams are for quick explanations, SchemeOG is for persistent cloud stor
|
|
|
623
597
|
- elements: ΠΌΠ°ΡΡΠΈΠ² ΡΠ»Π΅ΠΌΠ΅Π½ΡΠΎΠ² (ΡΠΎ ΡΠ²ΡΠ·ΡΠΌΠΈ Π²Π½ΡΡΡΠΈ)
|
|
624
598
|
- tagsDictionary: ΡΠΏΡΠ°Π²ΠΎΡΠ½ΠΈΠΊ ΡΠ΅Π³ΠΎΠ² (ΠΎΠΏΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ)
|
|
625
599
|
|
|
626
|
-
|
|
600
|
+
Element format:
|
|
601
|
+
{
|
|
602
|
+
"id": "unique_id", // unique ID
|
|
603
|
+
"type": "card", // card, condition (diamond), or ascii (ASCII diagram card)
|
|
604
|
+
"title": "Title", // card title
|
|
605
|
+
"color": "light_blue", // background: white, light_blue, light_green, light_yellow, light_orange, light_red, light_purple, light_gray, light_pink, light_teal
|
|
606
|
+
"borderColor": "blue", // border: default, blue, green, orange, purple, red, teal, yellow, gray, black
|
|
607
|
+
"tags": ["tag1"], // tag names array (optional)
|
|
608
|
+
"description": "Desc", // detailed description (optional)
|
|
609
|
+
"asciiContent": "...", // ASCII diagram content (REQUIRED for type: "ascii")
|
|
610
|
+
"connections": [{"to": "target_id", "label": "label"}] // outgoing connections (optional)
|
|
611
|
+
// DO NOT specify x, y β auto-layout calculates them!
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
ASCII CARD TYPE (type: "ascii"):
|
|
615
|
+
For rendering ASCII diagrams inside a card. Requires "asciiContent" field.
|
|
616
|
+
Example:
|
|
627
617
|
{
|
|
628
|
-
"id": "
|
|
629
|
-
"type": "
|
|
630
|
-
"title": "
|
|
631
|
-
"
|
|
632
|
-
"borderColor": "
|
|
633
|
-
"tags": ["ΡΠ΅Π³1"], // ΠΌΠ°ΡΡΠΈΠ² Π½Π°Π·Π²Π°Π½ΠΈΠΉ ΡΠ΅Π³ΠΎΠ² (ΠΎΠΏΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ)
|
|
634
|
-
"description": "ΠΠΏΠΈΡΠ°Π½ΠΈΠ΅", // ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΠΎΠ΅ ΠΎΠΏΠΈΡΠ°Π½ΠΈΠ΅ (ΠΎΠΏΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ)
|
|
635
|
-
"connections": [{"to": "target_id", "label": "ΠΏΠΎΠ΄ΠΏΠΈΡΡ"}] // ΠΠ‘Π₯ΠΠΠ―Π©ΠΠ Π‘ΠΠ―ΠΠ (ΠΎΠΏΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ)
|
|
636
|
-
// ΠΠ ΡΠΊΠ°Π·ΡΠ²Π°ΠΉ x, y β ΠΎΠ½ΠΈ ΡΠ°ΡΡΡΠΈΡΠ°ΡΡΡΡ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ!
|
|
618
|
+
"id": "flow-1",
|
|
619
|
+
"type": "ascii",
|
|
620
|
+
"title": "Request Flow",
|
|
621
|
+
"asciiContent": "βββββββββββ βββββββββββ\\nβ Request ββββββΆβ Process β\\nβββββββββββ βββββββββββ",
|
|
622
|
+
"borderColor": "purple"
|
|
637
623
|
}
|
|
638
624
|
|
|
639
625
|
Π‘ΠΠ―ΠΠ (inline ΡΠΎΡΠΌΠ°Ρ β Π²Π½ΡΡΡΠΈ ΡΠ»Π΅ΠΌΠ΅Π½ΡΠ°):
|