naftiko: 1.0.0-alpha2 info: label: Soracom Lagoon Capability description: Self-contained Naftiko capability for managing Soracom Lagoon (Grafana-based dashboard) plans, users, licenses, and data sources. tags: - Soracom - Lagoon - Dashboards - Visualization created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: SORACOM_API_KEY: SORACOM_API_KEY SORACOM_API_TOKEN: SORACOM_API_TOKEN capability: consumes: - type: http namespace: lagoon baseUri: https://api.soracom.io/v1 description: Soracom Lagoon API. resources: - name: lagoon path: /lagoon operations: - name: getLagoon method: GET description: Get Lagoon plan and license state. outputRawFormat: json outputParameters: - {name: result, type: object, value: $.} inputParameters: [] - name: createLagoon method: POST description: Subscribe to Lagoon and create an organization. outputRawFormat: json outputParameters: - {name: result, type: object, value: $.} inputParameters: - {name: body, in: body, type: object, required: true} - name: lagoon-users path: /lagoon/users operations: - name: listLagoonUsers method: GET description: List Lagoon users. outputRawFormat: json outputParameters: - {name: result, type: array, value: $.} inputParameters: [] authentication: type: apikey key: X-Soracom-API-Key value: '{{env.SORACOM_API_KEY}}' placement: header exposes: - type: mcp namespace: lagoon-mcp port: 9090 transport: http description: MCP adapter for Lagoon. tools: - name: soracom-get-lagoon description: Get Lagoon subscription details. hints: {readOnly: true, destructive: false, idempotent: true} call: lagoon.getLagoon outputParameters: - {type: object, mapping: $.} - name: soracom-list-lagoon-users description: List Lagoon users. hints: {readOnly: true, destructive: false, idempotent: true} call: lagoon.listLagoonUsers outputParameters: - {type: array, mapping: $.}