schemeog-mcp 3.1.0 → 3.1.1

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 (2) hide show
  1. package/README.md +28 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
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
 
@@ -8,6 +8,8 @@ MCP server for [Diagrams.love](https://diagrams.love) — create diagrams and fl
8
8
  - **Auto-refresh**: Browser automatically reloads when MCP updates schema
9
9
  - **Smart positioning**: Existing elements keep their positions, new elements get auto-layout
10
10
  - **No coordinate conflicts**: MCP ignores x/y to prevent overlapping cards
11
+ - **Shared links support**: Open schemas via public `/shared/` URLs (read-only)
12
+ - **Large schema handling**: Automatic detection and preview for schemas >100 elements
11
13
 
12
14
  ## 17 Commands
13
15
 
@@ -248,15 +250,38 @@ When you edit a schema via MCP while viewing it in the browser:
248
250
  You can open any schema by URL using `get_schema_by_url`:
249
251
 
250
252
  ```
251
- # Canvas URL (основной формат)
253
+ # Canvas URL (main format) — full access
252
254
  https://diagrams.love/canvas?schema=abc123
253
255
 
254
- # Shared link
256
+ # Shared link — read-only access
255
257
  https://diagrams.love/shared/xyz789
256
258
  ```
257
259
 
258
260
  Just paste the URL and the MCP will extract the schema ID automatically.
259
261
 
262
+ ### Shared Links (Read-Only)
263
+
264
+ When you open a schema via `/shared/` URL:
265
+ - ✅ You can **view** the schema content
266
+ - ✅ You can **analyze** the structure
267
+ - ✅ You can **count** elements and connections
268
+ - ❌ You **cannot edit** — need access to original schema
269
+
270
+ This is useful for:
271
+ - Analyzing schemas shared by others
272
+ - Answering questions about schema structure
273
+ - Getting inspiration for your own diagrams
274
+
275
+ ## Large Schema Handling
276
+
277
+ For schemas with >100 elements or >50KB data:
278
+
279
+ - `get_schema` shows first 5 elements as preview
280
+ - `get_schema_by_url` shows statistics only
281
+ - Full data available via `export_schema_to_json`
282
+
283
+ This prevents context overflow in Claude Code when working with large diagrams.
284
+
260
285
  ## Schema Methodology
261
286
 
262
287
  Schema = complete tree of **ACTIONS** and **CONSEQUENCES**:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schemeog-mcp",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
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",