WordPress · Capability

WordPress REST API — Settings

WordPress REST API — Settings. 1 operations. Lead operation: WordPress Get Settings. Self-contained Naftiko capability covering one Wordpress business surface.

Run with Naftiko WordpressSettings

What You Can Do

GET
Getsettings — WordPress Get Settings
/v1/wp/v2/settings

MCP Tools

wordpress-get-settings

WordPress Get Settings

read-only idempotent

Capability Spec

rest-settings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WordPress REST API — Settings
  description: 'WordPress REST API — Settings. 1 operations. Lead operation: WordPress Get Settings. Self-contained Naftiko
    capability covering one Wordpress business surface.'
  tags:
  - Wordpress
  - Settings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORDPRESS_API_KEY: WORDPRESS_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-settings
    baseUri: https://{site}/wp-json
    description: WordPress REST API — Settings business capability. Self-contained, no shared references.
    resources:
    - name: wp-v2-settings
      path: /wp/v2/settings
      operations:
      - name: getsettings
        method: GET
        description: WordPress Get Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: wordpress_logged_in
      value: '{{env.WORDPRESS_API_KEY}}'
      placement: cookie
  exposes:
  - type: rest
    namespace: rest-settings-rest
    port: 8080
    description: REST adapter for WordPress REST API — Settings. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/wp/v2/settings
      name: wp-v2-settings
      description: REST surface for wp-v2-settings.
      operations:
      - method: GET
        name: getsettings
        description: WordPress Get Settings
        call: rest-settings.getsettings
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-settings-mcp
    port: 9090
    transport: http
    description: MCP adapter for WordPress REST API — Settings. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: wordpress-get-settings
      description: WordPress Get Settings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-settings.getsettings
      outputParameters:
      - type: object
        mapping: $.