naftiko: 1.0.0-alpha2 info: label: Revert Unified API — Accounting description: 'Revert Unified API — Accounting. 3 operations. Lead operation: List Accounting Accounts. Self-contained Naftiko capability covering one Revert business surface.' tags: - Revert - Accounting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: REVERT_API_KEY: REVERT_API_KEY capability: consumes: - type: http namespace: unified-accounting baseUri: https://api.revert.dev description: Revert Unified API — Accounting business capability. Self-contained, no shared references. resources: - name: accounting-accounts path: /accounting/accounts operations: - name: getaccountingaccounts method: GET description: List Accounting Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounting-expenses path: /accounting/expenses operations: - name: getaccountingexpenses method: GET description: List Accounting Expenses outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createaccountingexpense method: POST description: Create Accounting Expense 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: x-revert-api-token value: '{{env.REVERT_API_KEY}}' placement: header exposes: - type: rest namespace: unified-accounting-rest port: 8080 description: REST adapter for Revert Unified API — Accounting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounting/accounts name: accounting-accounts description: REST surface for accounting-accounts. operations: - method: GET name: getaccountingaccounts description: List Accounting Accounts call: unified-accounting.getaccountingaccounts outputParameters: - type: object mapping: $. - path: /v1/accounting/expenses name: accounting-expenses description: REST surface for accounting-expenses. operations: - method: GET name: getaccountingexpenses description: List Accounting Expenses call: unified-accounting.getaccountingexpenses outputParameters: - type: object mapping: $. - method: POST name: createaccountingexpense description: Create Accounting Expense call: unified-accounting.createaccountingexpense with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: unified-accounting-mcp port: 9090 transport: http description: MCP adapter for Revert Unified API — Accounting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-accounting-accounts description: List Accounting Accounts hints: readOnly: true destructive: false idempotent: true call: unified-accounting.getaccountingaccounts outputParameters: - type: object mapping: $. - name: list-accounting-expenses description: List Accounting Expenses hints: readOnly: true destructive: false idempotent: true call: unified-accounting.getaccountingexpenses outputParameters: - type: object mapping: $. - name: create-accounting-expense description: Create Accounting Expense hints: readOnly: false destructive: false idempotent: false call: unified-accounting.createaccountingexpense with: body: tools.body outputParameters: - type: object mapping: $.