naftiko: 1.0.0-alpha2 info: label: Zitadel Management API — Organizations description: 'Zitadel Management API — Organizations. 5 operations. Lead operation: Zitadel Create Organization. Self-contained Naftiko capability covering one Zitadel business surface.' tags: - Zitadel - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZITADEL_API_KEY: ZITADEL_API_KEY capability: consumes: - type: http namespace: management-organizations baseUri: https://{instance}.zitadel.cloud description: Zitadel Management API — Organizations business capability. Self-contained, no shared references. resources: - name: management-v1-orgs path: /management/v1/orgs operations: - name: createorganization method: POST description: Zitadel Create Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: management-v1-orgs-_search path: /management/v1/orgs/_search operations: - name: listorganizations method: POST description: Zitadel List Organizations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: management-v1-orgs-me path: /management/v1/orgs/me operations: - name: getmyorg method: GET description: Zitadel Get My Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: management-v1-orgs-me-members path: /management/v1/orgs/me/members operations: - name: addorgmember method: POST description: Zitadel Add Organization Member outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: management-v1-orgs-me-members-_search path: /management/v1/orgs/me/members/_search operations: - name: listorgmembers method: POST description: Zitadel List Organization Members outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ZITADEL_API_KEY}}' exposes: - type: rest namespace: management-organizations-rest port: 8080 description: REST adapter for Zitadel Management API — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/management/v1/orgs name: management-v1-orgs description: REST surface for management-v1-orgs. operations: - method: POST name: createorganization description: Zitadel Create Organization call: management-organizations.createorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/management/v1/orgs/search name: management-v1-orgs-search description: REST surface for management-v1-orgs-_search. operations: - method: POST name: listorganizations description: Zitadel List Organizations call: management-organizations.listorganizations with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/management/v1/orgs/me name: management-v1-orgs-me description: REST surface for management-v1-orgs-me. operations: - method: GET name: getmyorg description: Zitadel Get My Organization call: management-organizations.getmyorg outputParameters: - type: object mapping: $. - path: /v1/management/v1/orgs/me/members name: management-v1-orgs-me-members description: REST surface for management-v1-orgs-me-members. operations: - method: POST name: addorgmember description: Zitadel Add Organization Member call: management-organizations.addorgmember with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/management/v1/orgs/me/members/search name: management-v1-orgs-me-members-search description: REST surface for management-v1-orgs-me-members-_search. operations: - method: POST name: listorgmembers description: Zitadel List Organization Members call: management-organizations.listorgmembers outputParameters: - type: object mapping: $. - type: mcp namespace: management-organizations-mcp port: 9090 transport: http description: MCP adapter for Zitadel Management API — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zitadel-create-organization description: Zitadel Create Organization hints: readOnly: false destructive: false idempotent: false call: management-organizations.createorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: zitadel-list-organizations description: Zitadel List Organizations hints: readOnly: true destructive: false idempotent: false call: management-organizations.listorganizations with: body: tools.body outputParameters: - type: object mapping: $. - name: zitadel-get-my-organization description: Zitadel Get My Organization hints: readOnly: true destructive: false idempotent: true call: management-organizations.getmyorg outputParameters: - type: object mapping: $. - name: zitadel-add-organization-member description: Zitadel Add Organization Member hints: readOnly: false destructive: false idempotent: false call: management-organizations.addorgmember with: body: tools.body outputParameters: - type: object mapping: $. - name: zitadel-list-organization-members description: Zitadel List Organization Members hints: readOnly: true destructive: false idempotent: false call: management-organizations.listorgmembers outputParameters: - type: object mapping: $.