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.
Files changed (3) hide show
  1. package/README.md +24 -31
  2. package/index.js +23 -37
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,37 +1,7 @@
1
- # SchemeOG MCP Server v3.1
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": "unique_id", // ΡƒΠ½ΠΈΠΊΠ°Π»ΡŒΠ½Ρ‹ΠΉ ID
629
- "type": "card", // card (ΠΊΠ°Ρ€Ρ‚ΠΎΡ‡ΠΊΠ°) ΠΈΠ»ΠΈ condition (Ρ€ΠΎΠΌΠ± Ρ€Π΅ΡˆΠ΅Π½ΠΈΡ)
630
- "title": "НазваниС", // Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΎΠΊ ΠΊΠ°Ρ€Ρ‚ΠΎΡ‡ΠΊΠΈ
631
- "color": "light_blue", // Ρ†Π²Π΅Ρ‚ Ρ„ΠΎΠ½Π°: white, light_blue, light_green, light_yellow, light_orange, light_red, light_purple, light_gray, light_pink, light_teal
632
- "borderColor": "blue", // Ρ†Π²Π΅Ρ‚ ΠΎΠ±Π²ΠΎΠ΄ΠΊΠΈ: default, blue, green, orange, purple, red, teal, yellow, gray, black
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 Ρ„ΠΎΡ€ΠΌΠ°Ρ‚ β€” Π²Π½ΡƒΡ‚Ρ€ΠΈ элСмСнта):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schemeog-mcp",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "MCP Server for Diagrams.love - Create and manage visual diagrams and flowcharts with AI assistance",
5
5
  "type": "module",
6
6
  "main": "index.js",