naftiko: 1.0.0-alpha2 info: label: PlanetScale Platform API — Organization Members description: 'PlanetScale Platform API — Organization Members. 4 operations. Lead operation: List organization members. Self-contained Naftiko capability covering one Planetscale business surface.' tags: - Planetscale - Organization Members created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PLANETSCALE_API_KEY: PLANETSCALE_API_KEY capability: consumes: - type: http namespace: platform-organization-members baseUri: https://api.planetscale.com/v1 description: PlanetScale Platform API — Organization Members business capability. Self-contained, no shared references. resources: - name: organizations-organization-members path: /organizations/{organization}/members operations: - name: listorganizationmembers method: GET description: List organization members outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organization-members-member_id path: /organizations/{organization}/members/{member_id} operations: - name: getorganizationmember method: GET description: Get an organization member outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateorganizationmember method: PATCH description: Update an organization member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteorganizationmember method: DELETE description: Remove an organization member outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.PLANETSCALE_API_KEY}}' exposes: - type: rest namespace: platform-organization-members-rest port: 8080 description: REST adapter for PlanetScale Platform API — Organization Members. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organization}/members name: organizations-organization-members description: REST surface for organizations-organization-members. operations: - method: GET name: listorganizationmembers description: List organization members call: platform-organization-members.listorganizationmembers outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization}/members/{member-id} name: organizations-organization-members-member-id description: REST surface for organizations-organization-members-member_id. operations: - method: GET name: getorganizationmember description: Get an organization member call: platform-organization-members.getorganizationmember outputParameters: - type: object mapping: $. - method: PATCH name: updateorganizationmember description: Update an organization member call: platform-organization-members.updateorganizationmember with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteorganizationmember description: Remove an organization member call: platform-organization-members.deleteorganizationmember outputParameters: - type: object mapping: $. - type: mcp namespace: platform-organization-members-mcp port: 9090 transport: http description: MCP adapter for PlanetScale Platform API — Organization Members. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-organization-members description: List organization members hints: readOnly: true destructive: false idempotent: true call: platform-organization-members.listorganizationmembers outputParameters: - type: object mapping: $. - name: get-organization-member description: Get an organization member hints: readOnly: true destructive: false idempotent: true call: platform-organization-members.getorganizationmember outputParameters: - type: object mapping: $. - name: update-organization-member description: Update an organization member hints: readOnly: false destructive: false idempotent: true call: platform-organization-members.updateorganizationmember with: body: tools.body outputParameters: - type: object mapping: $. - name: remove-organization-member description: Remove an organization member hints: readOnly: false destructive: true idempotent: true call: platform-organization-members.deleteorganizationmember outputParameters: - type: object mapping: $.