naftiko: 1.0.0-alpha2 info: label: Fauna Core HTTP API — Query description: 'Fauna Core HTTP API — Query. 1 operations. Lead operation: Execute an FQL query. Self-contained Naftiko capability covering one Fauna business surface.' tags: - Fauna - Query created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FAUNA_API_KEY: FAUNA_API_KEY capability: consumes: - type: http namespace: core-http-query baseUri: https://db.fauna.com description: Fauna Core HTTP API — Query business capability. Self-contained, no shared references. resources: - name: query-1 path: /query/1 operations: - name: executequery method: POST description: Execute an FQL query 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.FAUNA_API_KEY}}' exposes: - type: rest namespace: core-http-query-rest port: 8080 description: REST adapter for Fauna Core HTTP API — Query. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/query/1 name: query-1 description: REST surface for query-1. operations: - method: POST name: executequery description: Execute an FQL query call: core-http-query.executequery with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: core-http-query-mcp port: 9090 transport: http description: MCP adapter for Fauna Core HTTP API — Query. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: execute-fql-query description: Execute an FQL query hints: readOnly: true destructive: false idempotent: false call: core-http-query.executequery with: body: tools.body outputParameters: - type: object mapping: $.