Yoast · Capability

Yoast REST API — SEO Head

Yoast REST API — SEO Head. 1 operations. Lead operation: Get SEO Head for URL. Self-contained Naftiko capability covering one Yoast business surface.

Run with Naftiko YoastSEO Head

What You Can Do

GET
Getseohead — Get SEO Head for URL
/v1/yoast/v1/get-head

MCP Tools

get-seo-head-url

Get SEO Head for URL

read-only idempotent

Capability Spec

rest-seo-head.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Yoast REST API — SEO Head
  description: 'Yoast REST API — SEO Head. 1 operations. Lead operation: Get SEO Head for URL. Self-contained Naftiko capability
    covering one Yoast business surface.'
  tags:
  - Yoast
  - SEO Head
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    YOAST_API_KEY: YOAST_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-seo-head
    baseUri: https://{site}/wp-json
    description: Yoast REST API — SEO Head business capability. Self-contained, no shared references.
    resources:
    - name: yoast-v1-get_head
      path: /yoast/v1/get_head
      operations:
      - name: getseohead
        method: GET
        description: Get SEO Head for URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: url
          in: query
          type: string
          description: The full URL of the page to retrieve SEO metadata for
          required: true
  exposes:
  - type: rest
    namespace: rest-seo-head-rest
    port: 8080
    description: REST adapter for Yoast REST API — SEO Head. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/yoast/v1/get-head
      name: yoast-v1-get-head
      description: REST surface for yoast-v1-get_head.
      operations:
      - method: GET
        name: getseohead
        description: Get SEO Head for URL
        call: rest-seo-head.getseohead
        with:
          url: rest.url
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-seo-head-mcp
    port: 9090
    transport: http
    description: MCP adapter for Yoast REST API — SEO Head. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-seo-head-url
      description: Get SEO Head for URL
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-seo-head.getseohead
      with:
        url: tools.url
      outputParameters:
      - type: object
        mapping: $.