naftiko: 1.0.0-alpha2 info: label: Justworks Payroll API — Payrolls & Paystubs description: 'Justworks Payroll API — Payrolls & Paystubs. 4 operations. Lead operation: Justworks List Payrolls. Self-contained Naftiko capability covering payroll runs, fees, and paystubs.' tags: - Justworks - Payroll - Paystubs - Compensation created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: JUSTWORKS_ACCESS_TOKEN: JUSTWORKS_ACCESS_TOKEN capability: consumes: - type: http namespace: payroll baseUri: https://public-api.justworks.com description: Justworks Payroll API business capability. resources: - name: v1-payrolls path: /v1/payrolls operations: - name: listpayrolls method: GET description: Justworks List Payrolls outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-payrolls-payroll_id-fees path: /v1/payrolls/{payroll_id}/fees operations: - name: listpayrollfees method: GET description: Justworks List Payroll Fees outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-payrolls-payroll_id-paystubs path: /v1/payrolls/{payroll_id}/paystubs operations: - name: listpaystubsforpayroll method: GET description: Justworks List Paystubs For Payroll outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-paystubs-paystub_id path: /v1/paystubs/{paystub_id} operations: - name: getpaystub method: GET description: Justworks Get Paystub outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer key: Authorization value: 'Bearer {{env.JUSTWORKS_ACCESS_TOKEN}}' placement: header exposes: - type: mcp namespace: payroll-mcp port: 9090 transport: http description: MCP adapter for Justworks Payroll API. tools: - name: justworks-list-payrolls description: Justworks List Payrolls hints: readOnly: true destructive: false idempotent: true call: payroll.listpayrolls outputParameters: - type: object mapping: $. - name: justworks-list-payroll-fees description: Justworks List Payroll Fees hints: readOnly: true destructive: false idempotent: true call: payroll.listpayrollfees outputParameters: - type: object mapping: $. - name: justworks-list-paystubs-for-payroll description: Justworks List Paystubs For Payroll hints: readOnly: true destructive: false idempotent: true call: payroll.listpaystubsforpayroll outputParameters: - type: object mapping: $. - name: justworks-get-paystub description: Justworks Get Paystub hints: readOnly: true destructive: false idempotent: true call: payroll.getpaystub outputParameters: - type: object mapping: $.