naftiko: 1.0.0-alpha2 info: label: Metabase API — Dashboards description: 'Metabase API — Dashboards. 5 operations. Lead operation: List dashboards. Self-contained Naftiko capability covering one Metabase business surface.' tags: - Metabase - Dashboards created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: METABASE_API_KEY: METABASE_API_KEY capability: consumes: - type: http namespace: metabase-dashboards baseUri: https://your-metabase-instance.com/api description: Metabase API — Dashboards business capability. Self-contained, no shared references. resources: - name: dashboard path: /dashboard operations: - name: get method: GET description: List dashboards outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create a dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: dashboard-id path: /dashboard/{id} operations: - name: get method: GET description: Get a dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. - name: put method: PUT description: Update a dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete method: DELETE description: Archive a dashboard outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.METABASE_API_KEY}}' placement: header exposes: - type: rest namespace: metabase-dashboards-rest port: 8080 description: REST adapter for Metabase API — Dashboards. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dashboard name: dashboard description: REST surface for dashboard. operations: - method: GET name: get description: List dashboards call: metabase-dashboards.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create a dashboard call: metabase-dashboards.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/dashboard/{id} name: dashboard-id description: REST surface for dashboard-id. operations: - method: GET name: get description: Get a dashboard call: metabase-dashboards.get outputParameters: - type: object mapping: $. - method: PUT name: put description: Update a dashboard call: metabase-dashboards.put with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Archive a dashboard call: metabase-dashboards.delete outputParameters: - type: object mapping: $. - type: mcp namespace: metabase-dashboards-mcp port: 9090 transport: http description: MCP adapter for Metabase API — Dashboards. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-dashboards description: List dashboards hints: readOnly: true destructive: false idempotent: true call: metabase-dashboards.get outputParameters: - type: object mapping: $. - name: create-dashboard description: Create a dashboard hints: readOnly: false destructive: false idempotent: false call: metabase-dashboards.post with: body: tools.body outputParameters: - type: object mapping: $. - name: get-dashboard description: Get a dashboard hints: readOnly: true destructive: false idempotent: true call: metabase-dashboards.get outputParameters: - type: object mapping: $. - name: update-dashboard description: Update a dashboard hints: readOnly: false destructive: false idempotent: true call: metabase-dashboards.put with: body: tools.body outputParameters: - type: object mapping: $. - name: archive-dashboard description: Archive a dashboard hints: readOnly: false destructive: true idempotent: true call: metabase-dashboards.delete outputParameters: - type: object mapping: $.