naftiko: 1.0.0-alpha2 info: label: Lever API — Users description: 'Lever API — Users. 3 operations. Lead operation: List users. Self-contained Naftiko capability covering one Lever business surface.' tags: - Lever - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEVER_API_KEY: LEVER_API_KEY capability: consumes: - type: http namespace: lever-users baseUri: https://api.lever.co/v1 description: Lever API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: get method: GET description: List users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: users-user path: /users/{user} operations: - name: get method: GET description: Retrieve user outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LEVER_API_KEY}}' exposes: - type: rest namespace: lever-users-rest port: 8080 description: REST adapter for Lever API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: get description: List users call: lever-users.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create user call: lever-users.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user} name: users-user description: REST surface for users-user. operations: - method: GET name: get description: Retrieve user call: lever-users.get outputParameters: - type: object mapping: $. - type: mcp namespace: lever-users-mcp port: 9090 transport: http description: MCP adapter for Lever API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-users description: List users hints: readOnly: true destructive: false idempotent: true call: lever-users.get outputParameters: - type: object mapping: $. - name: create-user description: Create user hints: readOnly: false destructive: false idempotent: false call: lever-users.post with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-user description: Retrieve user hints: readOnly: true destructive: false idempotent: true call: lever-users.get outputParameters: - type: object mapping: $.