@svgrid/mcp 2.6.7 → 3.0.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 +215 -195
- package/dist/core-tools.d.ts +74 -0
- package/dist/core-tools.js +362 -0
- package/dist/data.js +680 -531
- package/dist/index.d.ts +11 -5
- package/dist/index.js +244 -354
- package/dist/installed.d.ts +33 -0
- package/dist/installed.js +87 -0
- package/dist/preview.d.ts +88 -0
- package/dist/preview.js +211 -0
- package/dist/prompts.d.ts +31 -0
- package/dist/prompts.js +65 -0
- package/dist/resources.d.ts +19 -0
- package/dist/resources.js +84 -0
- package/dist/search.d.ts +11 -0
- package/dist/search.js +28 -0
- package/dist/studio-tools.d.ts +13 -0
- package/dist/studio-tools.js +227 -0
- package/dist/validate.d.ts +40 -0
- package/dist/validate.js +70 -5
- package/package.json +2 -2
- package/server.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* SvGrid MCP server (stdio).
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* Gives an MCP-capable client accurate, version-pinned answers about SvGrid -
|
|
6
|
+
* the real exported API, the shipped docs, 375 runnable demos - and, uniquely,
|
|
7
|
+
* a way to CHECK generated code against that surface before a user ever sees
|
|
8
|
+
* it.
|
|
9
|
+
*
|
|
10
|
+
* The surface is deliberately small. It was 36 tools, which cost ~4,710 tokens
|
|
11
|
+
* of `tools/list` on every single request; 79% of that was Studio, a commercial
|
|
12
|
+
* feature most sessions never touch. Five always-on tools cover the whole
|
|
13
|
+
* question-and-answer path - find, read, check-and-fix, preview, scaffold -
|
|
14
|
+
* Studio is four more behind an opt-in flag, and the old names all still work - they are just not listed, because listing is what
|
|
15
|
+
* costs tokens and calling an unlisted name costs nothing.
|
|
10
16
|
*
|
|
11
17
|
* Run with:
|
|
12
18
|
* npx @svgrid/mcp
|