@deepgram/styles 0.2.14 → 0.2.15
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 +4 -4
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +1 -1
- package/package.json +2 -2
- package/src/mcp/server.ts +1 -1
package/README.md
CHANGED
|
@@ -303,7 +303,7 @@ Install the package, then configure your AI tool:
|
|
|
303
303
|
**Claude Code** (CLI or `.mcp.json`):
|
|
304
304
|
|
|
305
305
|
```bash
|
|
306
|
-
claude mcp add deepgram-styles --scope project -- npx deepgram
|
|
306
|
+
claude mcp add deepgram-styles --scope project -- npx -y -p @deepgram/styles mcp
|
|
307
307
|
```
|
|
308
308
|
|
|
309
309
|
**Claude Desktop** (`claude_desktop_config.json`), **Cursor** (`.cursor/mcp.json`), or **Windsurf** (`.windsurf/mcp.json`):
|
|
@@ -313,7 +313,7 @@ claude mcp add deepgram-styles --scope project -- npx deepgram-styles-mcp
|
|
|
313
313
|
"mcpServers": {
|
|
314
314
|
"deepgram-styles": {
|
|
315
315
|
"command": "npx",
|
|
316
|
-
"args": ["deepgram
|
|
316
|
+
"args": ["-y", "-p", "@deepgram/styles", "mcp"]
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
}
|
|
@@ -337,7 +337,7 @@ To point the server at a custom design system YAML:
|
|
|
337
337
|
"mcpServers": {
|
|
338
338
|
"deepgram-styles": {
|
|
339
339
|
"command": "npx",
|
|
340
|
-
"args": ["deepgram
|
|
340
|
+
"args": ["-y", "-p", "@deepgram/styles", "mcp", "--yaml", "./path/to/design-system.yaml"]
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -348,7 +348,7 @@ To point the server at a custom design system YAML:
|
|
|
348
348
|
Use the MCP Inspector to test interactively:
|
|
349
349
|
|
|
350
350
|
```bash
|
|
351
|
-
npx @modelcontextprotocol/inspector npx deepgram
|
|
351
|
+
npx @modelcontextprotocol/inspector npx -y -p @deepgram/styles mcp
|
|
352
352
|
```
|
|
353
353
|
|
|
354
354
|
---
|
package/dist/mcp/server.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* so AI agents can query BEM classes, rendered HTML examples, and tokens.
|
|
7
7
|
*
|
|
8
8
|
* Usage:
|
|
9
|
-
* npx deepgram
|
|
9
|
+
* npx -p @deepgram/styles mcp # uses bundled design-system.yaml
|
|
10
10
|
* node dist/mcp/server.js --yaml /path/to/design-system.yaml
|
|
11
11
|
*/
|
|
12
12
|
export {};
|
package/dist/mcp/server.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* so AI agents can query BEM classes, rendered HTML examples, and tokens.
|
|
7
7
|
*
|
|
8
8
|
* Usage:
|
|
9
|
-
* npx deepgram
|
|
9
|
+
* npx -p @deepgram/styles mcp # uses bundled design-system.yaml
|
|
10
10
|
* node dist/mcp/server.js --yaml /path/to/design-system.yaml
|
|
11
11
|
*/
|
|
12
12
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepgram/styles",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Tailwind-based design system and styles library for Deepgram design system and demos",
|
|
5
5
|
"author": "Deepgram",
|
|
6
6
|
"license": "ISC",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"frontend"
|
|
22
22
|
],
|
|
23
23
|
"bin": {
|
|
24
|
-
"
|
|
24
|
+
"mcp": "dist/mcp/server.js"
|
|
25
25
|
},
|
|
26
26
|
"main": "dist/deepgram.css",
|
|
27
27
|
"style": "dist/deepgram.css",
|
package/src/mcp/server.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* so AI agents can query BEM classes, rendered HTML examples, and tokens.
|
|
8
8
|
*
|
|
9
9
|
* Usage:
|
|
10
|
-
* npx deepgram
|
|
10
|
+
* npx -p @deepgram/styles mcp # uses bundled design-system.yaml
|
|
11
11
|
* node dist/mcp/server.js --yaml /path/to/design-system.yaml
|
|
12
12
|
*/
|
|
13
13
|
|