naftiko: 1.0.0-alpha2 info: label: Intercom API — Admins description: 'Intercom API — Admins. 2 operations. Lead operation: List admins. Self-contained Naftiko capability covering one Intercom business surface.' tags: - Intercom - Admins created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INTERCOM_API_KEY: INTERCOM_API_KEY capability: consumes: - type: http namespace: intercom-admins baseUri: https://api.intercom.io description: Intercom API — Admins business capability. Self-contained, no shared references. resources: - name: admins path: /admins operations: - name: listadmins method: GET description: List admins outputRawFormat: json outputParameters: - name: result type: object value: $. - name: me path: /me operations: - name: getme method: GET description: Identify an admin outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.INTERCOM_API_KEY}}' exposes: - type: rest namespace: intercom-admins-rest port: 8080 description: REST adapter for Intercom API — Admins. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/admins name: admins description: REST surface for admins. operations: - method: GET name: listadmins description: List admins call: intercom-admins.listadmins outputParameters: - type: object mapping: $. - path: /v1/me name: me description: REST surface for me. operations: - method: GET name: getme description: Identify an admin call: intercom-admins.getme outputParameters: - type: object mapping: $. - type: mcp namespace: intercom-admins-mcp port: 9090 transport: http description: MCP adapter for Intercom API — Admins. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-admins description: List admins hints: readOnly: true destructive: false idempotent: true call: intercom-admins.listadmins outputParameters: - type: object mapping: $. - name: identify-admin description: Identify an admin hints: readOnly: true destructive: false idempotent: true call: intercom-admins.getme outputParameters: - type: object mapping: $.