naftiko: 1.0.0-alpha2 info: label: Yoast REST API — Pages description: 'Yoast REST API — Pages. 2 operations. Lead operation: List Pages With SEO Data. Self-contained Naftiko capability covering one Yoast business surface.' tags: - Yoast - Pages created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: YOAST_API_KEY: YOAST_API_KEY capability: consumes: - type: http namespace: rest-pages baseUri: https://{site}/wp-json description: Yoast REST API — Pages business capability. Self-contained, no shared references. resources: - name: wp-v2-pages path: /wp/v2/pages operations: - name: listpageswithseo method: GET description: List Pages With SEO Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: slug in: query type: string description: Filter by page slug - name: page in: query type: integer description: Page number for pagination - name: per_page in: query type: integer description: Number of pages per page (max 100) - name: wp-v2-pages-id path: /wp/v2/pages/{id} operations: - name: getpagewithseo method: GET description: Get Page With SEO Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: WordPress page ID required: true exposes: - type: rest namespace: rest-pages-rest port: 8080 description: REST adapter for Yoast REST API — Pages. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/wp/v2/pages name: wp-v2-pages description: REST surface for wp-v2-pages. operations: - method: GET name: listpageswithseo description: List Pages With SEO Data call: rest-pages.listpageswithseo with: slug: rest.slug page: rest.page per_page: rest.per_page outputParameters: - type: object mapping: $. - path: /v1/wp/v2/pages/{id} name: wp-v2-pages-id description: REST surface for wp-v2-pages-id. operations: - method: GET name: getpagewithseo description: Get Page With SEO Data call: rest-pages.getpagewithseo with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: rest-pages-mcp port: 9090 transport: http description: MCP adapter for Yoast REST API — Pages. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-pages-seo-data description: List Pages With SEO Data hints: readOnly: true destructive: false idempotent: true call: rest-pages.listpageswithseo with: slug: tools.slug page: tools.page per_page: tools.per_page outputParameters: - type: object mapping: $. - name: get-page-seo-data description: Get Page With SEO Data hints: readOnly: true destructive: false idempotent: true call: rest-pages.getpagewithseo with: id: tools.id outputParameters: - type: object mapping: $.