@daanrongen/grafana-mcp 1.2.0 → 1.2.1

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/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -44698,7 +44698,7 @@ var registerAnnotationTools = (server, runtime5) => {
44698
44698
  })));
44699
44699
  server.tool("create_annotation", "Create a Grafana annotation, optionally pinned to a dashboard.", {
44700
44700
  text: exports_external.string().describe("Annotation text / description"),
44701
- tags: exports_external.array(exports_external.string()).describe("Tags to attach to the annotation"),
44701
+ tags: exports_external.union([exports_external.array(exports_external.string()), exports_external.string().transform((s) => JSON.parse(s))]).describe("Tags to attach to the annotation"),
44702
44702
  dashboardUid: exports_external.string().optional().describe("Dashboard UID to attach the annotation to"),
44703
44703
  time: exports_external.number().optional().describe("Epoch time in milliseconds (default: now)"),
44704
44704
  timeEnd: exports_external.number().optional().describe("End epoch time in milliseconds for a time-range annotation")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daanrongen/grafana-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MCP server for Grafana — manage dashboards, datasources, alerts, folders, and annotations over stdio",
5
5
  "type": "module",
6
6
  "bin": {