naftiko: 1.0.0-alpha2 info: label: Fauna GraphQL API — Schema description: 'Fauna GraphQL API — Schema. 1 operations. Lead operation: Import a GraphQL schema. Self-contained Naftiko capability covering one Fauna business surface.' tags: - Fauna - Schema created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FAUNA_API_KEY: FAUNA_API_KEY capability: consumes: - type: http namespace: graphql-schema baseUri: https://graphql.fauna.com description: Fauna GraphQL API — Schema business capability. Self-contained, no shared references. resources: - name: import path: /import operations: - name: importgraphqlschema method: POST description: Import a GraphQL schema outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: mode in: query type: string description: Schema import mode. Use merge to add to the existing schema or replace to overwrite it entirely. Override allows updating existing types. - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.FAUNA_API_KEY}}' exposes: - type: rest namespace: graphql-schema-rest port: 8080 description: REST adapter for Fauna GraphQL API — Schema. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/import name: import description: REST surface for import. operations: - method: POST name: importgraphqlschema description: Import a GraphQL schema call: graphql-schema.importgraphqlschema with: mode: rest.mode body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: graphql-schema-mcp port: 9090 transport: http description: MCP adapter for Fauna GraphQL API — Schema. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: import-graphql-schema description: Import a GraphQL schema hints: readOnly: false destructive: false idempotent: false call: graphql-schema.importgraphqlschema with: mode: tools.mode body: tools.body outputParameters: - type: object mapping: $.