naftiko: 1.0.0-alpha2 info: label: Grafana — Star description: 'Grafana — Star. 2 operations. Lead operation: Grafana Star Query. Self-contained Naftiko capability covering one Grafana business surface.' tags: - Grafana - Star created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRAFANA_API_KEY: GRAFANA_API_KEY capability: consumes: - type: http namespace: grafana-star baseUri: http://{defaultHost} description: Grafana — Star business capability. Self-contained, no shared references. resources: - name: query-history-star-query_history_uid path: /query-history/star/{query_history_uid} operations: - name: starquery method: POST description: Grafana Star Query outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query_history_uid in: path type: string required: true - name: user-stars-dashboard-uid-dashboard_uid path: /user/stars/dashboard/uid/{dashboard_uid} operations: - name: stardashboardbyuid method: POST description: Grafana Star Dashboard By UID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: dashboard_uid in: path type: string required: true authentication: type: apikey key: Authorization value: '{{env.GRAFANA_API_KEY}}' placement: header exposes: - type: rest namespace: grafana-star-rest port: 8080 description: REST adapter for Grafana — Star. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/query-history/star/{query-history-uid} name: query-history-star-query-history-uid description: REST surface for query-history-star-query_history_uid. operations: - method: POST name: starquery description: Grafana Star Query call: grafana-star.starquery with: query_history_uid: rest.query_history_uid outputParameters: - type: object mapping: $. - path: /v1/user/stars/dashboard/uid/{dashboard-uid} name: user-stars-dashboard-uid-dashboard-uid description: REST surface for user-stars-dashboard-uid-dashboard_uid. operations: - method: POST name: stardashboardbyuid description: Grafana Star Dashboard By UID call: grafana-star.stardashboardbyuid with: dashboard_uid: rest.dashboard_uid outputParameters: - type: object mapping: $. - type: mcp namespace: grafana-star-mcp port: 9090 transport: http description: MCP adapter for Grafana — Star. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: grafana-star-query description: Grafana Star Query hints: readOnly: true destructive: false idempotent: false call: grafana-star.starquery with: query_history_uid: tools.query_history_uid outputParameters: - type: object mapping: $. - name: grafana-star-dashboard-uid description: Grafana Star Dashboard By UID hints: readOnly: false destructive: false idempotent: false call: grafana-star.stardashboardbyuid with: dashboard_uid: tools.dashboard_uid outputParameters: - type: object mapping: $.