naftiko: 1.0.0-alpha2 info: label: Toast authentication API — Authentication description: 'Toast authentication API — Authentication. 1 operations. Lead operation: Toast Get an Authentication Token. Self-contained Naftiko capability covering one Toast business surface.' tags: - Toast - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOAST_API_KEY: TOAST_API_KEY capability: consumes: - type: http namespace: authentication-authentication baseUri: https://toast-api-server/authentication/v1 description: Toast authentication API — Authentication business capability. Self-contained, no shared references. resources: - name: authentication-login path: /authentication/login operations: - name: authenticationloginpost method: POST description: Toast Get an Authentication Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: The authentication credentials for your Toast API client integration required: true exposes: - type: rest namespace: authentication-authentication-rest port: 8080 description: REST adapter for Toast authentication API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/authentication/login name: authentication-login description: REST surface for authentication-login. operations: - method: POST name: authenticationloginpost description: Toast Get an Authentication Token call: authentication-authentication.authenticationloginpost with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: authentication-authentication-mcp port: 9090 transport: http description: MCP adapter for Toast authentication API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: toast-get-authentication-token description: Toast Get an Authentication Token hints: readOnly: true destructive: false idempotent: false call: authentication-authentication.authenticationloginpost with: body: tools.body outputParameters: - type: object mapping: $.