@decantr/mcp-server 1.0.1 → 1.0.3

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 +61 -0
  2. package/package.json +24 -8
  3. package/LICENSE +0 -21
package/README.md CHANGED
@@ -1,10 +1,19 @@
1
1
  # @decantr/mcp-server
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@decantr/mcp-server?style=flat-square)](https://www.npmjs.com/package/@decantr/mcp-server)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@decantr/mcp-server?style=flat-square)](https://www.npmjs.com/package/@decantr/mcp-server)
5
+ [![license](https://img.shields.io/npm/l/@decantr/mcp-server?style=flat-square)](./LICENSE)
6
+ [![MCP compatible](https://img.shields.io/badge/MCP-compatible-0096FF?style=flat-square)](https://modelcontextprotocol.io)
7
+
3
8
  Support status: `core-supported`
4
9
  Release channel: `stable`
5
10
 
6
11
  Design intelligence for AI-generated UI. Make Claude, Cursor, and Windsurf generate better code.
7
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
+
16
+
8
17
  - **Structured design context** -- gives your AI assistant patterns, layouts, and component specs instead of letting it guess
9
18
  - **Drift detection** -- catches when generated code deviates from your design intent
10
19
  - **Zero config** -- run with `npx`, no API keys or accounts required
@@ -60,6 +69,58 @@ Add to your Windsurf MCP config (`~/.windsurf/mcp.json`):
60
69
  }
61
70
  ```
62
71
 
72
+ ### VS Code
73
+
74
+ Create `.vscode/mcp.json` in your workspace (or add to your user profile `mcp.json`):
75
+
76
+ ```json
77
+ {
78
+ "servers": {
79
+ "decantr": {
80
+ "command": "npx",
81
+ "args": ["-y", "@decantr/mcp-server"]
82
+ }
83
+ }
84
+ }
85
+ ```
86
+
87
+ MCP tools are available in VS Code Copilot Chat agent mode.
88
+
89
+ ### Zed
90
+
91
+ Add to your Zed `settings.json`:
92
+
93
+ ```json
94
+ {
95
+ "context_servers": {
96
+ "decantr": {
97
+ "command": "npx",
98
+ "args": ["-y", "@decantr/mcp-server"],
99
+ "env": {}
100
+ }
101
+ }
102
+ }
103
+ ```
104
+
105
+ ### Continue.dev
106
+
107
+ Create `.continue/mcpServers/decantr.yaml` in your workspace:
108
+
109
+ ```yaml
110
+ name: Decantr MCP Server
111
+ version: 0.0.1
112
+ schema: v1
113
+ mcpServers:
114
+ - name: Decantr
115
+ type: stdio
116
+ command: npx
117
+ args:
118
+ - "-y"
119
+ - "@decantr/mcp-server"
120
+ ```
121
+
122
+ MCP tools are only available in Continue.dev agent mode.
123
+
63
124
  ## Key Tools
64
125
 
65
126
  The server exposes Decantr registry, context, benchmark, and verification tools. Highlights:
package/package.json CHANGED
@@ -1,7 +1,23 @@
1
1
  {
2
2
  "name": "@decantr/mcp-server",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
+ "mcpName": "io.github.decantr-ai/mcp-server",
4
5
  "description": "MCP server for Decantr — exposes design intelligence, packs, and verification to AI coding assistants",
6
+ "keywords": [
7
+ "mcp",
8
+ "mcp-server",
9
+ "model-context-protocol",
10
+ "ai",
11
+ "llm",
12
+ "ai-coding",
13
+ "claude",
14
+ "cursor",
15
+ "windsurf",
16
+ "design-system",
17
+ "design-intelligence",
18
+ "ui-generation",
19
+ "drift-detection"
20
+ ],
5
21
  "author": "Decantr AI",
6
22
  "license": "MIT",
7
23
  "bugs": {
@@ -25,15 +41,15 @@
25
41
  "publishConfig": {
26
42
  "access": "public"
27
43
  },
28
- "dependencies": {
29
- "@modelcontextprotocol/sdk": "^1.29.0",
30
- "@decantr/essence-spec": "1.0.0",
31
- "@decantr/verifier": "1.0.1",
32
- "@decantr/registry": "1.0.1"
33
- },
34
44
  "scripts": {
35
45
  "build": "tsup",
36
46
  "test": "vitest run",
37
47
  "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"
38
54
  }
39
- }
55
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
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.