@decantr/mcp-server 1.0.3 → 1.0.4

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Decantr AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -10,9 +10,7 @@ Release channel: `stable`
10
10
 
11
11
  Design intelligence for AI-generated UI. Make Claude, Cursor, and Windsurf generate better code.
12
12
 
13
- <!-- demo-slot: embed asciinema cast or short GIF here once recorded -->
14
- <!-- e.g. [![asciicast](https://asciinema.org/a/XXXXXX.svg)](https://asciinema.org/a/XXXXXX) -->
15
-
13
+ ![Decantr MCP demo](https://raw.githubusercontent.com/decantr-ai/decantr/main/packages/mcp-server/assets/decantr-demo.gif)
16
14
 
17
15
  - **Structured design context** -- gives your AI assistant patterns, layouts, and component specs instead of letting it guess
18
16
  - **Drift detection** -- catches when generated code deviates from your design intent
package/dist/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import "./chunk-WN4I3BY6.js";
2
+ import "./chunk-UNVKE2YC.js";
@@ -1272,7 +1272,7 @@ async function handleTool(name, args) {
1272
1272
  meta: {
1273
1273
  archetype: bestMatch,
1274
1274
  target: framework,
1275
- platform: { type: "spa", routing: "hash" },
1275
+ platform: { type: "spa", routing: "history" },
1276
1276
  guard: { mode: "strict", dna_enforcement: "error", blueprint_enforcement: "warn" }
1277
1277
  }
1278
1278
  };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import "./chunk-WN4I3BY6.js";
1
+ import "./chunk-UNVKE2YC.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decantr/mcp-server",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "mcpName": "io.github.decantr-ai/mcp-server",
5
5
  "description": "MCP server for Decantr — exposes design intelligence, packs, and verification to AI coding assistants",
6
6
  "keywords": [
@@ -41,15 +41,15 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
+ "dependencies": {
45
+ "@modelcontextprotocol/sdk": "^1.29.0",
46
+ "@decantr/essence-spec": "1.0.3",
47
+ "@decantr/registry": "1.0.2",
48
+ "@decantr/verifier": "1.0.2"
49
+ },
44
50
  "scripts": {
45
51
  "build": "tsup",
46
52
  "test": "vitest run",
47
53
  "test:watch": "vitest"
48
- },
49
- "dependencies": {
50
- "@decantr/essence-spec": "workspace:*",
51
- "@decantr/registry": "workspace:*",
52
- "@decantr/verifier": "workspace:*",
53
- "@modelcontextprotocol/sdk": "^1.29.0"
54
54
  }
55
- }
55
+ }