schemeog-mcp 3.1.0 β†’ 3.2.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 +58 -3
  2. package/index.js +29 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,45 @@
1
- # SchemeOG MCP Server v2.9
1
+ # SchemeOG MCP Server v3.1
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
+
5
35
  ## Features
6
36
 
7
37
  - **17 commands** for schemas, projects, tags, and import/export
8
38
  - **Auto-refresh**: Browser automatically reloads when MCP updates schema
9
39
  - **Smart positioning**: Existing elements keep their positions, new elements get auto-layout
10
40
  - **No coordinate conflicts**: MCP ignores x/y to prevent overlapping cards
41
+ - **Shared links support**: Open schemas via public `/shared/` URLs (read-only)
42
+ - **Large schema handling**: Automatic detection and preview for schemas >100 elements
11
43
 
12
44
  ## 17 Commands
13
45
 
@@ -248,15 +280,38 @@ When you edit a schema via MCP while viewing it in the browser:
248
280
  You can open any schema by URL using `get_schema_by_url`:
249
281
 
250
282
  ```
251
- # Canvas URL (основной Ρ„ΠΎΡ€ΠΌΠ°Ρ‚)
283
+ # Canvas URL (main format) β€” full access
252
284
  https://diagrams.love/canvas?schema=abc123
253
285
 
254
- # Shared link
286
+ # Shared link β€” read-only access
255
287
  https://diagrams.love/shared/xyz789
256
288
  ```
257
289
 
258
290
  Just paste the URL and the MCP will extract the schema ID automatically.
259
291
 
292
+ ### Shared Links (Read-Only)
293
+
294
+ When you open a schema via `/shared/` URL:
295
+ - βœ… You can **view** the schema content
296
+ - βœ… You can **analyze** the structure
297
+ - βœ… You can **count** elements and connections
298
+ - ❌ You **cannot edit** β€” need access to original schema
299
+
300
+ This is useful for:
301
+ - Analyzing schemas shared by others
302
+ - Answering questions about schema structure
303
+ - Getting inspiration for your own diagrams
304
+
305
+ ## Large Schema Handling
306
+
307
+ For schemas with >100 elements or >50KB data:
308
+
309
+ - `get_schema` shows first 5 elements as preview
310
+ - `get_schema_by_url` shows statistics only
311
+ - Full data available via `export_schema_to_json`
312
+
313
+ This prevents context overflow in Claude Code when working with large diagrams.
314
+
260
315
  ## Schema Methodology
261
316
 
262
317
  Schema = complete tree of **ACTIONS** and **CONSEQUENCES**:
package/index.js CHANGED
@@ -505,11 +505,37 @@ const TOOLS = [
505
505
  // ========== Π‘Π₯Π•ΠœΠ« ==========
506
506
  {
507
507
  name: "list_schemas",
508
- description: `ΠŸΠΎΠ»ΡƒΡ‡ΠΈΡ‚ΡŒ список всСх схСм ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ.
508
+ description: `Get list of all user schemas.
509
509
 
510
- Π’ΠΎΠ·Π²Ρ€Π°Ρ‰Π°Π΅Ρ‚: ID, Π½Π°Π·Π²Π°Π½ΠΈΠ΅, описаниС, ΠΏΡ€ΠΎΠ΅ΠΊΡ‚, Π΄Π°Ρ‚Ρƒ обновлСния ΠΊΠ°ΠΆΠ΄ΠΎΠΉ схСмы.
510
+ Returns: ID, name, description, project, update date for each schema.
511
511
 
512
- Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠΉ эту ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ Ρ‡Ρ‚ΠΎΠ±Ρ‹ ΡƒΠ·Π½Π°Ρ‚ΡŒ ΠΊΠ°ΠΊΠΈΠ΅ схСмы Π΅ΡΡ‚ΡŒ Ρƒ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ.`,
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.`,
513
539
  inputSchema: {
514
540
  type: "object",
515
541
  properties: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schemeog-mcp",
3
- "version": "3.1.0",
3
+ "version": "3.2.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",