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.
- package/README.md +58 -3
- package/index.js +29 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,45 @@
|
|
|
1
|
-
# SchemeOG MCP Server
|
|
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
|
-
|
|
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: {},
|