naftiko: 1.0.0-alpha2 info: label: WunderGraph Cosmo Platform API — Feature Flags description: 'WunderGraph Cosmo Platform API — Feature Flags. 2 operations. Lead operation: WunderGraph List feature flags. Self-contained Naftiko capability covering one Wundergraph business surface.' tags: - Wundergraph - Feature Flags created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WUNDERGRAPH_API_KEY: WUNDERGRAPH_API_KEY capability: consumes: - type: http namespace: cosmo-platform-feature-flags baseUri: https://cosmo-cp.wundergraph.com description: WunderGraph Cosmo Platform API — Feature Flags business capability. Self-contained, no shared references. resources: - name: v1-feature-flags path: /v1/feature-flags operations: - name: listfeatureflags method: GET description: WunderGraph List feature flags outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: namespace in: query type: string description: Filter by namespace name. - name: createfeatureflag method: POST description: WunderGraph Create a feature flag outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.WUNDERGRAPH_API_KEY}}' placement: header exposes: - type: rest namespace: cosmo-platform-feature-flags-rest port: 8080 description: REST adapter for WunderGraph Cosmo Platform API — Feature Flags. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/feature-flags name: v1-feature-flags description: REST surface for v1-feature-flags. operations: - method: GET name: listfeatureflags description: WunderGraph List feature flags call: cosmo-platform-feature-flags.listfeatureflags with: namespace: rest.namespace outputParameters: - type: object mapping: $. - method: POST name: createfeatureflag description: WunderGraph Create a feature flag call: cosmo-platform-feature-flags.createfeatureflag with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cosmo-platform-feature-flags-mcp port: 9090 transport: http description: MCP adapter for WunderGraph Cosmo Platform API — Feature Flags. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: wundergraph-list-feature-flags description: WunderGraph List feature flags hints: readOnly: true destructive: false idempotent: true call: cosmo-platform-feature-flags.listfeatureflags with: namespace: tools.namespace outputParameters: - type: object mapping: $. - name: wundergraph-create-feature-flag description: WunderGraph Create a feature flag hints: readOnly: false destructive: false idempotent: false call: cosmo-platform-feature-flags.createfeatureflag with: body: tools.body outputParameters: - type: object mapping: $.