@adobe/design-data-mcp 1.8.5 → 1.8.7

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 +20 -0
  2. package/llms.txt +28 -0
  3. package/package.json +5 -4
package/README.md CHANGED
@@ -69,6 +69,26 @@ any network failure (offline/air-gapped use is unaffected); set
69
69
  | `design-data-guideline-list` | List available Spectrum design guideline pages, optionally filtered by category |
70
70
  | `design-data-guideline` | Full guideline document by slug ID (purpose, rules, accessibility, examples) |
71
71
 
72
+ ## Testing guideline content
73
+
74
+ Run `moon run design-data-mcp:test`. For the content contracts only, after
75
+ `moon run sdk-wasm:build`, run:
76
+
77
+ ```sh
78
+ pnpm --filter @adobe/design-data-mcp exec ava test/bundle-smoke.test.js test/ensure-bundle.test.js
79
+ ```
80
+
81
+ The smoke suite generates a fresh, private MCPB staging tree for each run and
82
+ calls the guideline tools over stdio with a minimal environment. Import guards
83
+ reject ESM imports and CommonJS requires outside that tree. Catalog assertions
84
+ compare against the current canonical manifest, not a fixed guideline count; every guideline response
85
+ must equal its checked-in JSON. Helper tests seed stale data and verify that
86
+ regeneration replaces it and removes orphan files.
87
+ The tests remove all private staging trees afterward.
88
+
89
+ These tests check transport, packaging, and content delivery. They do not assess
90
+ how a model interprets the guidance.
91
+
72
92
  ## License
73
93
 
74
94
  Apache-2.0 — see the [project repository](https://github.com/adobe/spectrum-design-data) for details.
package/llms.txt ADDED
@@ -0,0 +1,28 @@
1
+ # @adobe/design-data-mcp
2
+
3
+ > MCP server for Spectrum design tokens, component schemas, and design guidelines (embedded, offline)
4
+
5
+ MCP server for [Adobe Spectrum](https://spectrum.adobe.com) design tokens, component schemas,
6
+ and design guidelines. Runs fully in-process via an embedded Spectrum snapshot — no network
7
+ access, no CLI binary, and no configuration required.
8
+
9
+ ## Install
10
+
11
+ `npm install @adobe/design-data-mcp`
12
+
13
+ ## Documentation
14
+
15
+ - [README](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md): usage and API overview
16
+ - [Install in Claude Desktop (Extension)](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#install-in-claude-desktop-extension)
17
+ - [Setup via npx (Cursor / Claude Desktop manual config)](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#setup-via-npx-cursor--claude-desktop-manual-config)
18
+ - [Staying current](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#staying-current)
19
+ - [Tools](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#tools)
20
+ - [Testing guideline content](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#testing-guideline-content)
21
+ - [License](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/README.md#license)
22
+ - [Repository index](https://github.com/adobe/spectrum-design-data/blob/main/docs/repo-index.md): how this package fits in the repository
23
+
24
+ ## Optional
25
+
26
+ - [Changelog](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/CHANGELOG.md)
27
+ - [npm package](https://www.npmjs.com/package/@adobe/design-data-mcp)
28
+ - [Source](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-mcp/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-data-mcp",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "description": "MCP server for Spectrum design tokens, component schemas, and design guidelines (embedded, offline)",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "files": [
11
11
  "src/",
12
+ "llms.txt",
12
13
  "README.md",
13
14
  "LICENSE"
14
15
  ],
@@ -28,9 +29,9 @@
28
29
  },
29
30
  "dependencies": {
30
31
  "@modelcontextprotocol/sdk": "^1.27.1",
31
- "@adobe/design-data": "3.2.3",
32
- "@adobe/design-data-wasm": "0.10.2",
33
- "@adobe/spectrum-design-data": "3.3.0"
32
+ "@adobe/design-data": "3.2.5",
33
+ "@adobe/design-data-wasm": "0.10.4",
34
+ "@adobe/spectrum-design-data": "3.5.0"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@anthropic-ai/mcpb": "^2.1.2",