naftiko: 1.0.0-alpha2 info: label: Ghost Admin API — Users description: 'Ghost Admin API — Users. 2 operations. Lead operation: Browse users. Self-contained Naftiko capability covering one Ghost business surface.' tags: - Ghost - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GHOST_API_KEY: GHOST_API_KEY capability: consumes: - type: http namespace: admin-users baseUri: https://{site}.ghost.io/ghost/api/admin description: Ghost Admin API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users/ operations: - name: adminbrowseusers method: GET description: Browse users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: include in: query type: string description: Include related resources. Supports count.posts and roles. - name: users-id path: /users/{id}/ operations: - name: adminreaduser method: GET description: Read a user by ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GHOST_API_KEY}}' exposes: - type: rest namespace: admin-users-rest port: 8080 description: REST adapter for Ghost Admin API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: adminbrowseusers description: Browse users call: admin-users.adminbrowseusers with: include: rest.include outputParameters: - type: object mapping: $. - path: /v1/users/{id} name: users-id description: REST surface for users-id. operations: - method: GET name: adminreaduser description: Read a user by ID call: admin-users.adminreaduser outputParameters: - type: object mapping: $. - type: mcp namespace: admin-users-mcp port: 9090 transport: http description: MCP adapter for Ghost Admin API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: browse-users description: Browse users hints: readOnly: true destructive: false idempotent: true call: admin-users.adminbrowseusers with: include: tools.include outputParameters: - type: object mapping: $. - name: read-user-id description: Read a user by ID hints: readOnly: true destructive: false idempotent: true call: admin-users.adminreaduser outputParameters: - type: object mapping: $.