@grafana/plugin-validator 0.37.1 → 0.38.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -78,6 +78,12 @@ Then you can run the utility:
78
78
  plugincheck2 -sourceCodeUri [source_code_location/] [plugin_archive.zip]
79
79
  ```
80
80
 
81
+ ### MCP Server (for AI assistants)
82
+
83
+ The plugin validator can be used as an MCP (Model Context Protocol) server, allowing AI assistants like Claude, Cline, and other MCP-compatible tools to validate Grafana plugins.
84
+
85
+ See the [MCP Server README](mcp-package/README.md) for configuration instructions.
86
+
81
87
  ### Generating local files For validation
82
88
 
83
89
  You must create a `.zip` archive containing the `dist/` directory but named as your plugin ID:
@@ -186,7 +192,6 @@ analyzers:
186
192
  - my-plugin-id
187
193
  ```
188
194
 
189
-
190
195
  ### Source code
191
196
 
192
197
  You can specify the location of the plugin source code to the validator with the `-sourceCodeUri` option. Doing so allows for additional [analyzers](#analyzers) to be run and for a more complete scan.
@@ -274,6 +279,7 @@ Run "mage gen:readme" to regenerate this section.
274
279
  | Logos / `logos` | Detects whether the plugin includes small and large logos to display in the plugin catalog. | None |
275
280
  | Manifest (Signing) / `manifest` | When a plugin is signed, the zip file will contain a signed `MANIFEST.txt` file. | None |
276
281
  | Metadata / `metadata` | Checks that `plugin.json` exists and is valid. | None |
282
+ | Metadata Grafana Dependency / `grafanadependency` | Checks that dependencies.grafanaDependency in `plugin.json` is valid. | None |
277
283
  | Metadata Paths / `metadatapaths` | Ensures all paths are valid and images referenced exist. | None |
278
284
  | Metadata Validity / `metadatavalid` | Ensures metadata is valid and matches plugin schema. | None |
279
285
  | module.js (exists) / `modulejs` | All plugins require a `module.js` to be loaded. | None |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-validator",
3
- "version": "0.37.1",
3
+ "version": "0.38.0",
4
4
  "description": "Grafana Plugin Validator",
5
5
  "main": "index.js",
6
6
  "repository": {