naftiko: 1.0.0-alpha2 info: label: Ghost Admin API — Images description: 'Ghost Admin API — Images. 1 operations. Lead operation: Upload an image. Self-contained Naftiko capability covering one Ghost business surface.' tags: - Ghost - Images created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GHOST_API_KEY: GHOST_API_KEY capability: consumes: - type: http namespace: admin-images baseUri: https://{site}.ghost.io/ghost/api/admin description: Ghost Admin API — Images business capability. Self-contained, no shared references. resources: - name: images-upload path: /images/upload/ operations: - name: adminuploadimage method: POST description: Upload an image 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.GHOST_API_KEY}}' exposes: - type: rest namespace: admin-images-rest port: 8080 description: REST adapter for Ghost Admin API — Images. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/images/upload name: images-upload description: REST surface for images-upload. operations: - method: POST name: adminuploadimage description: Upload an image call: admin-images.adminuploadimage with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: admin-images-mcp port: 9090 transport: http description: MCP adapter for Ghost Admin API — Images. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: upload-image description: Upload an image hints: readOnly: false destructive: false idempotent: false call: admin-images.adminuploadimage with: body: tools.body outputParameters: - type: object mapping: $.