@redsift/ds-mcp-server 12.5.3-alpha.2 → 12.5.3-alpha.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/README.md +45 -1
- package/data/docs/components.json +1 -1
- package/data/docs/llms-full.txt +1 -1
- package/data/metadata.json +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,7 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
A [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server that gives AI assistants deep knowledge of the Red Sift Design System. It provides tools for component search, prop documentation, code generation, design token lookup, and composition pattern guidance.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> **Looking for a generic HTTP retrieval API instead?** See the sibling [@redsift/ds-rag-server](https://www.npmjs.com/package/@redsift/ds-rag-server) — same data, but exposed as a `POST /retrieve` HTTP endpoint with semantic + BM25 search. Built for chatbots, docs search boxes, and custom agentic pipelines (LangGraph, Vercel AI SDK). Use MCP for IDE coding agents; use RAG for everything else. [Comparison](https://design-system.redsift.io/introduction/rag-server#mcp-vs-rag).
|
|
6
|
+
|
|
7
|
+
## Install from public npm
|
|
8
|
+
|
|
9
|
+
The published package is available on the public npm registry. No `.npmrc` configuration or authentication is required:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @redsift/ds-mcp-server
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or add it to an AI client's MCP configuration (e.g. VS Code, Claude Desktop) as a stdio server invoking `npx @redsift/ds-mcp-server`.
|
|
16
|
+
|
|
17
|
+
### Internal alternative: GitHub Packages
|
|
18
|
+
|
|
19
|
+
The same versions are also published to GitHub Packages for internal consumers. To install from there, configure an `.npmrc` with the `@redsift` scope mapped to `https://npm.pkg.github.com` and authenticate with a GitHub Personal Access Token that has `read:packages`:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
@redsift:registry=https://npm.pkg.github.com
|
|
23
|
+
//npm.pkg.github.com/:_authToken=${GITHUB_PAT}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Local development
|
|
6
27
|
|
|
7
28
|
```bash
|
|
8
29
|
# From the design-system repo root:
|
|
@@ -201,3 +222,26 @@ Or verify in VS Code by opening Copilot Chat and asking:
|
|
|
201
222
|
|
|
202
223
|
- "Search for button components in the design system" → should call `search_components`
|
|
203
224
|
- "What props does DataGrid accept?" → should call `get_component_props`
|
|
225
|
+
|
|
226
|
+
## Releasing
|
|
227
|
+
|
|
228
|
+
The MCP server is published to two registries. Both publishes are required to keep them in sync.
|
|
229
|
+
|
|
230
|
+
1. **GitHub Packages (CI).** Trigger [`.github/workflows/publish-mcp.yml`](../../.github/workflows/publish-mcp.yml) via the Actions UI.
|
|
231
|
+
2. **Public npm (manual).** From a clean checkout of the merged release branch:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
npm whoami --registry=https://registry.npmjs.org # confirm logged in
|
|
235
|
+
cd apps/mcp-server
|
|
236
|
+
npm pack --dry-run # inspect tarball file list
|
|
237
|
+
npm publish # real publish
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
`prepublishOnly` runs `bundle-data` and `build` automatically, so `dist/` and `data/` are guaranteed fresh. The `files` allowlist in `package.json` ensures only `dist/`, `data/`, and `consumer-instructions/` are shipped.
|
|
241
|
+
|
|
242
|
+
After both publishes, verify with:
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
npm view @redsift/ds-mcp-server --registry=https://registry.npmjs.org
|
|
246
|
+
npm view @redsift/ds-mcp-server --registry=https://npm.pkg.github.com
|
|
247
|
+
```
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"name": "Red Sift Design System",
|
|
4
4
|
"version": "12.3.0",
|
|
5
|
-
"generated": "2026-
|
|
5
|
+
"generated": "2026-05-06T13:08:06.968Z",
|
|
6
6
|
"repository": "https://github.com/redsift/design-system",
|
|
7
7
|
"documentation": "https://design-system.redsift.io",
|
|
8
8
|
"packages": [
|
package/data/docs/llms-full.txt
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
This file contains comprehensive documentation for all components in the Red Sift Design System.
|
|
4
4
|
It is optimized for LLM consumption and includes props, types, defaults, and usage examples.
|
|
5
5
|
|
|
6
|
-
Generated: 2026-
|
|
6
|
+
Generated: 2026-05-06T13:08:06.962Z
|
|
7
7
|
Total Components: 228
|
|
8
8
|
|
|
9
9
|
---
|
package/data/metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redsift/ds-mcp-server",
|
|
3
|
-
"version": "12.5.3-alpha.
|
|
3
|
+
"version": "12.5.3-alpha.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "MCP server for the Red Sift Design System — provides component lookup, prop documentation, and code generation tools for AI assistants.",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "^5.8.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
|
-
"access": "
|
|
36
|
+
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3fdfd597177b65f2044cd756e14dc42782a6a9e6"
|
|
39
39
|
}
|