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