naftiko: 1.0.0-alpha2 info: label: SuperTokens Core Driver Interface — Email Password description: 'SuperTokens Core Driver Interface — Email Password. 4 operations. Lead operation: Email Password Sign In. Self-contained Naftiko capability covering one Supertokens business surface.' tags: - Supertokens - Email Password created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPERTOKENS_API_KEY: SUPERTOKENS_API_KEY capability: consumes: - type: http namespace: core-driver-interface-email-password baseUri: http://{host}:{port} description: SuperTokens Core Driver Interface — Email Password business capability. Self-contained, no shared references. resources: - name: recipe-signin path: /recipe/signin operations: - name: emailpasswordsignin method: POST description: Email Password Sign In outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: recipe-signup path: /recipe/signup operations: - name: emailpasswordsignup method: POST description: Email Password Sign Up outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: recipe-user-password-reset path: /recipe/user/password/reset operations: - name: resetpassword method: POST description: Reset Password outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: recipe-user-password-reset-token path: /recipe/user/password/reset/token operations: - name: createresetpasswordtoken method: POST description: Create Reset Password Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: api-key value: '{{env.SUPERTOKENS_API_KEY}}' placement: header exposes: - type: rest namespace: core-driver-interface-email-password-rest port: 8080 description: REST adapter for SuperTokens Core Driver Interface — Email Password. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/recipe/signin name: recipe-signin description: REST surface for recipe-signin. operations: - method: POST name: emailpasswordsignin description: Email Password Sign In call: core-driver-interface-email-password.emailpasswordsignin with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/recipe/signup name: recipe-signup description: REST surface for recipe-signup. operations: - method: POST name: emailpasswordsignup description: Email Password Sign Up call: core-driver-interface-email-password.emailpasswordsignup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/recipe/user/password/reset name: recipe-user-password-reset description: REST surface for recipe-user-password-reset. operations: - method: POST name: resetpassword description: Reset Password call: core-driver-interface-email-password.resetpassword with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/recipe/user/password/reset/token name: recipe-user-password-reset-token description: REST surface for recipe-user-password-reset-token. operations: - method: POST name: createresetpasswordtoken description: Create Reset Password Token call: core-driver-interface-email-password.createresetpasswordtoken with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: core-driver-interface-email-password-mcp port: 9090 transport: http description: MCP adapter for SuperTokens Core Driver Interface — Email Password. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: email-password-sign description: Email Password Sign In hints: readOnly: false destructive: false idempotent: false call: core-driver-interface-email-password.emailpasswordsignin with: body: tools.body outputParameters: - type: object mapping: $. - name: email-password-sign-up description: Email Password Sign Up hints: readOnly: false destructive: false idempotent: false call: core-driver-interface-email-password.emailpasswordsignup with: body: tools.body outputParameters: - type: object mapping: $. - name: reset-password description: Reset Password hints: readOnly: false destructive: false idempotent: false call: core-driver-interface-email-password.resetpassword with: body: tools.body outputParameters: - type: object mapping: $. - name: create-reset-password-token description: Create Reset Password Token hints: readOnly: false destructive: false idempotent: false call: core-driver-interface-email-password.createresetpasswordtoken with: body: tools.body outputParameters: - type: object mapping: $.