naftiko: 1.0.0-alpha2 info: label: Marvel Comics API — Creators description: 'Marvel Comics API — Creators. 2 operations. Lead operation: List creators. Self-contained Naftiko capability covering one Marvel business surface.' tags: - Marvel - Creators created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MARVEL_API_KEY: MARVEL_API_KEY capability: consumes: - type: http namespace: marvel-creators baseUri: https://gateway.marvel.com/v1/public description: Marvel Comics API — Creators business capability. Self-contained, no shared references. resources: - name: creators path: /creators operations: - name: listcreators method: GET description: List creators outputRawFormat: json outputParameters: - name: result type: object value: $. - name: creators-creatorId path: /creators/{creatorId} operations: - name: getcreator method: GET description: Get creator by ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: apikey value: '{{env.MARVEL_API_KEY}}' placement: query exposes: - type: rest namespace: marvel-creators-rest port: 8080 description: REST adapter for Marvel Comics API — Creators. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/creators name: creators description: REST surface for creators. operations: - method: GET name: listcreators description: List creators call: marvel-creators.listcreators outputParameters: - type: object mapping: $. - path: /v1/creators/{creatorid} name: creators-creatorid description: REST surface for creators-creatorId. operations: - method: GET name: getcreator description: Get creator by ID call: marvel-creators.getcreator outputParameters: - type: object mapping: $. - type: mcp namespace: marvel-creators-mcp port: 9090 transport: http description: MCP adapter for Marvel Comics API — Creators. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-creators description: List creators hints: readOnly: true destructive: false idempotent: true call: marvel-creators.listcreators outputParameters: - type: object mapping: $. - name: get-creator-id description: Get creator by ID hints: readOnly: true destructive: false idempotent: true call: marvel-creators.getcreator outputParameters: - type: object mapping: $.