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