naftiko: 1.0.0-alpha2 info: label: Supabase Management API — Secrets description: 'Supabase Management API — Secrets. 3 operations. Lead operation: List project secrets. Self-contained Naftiko capability covering one Supabase business surface.' tags: - Supabase - Secrets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPABASE_API_KEY: SUPABASE_API_KEY capability: consumes: - type: http namespace: management-secrets baseUri: https://api.supabase.com/v1 description: Supabase Management API — Secrets business capability. Self-contained, no shared references. resources: - name: projects-ref-secrets path: /projects/{ref}/secrets operations: - name: listsecrets method: GET description: List project secrets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsecrets method: POST description: Create project secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletesecrets method: DELETE description: Delete project secrets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SUPABASE_API_KEY}}' exposes: - type: rest namespace: management-secrets-rest port: 8080 description: REST adapter for Supabase Management API — Secrets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{ref}/secrets name: projects-ref-secrets description: REST surface for projects-ref-secrets. operations: - method: GET name: listsecrets description: List project secrets call: management-secrets.listsecrets outputParameters: - type: object mapping: $. - method: POST name: createsecrets description: Create project secrets call: management-secrets.createsecrets with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesecrets description: Delete project secrets call: management-secrets.deletesecrets with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: management-secrets-mcp port: 9090 transport: http description: MCP adapter for Supabase Management API — Secrets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-project-secrets description: List project secrets hints: readOnly: true destructive: false idempotent: true call: management-secrets.listsecrets outputParameters: - type: object mapping: $. - name: create-project-secrets description: Create project secrets hints: readOnly: false destructive: false idempotent: false call: management-secrets.createsecrets with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-project-secrets description: Delete project secrets hints: readOnly: false destructive: true idempotent: true call: management-secrets.deletesecrets with: body: tools.body outputParameters: - type: object mapping: $.