naftiko: 1.0.0-alpha2 info: label: Rutter Unified API — Connections description: 'Rutter Unified API — Connections. 3 operations. Lead operation: List Connections. Self-contained Naftiko capability covering one Rutter business surface.' tags: - Rutter - Connections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RUTTER_API_KEY: RUTTER_API_KEY capability: consumes: - type: http namespace: unified-connections baseUri: https://production.rutterapi.com/versioned description: Rutter Unified API — Connections business capability. Self-contained, no shared references. resources: - name: connections path: /connections operations: - name: listconnections method: GET description: List Connections outputRawFormat: json outputParameters: - name: result type: object value: $. - name: connections-token_exchange path: /connections/token_exchange operations: - name: exchangetoken method: POST description: Exchange Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: connections-connectionId path: /connections/{connectionId} operations: - name: getconnection method: GET description: Get Connection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: connectionId in: path type: string required: true authentication: type: basic username: '{{env.RUTTER_USER}}' password: '{{env.RUTTER_PASS}}' exposes: - type: rest namespace: unified-connections-rest port: 8080 description: REST adapter for Rutter Unified API — Connections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/connections name: connections description: REST surface for connections. operations: - method: GET name: listconnections description: List Connections call: unified-connections.listconnections outputParameters: - type: object mapping: $. - path: /v1/connections/token-exchange name: connections-token-exchange description: REST surface for connections-token_exchange. operations: - method: POST name: exchangetoken description: Exchange Token call: unified-connections.exchangetoken with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/connections/{connectionid} name: connections-connectionid description: REST surface for connections-connectionId. operations: - method: GET name: getconnection description: Get Connection call: unified-connections.getconnection with: connectionId: rest.connectionId outputParameters: - type: object mapping: $. - type: mcp namespace: unified-connections-mcp port: 9090 transport: http description: MCP adapter for Rutter Unified API — Connections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-connections description: List Connections hints: readOnly: true destructive: false idempotent: true call: unified-connections.listconnections outputParameters: - type: object mapping: $. - name: exchange-token description: Exchange Token hints: readOnly: false destructive: false idempotent: false call: unified-connections.exchangetoken with: body: tools.body outputParameters: - type: object mapping: $. - name: get-connection description: Get Connection hints: readOnly: true destructive: false idempotent: true call: unified-connections.getconnection with: connectionId: tools.connectionId outputParameters: - type: object mapping: $.