naftiko: 1.0.0-alpha2 info: label: Stack Exchange API v2.3 — Events description: 'Events surface of the Stack Exchange API. 1 operations. Lead operation: List Events. Self-contained Naftiko capability covering one Stack Exchange business surface.' tags: - Stack Exchange - Q And A - Events created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: STACK_EXCHANGE_KEY: STACK_EXCHANGE_KEY STACK_EXCHANGE_ACCESS_TOKEN: STACK_EXCHANGE_ACCESS_TOKEN capability: consumes: - type: http namespace: stack-exchange-events baseUri: https://api.stackexchange.com/2.3 description: Stack Exchange API v2.3 — Events business capability. Self-contained, no shared references. authentication: type: apikey key: key value: '{{env.STACK_EXCHANGE_KEY}}' placement: query resources: - name: events path: /events operations: - name: listEvents method: GET description: List Events inputParameters: - name: site in: query type: string required: true description: Target Q&A community. Either the api_site_parameter from a `/sites` entry (e.g. `stackoverflow`, `serverfault`, `superuser`) or a full domain (`stackoverflow.com`). - name: access_token in: query type: string required: false description: OAuth 2.0 access token. Required for any /me surface and any write. - name: key in: query type: string required: false description: App key from stackapps.com. Raises the daily quota to 10,000/IP. - name: filter in: query type: string required: false description: Custom response filter id created via /filters/create. - name: since in: query type: integer required: false description: since parameter outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: stack-exchange-events-rest port: 8080 description: REST adapter for Stack Exchange API v2.3 — Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/events name: events description: REST surface for events. operations: - method: GET name: listEvents description: List Events call: stack-exchange-events.listEvents with: site: rest.site access_token: rest.access_token key: rest.key filter: rest.filter since: rest.since outputParameters: - type: object mapping: $. - type: mcp namespace: stack-exchange-events-mcp port: 9090 transport: http description: MCP adapter for Stack Exchange API v2.3 — Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-events description: List Events hints: readOnly: true destructive: false idempotent: true call: stack-exchange-events.listEvents with: site: tools.site access_token: tools.access_token key: tools.key filter: tools.filter since: tools.since outputParameters: - type: object mapping: $.