naftiko: 1.0.0-alpha2 info: label: Auth0 API — MFA description: 'Auth0 API — MFA. 4 operations. Lead operation: Auth0 Associates or adds a new authenticator for multi-factor authentication (MFA).. Self-contained Naftiko capability covering one Auth0 business surface.' tags: - Auth0 - MFA created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AUTH0_API_KEY: AUTH0_API_KEY capability: consumes: - type: http namespace: auth0-mfa baseUri: '' description: Auth0 API — MFA business capability. Self-contained, no shared references. resources: - name: mfa-associate path: /mfa/associate operations: - name: mfaassociate method: POST description: Auth0 Associates or adds a new authenticator for multi-factor authentication (MFA). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: mfa-authenticators path: /mfa/authenticators operations: - name: mfaauthenticators method: GET description: Auth0 Returns a list of authenticators associated with your application. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ACCESS_TOKEN in: header type: string description: The Access Token obtained during login. required: true - name: mfa-authenticators-AUTHENTICATOR_ID path: /mfa/authenticators/{AUTHENTICATOR_ID} operations: - name: mfaauthenticatorsdelete method: DELETE description: Auth0 Deletes an associated authenticator using its ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ACCESS_TOKEN in: header type: string description: The Access Token obtained during login. required: true - name: AUTHENTICATOR_ID in: path type: string description: The ID of the authenticator to delete. required: true - name: mfa-challenge path: /mfa/challenge operations: - name: mfachallenge method: POST description: Auth0 Request a challenge for multi-factor authentication outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: auth0-mfa-rest port: 8080 description: REST adapter for Auth0 API — MFA. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/mfa/associate name: mfa-associate description: REST surface for mfa-associate. operations: - method: POST name: mfaassociate description: Auth0 Associates or adds a new authenticator for multi-factor authentication (MFA). call: auth0-mfa.mfaassociate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/mfa/authenticators name: mfa-authenticators description: REST surface for mfa-authenticators. operations: - method: GET name: mfaauthenticators description: Auth0 Returns a list of authenticators associated with your application. call: auth0-mfa.mfaauthenticators with: ACCESS_TOKEN: rest.ACCESS_TOKEN outputParameters: - type: object mapping: $. - path: /v1/mfa/authenticators/{authenticator-id} name: mfa-authenticators-authenticator-id description: REST surface for mfa-authenticators-AUTHENTICATOR_ID. operations: - method: DELETE name: mfaauthenticatorsdelete description: Auth0 Deletes an associated authenticator using its ID. call: auth0-mfa.mfaauthenticatorsdelete with: ACCESS_TOKEN: rest.ACCESS_TOKEN AUTHENTICATOR_ID: rest.AUTHENTICATOR_ID outputParameters: - type: object mapping: $. - path: /v1/mfa/challenge name: mfa-challenge description: REST surface for mfa-challenge. operations: - method: POST name: mfachallenge description: Auth0 Request a challenge for multi-factor authentication call: auth0-mfa.mfachallenge with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: auth0-mfa-mcp port: 9090 transport: http description: MCP adapter for Auth0 API — MFA. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: auth0-associates-adds-new-authenticator description: Auth0 Associates or adds a new authenticator for multi-factor authentication (MFA). hints: readOnly: false destructive: false idempotent: false call: auth0-mfa.mfaassociate with: body: tools.body outputParameters: - type: object mapping: $. - name: auth0-returns-list-authenticators-associated description: Auth0 Returns a list of authenticators associated with your application. hints: readOnly: true destructive: false idempotent: true call: auth0-mfa.mfaauthenticators with: ACCESS_TOKEN: tools.ACCESS_TOKEN outputParameters: - type: object mapping: $. - name: auth0-deletes-associated-authenticator-using description: Auth0 Deletes an associated authenticator using its ID. hints: readOnly: false destructive: true idempotent: true call: auth0-mfa.mfaauthenticatorsdelete with: ACCESS_TOKEN: tools.ACCESS_TOKEN AUTHENTICATOR_ID: tools.AUTHENTICATOR_ID outputParameters: - type: object mapping: $. - name: auth0-request-challenge-multi-factor description: Auth0 Request a challenge for multi-factor authentication hints: readOnly: false destructive: false idempotent: false call: auth0-mfa.mfachallenge with: body: tools.body outputParameters: - type: object mapping: $.