naftiko: 1.0.0-alpha2 info: label: Cumulocity User API — Users description: Manage users within a Cumulocity tenant, including SSO-provisioned users and service users. tags: [Cumulocity, Users, RBAC] created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: C8Y_BASE_URL: C8Y_BASE_URL C8Y_USER: C8Y_USER C8Y_PASSWORD: C8Y_PASSWORD capability: consumes: - type: http namespace: user-users baseUri: '{{env.C8Y_BASE_URL}}' resources: - name: users path: /user/{tenantId}/users operations: - name: listusers method: GET description: List Users inputParameters: - {name: tenantId, in: path, type: string, required: true} - name: createuser method: POST description: Create A User inputParameters: - {name: tenantId, in: path, type: string, required: true} - {name: body, in: body, type: object, required: true} - name: user path: /user/{tenantId}/users/{userId} operations: - name: getuser method: GET description: Retrieve A User inputParameters: - {name: tenantId, in: path, type: string, required: true} - {name: userId, in: path, type: string, required: true} - name: updateuser method: PUT description: Update A User inputParameters: - {name: tenantId, in: path, type: string, required: true} - {name: userId, in: path, type: string, required: true} - {name: body, in: body, type: object, required: true} - name: deleteuser method: DELETE description: Delete A User inputParameters: - {name: tenantId, in: path, type: string, required: true} - {name: userId, in: path, type: string, required: true} authentication: type: basic username: '{{env.C8Y_USER}}' password: '{{env.C8Y_PASSWORD}}' exposes: - type: mcp namespace: user-users-mcp port: 9090 transport: http tools: - name: cumulocity-list-users description: List Cumulocity tenant users. hints: {readOnly: true, destructive: false, idempotent: true} call: user-users.listusers with: {tenantId: tools.tenantId} - name: cumulocity-create-user description: Create a Cumulocity user. hints: {readOnly: false, destructive: false, idempotent: false} call: user-users.createuser with: {tenantId: tools.tenantId, body: tools.body} - name: cumulocity-delete-user description: Delete a Cumulocity user. hints: {readOnly: false, destructive: true, idempotent: true} call: user-users.deleteuser with: {tenantId: tools.tenantId, userId: tools.userId}