@wordpress/design-system-mcp 0.7.1-next.v.202607070741.0 → 0.8.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 CHANGED
@@ -24,6 +24,8 @@ claude mcp add wordpress-design-system -- npx -y --ignore-scripts --min-release-
24
24
 
25
25
  ### OpenAI Codex
26
26
 
27
+ The [Codex CLI](https://developers.openai.com/codex/cli) must be installed first.
28
+
27
29
  ```bash
28
30
  codex mcp add wordpress-design-system -- npx -y --ignore-scripts --min-release-age=2 @wordpress/design-system-mcp@latest
29
31
  ```
@@ -5,7 +5,7 @@ function register(server) {
5
5
  "get_design_tokens",
6
6
  {
7
7
  title: "Get Design Tokens",
8
- description: "Get the WordPress Design System design tokens reference (colors, spacing, typography, elevation, etc.).",
8
+ description: "Get the WordPress Design System design tokens reference (colors, spacing, typography, motion, etc.).",
9
9
  annotations: {
10
10
  readOnlyHint: true
11
11
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/tools/get-design-tokens.ts"],
4
- "sourcesContent": ["import type { McpServer } from '@modelcontextprotocol/server';\nimport { getDesignTokens } from '../data';\n\n/**\n * Register the get_design_tokens tool.\n *\n * @param server - The MCP server instance.\n */\nexport function register( server: McpServer ): void {\n\tserver.registerTool(\n\t\t'get_design_tokens',\n\t\t{\n\t\t\ttitle: 'Get Design Tokens',\n\t\t\tdescription:\n\t\t\t\t'Get the WordPress Design System design tokens reference (colors, spacing, typography, elevation, etc.).',\n\t\t\tannotations: {\n\t\t\t\treadOnlyHint: true,\n\t\t\t},\n\t\t},\n\t\tasync () => {\n\t\t\tconst tokens = await getDesignTokens();\n\t\t\treturn {\n\t\t\t\tcontent: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\ttext: tokens.content,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t};\n\t\t}\n\t);\n}\n"],
4
+ "sourcesContent": ["import type { McpServer } from '@modelcontextprotocol/server';\nimport { getDesignTokens } from '../data';\n\n/**\n * Register the get_design_tokens tool.\n *\n * @param server - The MCP server instance.\n */\nexport function register( server: McpServer ): void {\n\tserver.registerTool(\n\t\t'get_design_tokens',\n\t\t{\n\t\t\ttitle: 'Get Design Tokens',\n\t\t\tdescription:\n\t\t\t\t'Get the WordPress Design System design tokens reference (colors, spacing, typography, motion, etc.).',\n\t\t\tannotations: {\n\t\t\t\treadOnlyHint: true,\n\t\t\t},\n\t\t},\n\t\tasync () => {\n\t\t\tconst tokens = await getDesignTokens();\n\t\t\treturn {\n\t\t\t\tcontent: [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\ttext: tokens.content,\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t};\n\t\t}\n\t);\n}\n"],
5
5
  "mappings": ";AACA,SAAS,uBAAuB;AAOzB,SAAS,SAAU,QAA0B;AACnD,SAAO;AAAA,IACN;AAAA,IACA;AAAA,MACC,OAAO;AAAA,MACP,aACC;AAAA,MACD,aAAa;AAAA,QACZ,cAAc;AAAA,MACf;AAAA,IACD;AAAA,IACA,YAAY;AACX,YAAM,SAAS,MAAM,gBAAgB;AACrC,aAAO;AAAA,QACN,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,MAAM,OAAO;AAAA,UACd;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/design-system-mcp",
3
- "version": "0.7.1-next.v.202607070741.0+a51d59513",
3
+ "version": "0.8.0",
4
4
  "description": "MCP server for the WordPress Design System.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@cfworker/json-schema": "^4.1.1",
45
- "@modelcontextprotocol/server": "^2.0.0-alpha.2",
45
+ "@modelcontextprotocol/server": "2.0.0-alpha.2",
46
46
  "zod": "^4.3.6"
47
47
  },
48
48
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "f637726e370c8b23695ed9af82adbe171ad235d8"
55
+ "gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
56
56
  }