naftiko: 1.0.0-alpha2 info: label: Ghost Content API — Authors description: 'Ghost Content API — Authors. 3 operations. Lead operation: Browse authors. Self-contained Naftiko capability covering one Ghost business surface.' tags: - Ghost - Authors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GHOST_API_KEY: GHOST_API_KEY capability: consumes: - type: http namespace: content-authors baseUri: https://{site}.ghost.io/ghost/api/content description: Ghost Content API — Authors business capability. Self-contained, no shared references. resources: - name: authors path: /authors/ operations: - name: browseauthors method: GET description: Browse authors outputRawFormat: json outputParameters: - name: result type: object value: $. - name: authors-slug-slug path: /authors/slug/{slug}/ operations: - name: readauthorbyslug method: GET description: Read an author by slug outputRawFormat: json outputParameters: - name: result type: object value: $. - name: authors-id path: /authors/{id}/ operations: - name: readauthorbyid method: GET description: Read an author by ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: key value: '{{env.GHOST_API_KEY}}' placement: query exposes: - type: rest namespace: content-authors-rest port: 8080 description: REST adapter for Ghost Content API — Authors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/authors name: authors description: REST surface for authors. operations: - method: GET name: browseauthors description: Browse authors call: content-authors.browseauthors outputParameters: - type: object mapping: $. - path: /v1/authors/slug/{slug} name: authors-slug-slug description: REST surface for authors-slug-slug. operations: - method: GET name: readauthorbyslug description: Read an author by slug call: content-authors.readauthorbyslug outputParameters: - type: object mapping: $. - path: /v1/authors/{id} name: authors-id description: REST surface for authors-id. operations: - method: GET name: readauthorbyid description: Read an author by ID call: content-authors.readauthorbyid outputParameters: - type: object mapping: $. - type: mcp namespace: content-authors-mcp port: 9090 transport: http description: MCP adapter for Ghost Content API — Authors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: browse-authors description: Browse authors hints: readOnly: true destructive: false idempotent: true call: content-authors.browseauthors outputParameters: - type: object mapping: $. - name: read-author-slug description: Read an author by slug hints: readOnly: true destructive: false idempotent: true call: content-authors.readauthorbyslug outputParameters: - type: object mapping: $. - name: read-author-id description: Read an author by ID hints: readOnly: true destructive: false idempotent: true call: content-authors.readauthorbyid outputParameters: - type: object mapping: $.