@ace-grid/mcp 1.0.6

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ace Grid
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,94 @@
1
+ # @ace-grid/mcp
2
+
3
+ Ace Grid MCP is a local Model Context Protocol server for Ace Grid documentation, API metadata, config validation, migration help, framework example generation, and optional account/license automation.
4
+
5
+ It is designed for MCP-compatible AI coding tools such as Claude Desktop, Cursor, Codex, and other clients that can launch a stdio MCP server.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @ace-grid/mcp
11
+ ```
12
+
13
+ You can also run it without a global install:
14
+
15
+ ```bash
16
+ npx @ace-grid/mcp
17
+ ```
18
+
19
+ ## MCP client configuration
20
+
21
+ ```json
22
+ {
23
+ "mcpServers": {
24
+ "ace-grid": {
25
+ "command": "npx",
26
+ "args": ["@ace-grid/mcp"]
27
+ }
28
+ }
29
+ }
30
+ ```
31
+
32
+ For local development from this repository:
33
+
34
+ ```json
35
+ {
36
+ "mcpServers": {
37
+ "ace-grid": {
38
+ "command": "node",
39
+ "args": ["/absolute/path/to/ace-grid-mcp/dist/index.js"]
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ ## Local-first behavior
46
+
47
+ Documentation, API search, config validation, implementation planning, and example generation use bundled metadata and run locally. Account tools call the Ace Grid portal API only when `ACE_GRID_PORTAL_TOKEN` is configured.
48
+
49
+ ```bash
50
+ ACE_GRID_PORTAL_TOKEN=eyJ... ace-grid-mcp
51
+ ```
52
+
53
+ Optional environment variables:
54
+
55
+ - `ACE_GRID_API_BASE_URL`: Ace Grid API base URL. Defaults to `https://api.ace-grid.com`.
56
+ - `ACE_GRID_PORTAL_TOKEN`: bearer token for authenticated account, app, and license-key operations.
57
+
58
+ ## Tools
59
+
60
+ - `ace_grid_search_docs`: search bundled docs, guides, API metadata, and feature groups.
61
+ - `ace_grid_search_api`: search generated Ace Grid API metadata.
62
+ - `ace_grid_search_doc_pages`: search written docs page content.
63
+ - `ace_grid_list_doc_pages`: list bundled docs pages.
64
+ - `ace_grid_get_doc_page`: return a docs page by slug or path.
65
+ - `ace_grid_list_feature_groups`: list feature groups and prop counts.
66
+ - `ace_grid_get_prop`: inspect a prop path such as `layout.height`.
67
+ - `ace_grid_validate_config`: report unknown and missing props in a config object.
68
+ - `ace_grid_plan_implementation`: infer framework packages, required tier, matched features, docs, and props from a natural-language request.
69
+ - `ace_grid_generate_implementation`: generate React, Angular, Vue, Svelte, or Web Components starter code.
70
+ - `ace_grid_generate_react_example`: generate a React starter snippet for Core, Pro, or Enterprise.
71
+ - `ace_grid_list_examples`: list bundled framework examples.
72
+ - `ace_grid_generate_framework_example`: generate a bundled framework example.
73
+ - `ace_grid_license_setup`: explain license config and public-key behavior.
74
+ - `ace_grid_account_status`: optional authenticated account overview.
75
+ - `ace_grid_list_apps`: optional authenticated app listing.
76
+ - `ace_grid_create_app`: optional authenticated app creation.
77
+ - `ace_grid_list_license_keys`: optional authenticated key listing.
78
+ - `ace_grid_create_license_key`: optional authenticated key creation.
79
+
80
+ ## Publishing checklist
81
+
82
+ Before publishing a new MCP version:
83
+
84
+ ```bash
85
+ npm install
86
+ npm test
87
+ npm run build
88
+ ```
89
+
90
+ Refresh bundled metadata in `data/` whenever Ace Grid docs, API snapshots, feature groups, examples, or portal-generated metadata change.
91
+
92
+ ## License
93
+
94
+ MIT. See the package license for details.
@@ -0,0 +1,408 @@
1
+ {
2
+ "generatedAt": "2026-05-20T00:24:07.586Z",
3
+ "rootInterface": "GridProps",
4
+ "propCoverage": {
5
+ "generatedCount": 862,
6
+ "authoredSpecCount": 332,
7
+ "exactSpecCount": 217,
8
+ "prefixSpecCount": 115,
9
+ "exactCoveredCount": 217,
10
+ "prefixCoveredCount": 637,
11
+ "coveredCount": 854,
12
+ "missingCount": 8,
13
+ "orphanCount": 0,
14
+ "coveragePercent": 99.1,
15
+ "missingPathsPreview": [
16
+ "license.licenseKey",
17
+ "license.appId",
18
+ "license.apiBaseUrl",
19
+ "license.domain",
20
+ "license.leaseSigningPublicKey",
21
+ "license.runtime",
22
+ "license.version",
23
+ "license.fetchImpl"
24
+ ],
25
+ "orphanPaths": []
26
+ },
27
+ "typeCoverage": {
28
+ "usedCount": 233,
29
+ "needsAuthoredCount": 120,
30
+ "authoredCount": 127,
31
+ "missingCount": 1,
32
+ "orphanCount": 5,
33
+ "coveragePercent": 99.2,
34
+ "missingTypesPreview": [
35
+ "typeof fetch"
36
+ ],
37
+ "orphanTypes": [
38
+ "SortDirection",
39
+ "GridServerRowModelProps",
40
+ "GridFilterConfig",
41
+ "GridChartBrushActionOptions",
42
+ "GridChartRenderProps"
43
+ ]
44
+ },
45
+ "featureCoverage": [
46
+ {
47
+ "key": "license",
48
+ "label": "License",
49
+ "totalProps": 8,
50
+ "authoredProps": 0,
51
+ "exactCoveredProps": 0,
52
+ "prefixCoveredProps": 0,
53
+ "missingProps": 8,
54
+ "coveragePercent": 0,
55
+ "missingPropPathsPreview": [
56
+ "license.licenseKey",
57
+ "license.appId",
58
+ "license.apiBaseUrl",
59
+ "license.domain",
60
+ "license.leaseSigningPublicKey",
61
+ "license.runtime",
62
+ "license.version",
63
+ "license.fetchImpl"
64
+ ]
65
+ },
66
+ {
67
+ "key": "sparkline",
68
+ "label": "Sparkline",
69
+ "totalProps": 322,
70
+ "authoredProps": 322,
71
+ "exactCoveredProps": 10,
72
+ "prefixCoveredProps": 312,
73
+ "missingProps": 0,
74
+ "coveragePercent": 100,
75
+ "missingPropPathsPreview": []
76
+ },
77
+ {
78
+ "key": "charts",
79
+ "label": "Charts",
80
+ "totalProps": 192,
81
+ "authoredProps": 192,
82
+ "exactCoveredProps": 53,
83
+ "prefixCoveredProps": 139,
84
+ "missingProps": 0,
85
+ "coveragePercent": 100,
86
+ "missingPropPathsPreview": []
87
+ },
88
+ {
89
+ "key": "serverRowModel",
90
+ "label": "Server Row Model",
91
+ "totalProps": 42,
92
+ "authoredProps": 42,
93
+ "exactCoveredProps": 21,
94
+ "prefixCoveredProps": 21,
95
+ "missingProps": 0,
96
+ "coveragePercent": 100,
97
+ "missingPropPathsPreview": []
98
+ },
99
+ {
100
+ "key": "pagination",
101
+ "label": "Pagination",
102
+ "totalProps": 34,
103
+ "authoredProps": 34,
104
+ "exactCoveredProps": 23,
105
+ "prefixCoveredProps": 11,
106
+ "missingProps": 0,
107
+ "coveragePercent": 100,
108
+ "missingPropPathsPreview": []
109
+ },
110
+ {
111
+ "key": "theming",
112
+ "label": "Theming",
113
+ "totalProps": 33,
114
+ "authoredProps": 33,
115
+ "exactCoveredProps": 2,
116
+ "prefixCoveredProps": 31,
117
+ "missingProps": 0,
118
+ "coveragePercent": 100,
119
+ "missingPropPathsPreview": []
120
+ },
121
+ {
122
+ "key": "selection",
123
+ "label": "Selection",
124
+ "totalProps": 24,
125
+ "authoredProps": 24,
126
+ "exactCoveredProps": 17,
127
+ "prefixCoveredProps": 7,
128
+ "missingProps": 0,
129
+ "coveragePercent": 100,
130
+ "missingPropPathsPreview": []
131
+ },
132
+ {
133
+ "key": "pinning",
134
+ "label": "Pinning",
135
+ "totalProps": 19,
136
+ "authoredProps": 19,
137
+ "exactCoveredProps": 3,
138
+ "prefixCoveredProps": 16,
139
+ "missingProps": 0,
140
+ "coveragePercent": 100,
141
+ "missingPropPathsPreview": []
142
+ },
143
+ {
144
+ "key": "validation",
145
+ "label": "Validation",
146
+ "totalProps": 18,
147
+ "authoredProps": 18,
148
+ "exactCoveredProps": 13,
149
+ "prefixCoveredProps": 5,
150
+ "missingProps": 0,
151
+ "coveragePercent": 100,
152
+ "missingPropPathsPreview": []
153
+ },
154
+ {
155
+ "key": "contextMenu",
156
+ "label": "Context Menu",
157
+ "totalProps": 18,
158
+ "authoredProps": 18,
159
+ "exactCoveredProps": 3,
160
+ "prefixCoveredProps": 15,
161
+ "missingProps": 0,
162
+ "coveragePercent": 100,
163
+ "missingPropPathsPreview": []
164
+ },
165
+ {
166
+ "key": "scroll",
167
+ "label": "Scroll",
168
+ "totalProps": 15,
169
+ "authoredProps": 15,
170
+ "exactCoveredProps": 5,
171
+ "prefixCoveredProps": 10,
172
+ "missingProps": 0,
173
+ "coveragePercent": 100,
174
+ "missingPropPathsPreview": []
175
+ },
176
+ {
177
+ "key": "search",
178
+ "label": "Search",
179
+ "totalProps": 14,
180
+ "authoredProps": 14,
181
+ "exactCoveredProps": 9,
182
+ "prefixCoveredProps": 5,
183
+ "missingProps": 0,
184
+ "coveragePercent": 100,
185
+ "missingPropPathsPreview": []
186
+ },
187
+ {
188
+ "key": "masterDetail",
189
+ "label": "Master Detail",
190
+ "totalProps": 13,
191
+ "authoredProps": 13,
192
+ "exactCoveredProps": 7,
193
+ "prefixCoveredProps": 6,
194
+ "missingProps": 0,
195
+ "coveragePercent": 100,
196
+ "missingPropPathsPreview": []
197
+ },
198
+ {
199
+ "key": "reorder",
200
+ "label": "Reorder",
201
+ "totalProps": 12,
202
+ "authoredProps": 12,
203
+ "exactCoveredProps": 5,
204
+ "prefixCoveredProps": 7,
205
+ "missingProps": 0,
206
+ "coveragePercent": 100,
207
+ "missingPropPathsPreview": []
208
+ },
209
+ {
210
+ "key": "keyedHeaders",
211
+ "label": "Keyed Headers",
212
+ "totalProps": 11,
213
+ "authoredProps": 11,
214
+ "exactCoveredProps": 3,
215
+ "prefixCoveredProps": 8,
216
+ "missingProps": 0,
217
+ "coveragePercent": 100,
218
+ "missingPropPathsPreview": []
219
+ },
220
+ {
221
+ "key": "filter",
222
+ "label": "Filter",
223
+ "totalProps": 10,
224
+ "authoredProps": 10,
225
+ "exactCoveredProps": 6,
226
+ "prefixCoveredProps": 4,
227
+ "missingProps": 0,
228
+ "coveragePercent": 100,
229
+ "missingPropPathsPreview": []
230
+ },
231
+ {
232
+ "key": "resize",
233
+ "label": "Resize",
234
+ "totalProps": 10,
235
+ "authoredProps": 10,
236
+ "exactCoveredProps": 3,
237
+ "prefixCoveredProps": 7,
238
+ "missingProps": 0,
239
+ "coveragePercent": 100,
240
+ "missingPropPathsPreview": []
241
+ },
242
+ {
243
+ "key": "sorting",
244
+ "label": "Sorting",
245
+ "totalProps": 9,
246
+ "authoredProps": 9,
247
+ "exactCoveredProps": 9,
248
+ "prefixCoveredProps": 0,
249
+ "missingProps": 0,
250
+ "coveragePercent": 100,
251
+ "missingPropPathsPreview": []
252
+ },
253
+ {
254
+ "key": "edit",
255
+ "label": "Edit",
256
+ "totalProps": 8,
257
+ "authoredProps": 8,
258
+ "exactCoveredProps": 4,
259
+ "prefixCoveredProps": 4,
260
+ "missingProps": 0,
261
+ "coveragePercent": 100,
262
+ "missingPropPathsPreview": []
263
+ },
264
+ {
265
+ "key": "layout",
266
+ "label": "Layout",
267
+ "totalProps": 7,
268
+ "authoredProps": 7,
269
+ "exactCoveredProps": 5,
270
+ "prefixCoveredProps": 2,
271
+ "missingProps": 0,
272
+ "coveragePercent": 100,
273
+ "missingPropPathsPreview": []
274
+ },
275
+ {
276
+ "key": "pivot",
277
+ "label": "Pivot",
278
+ "totalProps": 7,
279
+ "authoredProps": 7,
280
+ "exactCoveredProps": 0,
281
+ "prefixCoveredProps": 7,
282
+ "missingProps": 0,
283
+ "coveragePercent": 100,
284
+ "missingPropPathsPreview": []
285
+ },
286
+ {
287
+ "key": "treeData",
288
+ "label": "Tree Data",
289
+ "totalProps": 7,
290
+ "authoredProps": 7,
291
+ "exactCoveredProps": 0,
292
+ "prefixCoveredProps": 7,
293
+ "missingProps": 0,
294
+ "coveragePercent": 100,
295
+ "missingPropPathsPreview": []
296
+ },
297
+ {
298
+ "key": "clipboard",
299
+ "label": "Clipboard",
300
+ "totalProps": 5,
301
+ "authoredProps": 5,
302
+ "exactCoveredProps": 5,
303
+ "prefixCoveredProps": 0,
304
+ "missingProps": 0,
305
+ "coveragePercent": 100,
306
+ "missingPropPathsPreview": []
307
+ },
308
+ {
309
+ "key": "rowGrouping",
310
+ "label": "Row Grouping",
311
+ "totalProps": 5,
312
+ "authoredProps": 5,
313
+ "exactCoveredProps": 0,
314
+ "prefixCoveredProps": 5,
315
+ "missingProps": 0,
316
+ "coveragePercent": 100,
317
+ "missingPropPathsPreview": []
318
+ },
319
+ {
320
+ "key": "spanning",
321
+ "label": "Spanning",
322
+ "totalProps": 4,
323
+ "authoredProps": 4,
324
+ "exactCoveredProps": 0,
325
+ "prefixCoveredProps": 4,
326
+ "missingProps": 0,
327
+ "coveragePercent": 100,
328
+ "missingPropPathsPreview": []
329
+ },
330
+ {
331
+ "key": "columns",
332
+ "label": "Columns",
333
+ "totalProps": 3,
334
+ "authoredProps": 3,
335
+ "exactCoveredProps": 3,
336
+ "prefixCoveredProps": 0,
337
+ "missingProps": 0,
338
+ "coveragePercent": 100,
339
+ "missingPropPathsPreview": []
340
+ },
341
+ {
342
+ "key": "virtual",
343
+ "label": "Virtual",
344
+ "totalProps": 3,
345
+ "authoredProps": 3,
346
+ "exactCoveredProps": 3,
347
+ "prefixCoveredProps": 0,
348
+ "missingProps": 0,
349
+ "coveragePercent": 100,
350
+ "missingPropPathsPreview": []
351
+ },
352
+ {
353
+ "key": "accessibility",
354
+ "label": "Accessibility",
355
+ "totalProps": 3,
356
+ "authoredProps": 3,
357
+ "exactCoveredProps": 0,
358
+ "prefixCoveredProps": 3,
359
+ "missingProps": 0,
360
+ "coveragePercent": 100,
361
+ "missingPropPathsPreview": []
362
+ },
363
+ {
364
+ "key": "data",
365
+ "label": "Data",
366
+ "totalProps": 2,
367
+ "authoredProps": 2,
368
+ "exactCoveredProps": 2,
369
+ "prefixCoveredProps": 0,
370
+ "missingProps": 0,
371
+ "coveragePercent": 100,
372
+ "missingPropPathsPreview": []
373
+ },
374
+ {
375
+ "key": "formula",
376
+ "label": "Formula",
377
+ "totalProps": 2,
378
+ "authoredProps": 2,
379
+ "exactCoveredProps": 2,
380
+ "prefixCoveredProps": 0,
381
+ "missingProps": 0,
382
+ "coveragePercent": 100,
383
+ "missingPropPathsPreview": []
384
+ },
385
+ {
386
+ "key": "columnGrouping",
387
+ "label": "Column Grouping",
388
+ "totalProps": 1,
389
+ "authoredProps": 1,
390
+ "exactCoveredProps": 0,
391
+ "prefixCoveredProps": 1,
392
+ "missingProps": 0,
393
+ "coveragePercent": 100,
394
+ "missingPropPathsPreview": []
395
+ },
396
+ {
397
+ "key": "rowsConfig",
398
+ "label": "Rows Config",
399
+ "totalProps": 1,
400
+ "authoredProps": 1,
401
+ "exactCoveredProps": 1,
402
+ "prefixCoveredProps": 0,
403
+ "missingProps": 0,
404
+ "coveragePercent": 100,
405
+ "missingPropPathsPreview": []
406
+ }
407
+ ]
408
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "generatedAt": "2026-05-20T00:24:09.606Z",
3
+ "propQuality": {
4
+ "checkedCount": 860,
5
+ "errorCount": 0,
6
+ "warningCount": 0,
7
+ "errorsPreview": [],
8
+ "warningsPreview": []
9
+ },
10
+ "typeQuality": {
11
+ "checkedCount": 231,
12
+ "warningCount": 0,
13
+ "warningsPreview": []
14
+ }
15
+ }