Netlify · Capability

Netlify Netlify's API documentation — Metadata

Netlify Netlify's API documentation — Metadata. 2 operations. Lead operation: Metadata. Self-contained Naftiko capability covering one Netlify business surface.

Run with Naftiko NetlifyMetadata

What You Can Do

GET
Getsitemetadata — getsitemetadata
/v1/sites/{site-id}/metadata
PUT
Updatesitemetadata — updatesitemetadata
/v1/sites/{site-id}/metadata

MCP Tools

getsitemetadata

getsitemetadata

read-only idempotent
updatesitemetadata

updatesitemetadata

idempotent

Capability Spec

netlify-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Netlify Netlify's API documentation — Metadata
  description: 'Netlify Netlify''s API documentation — Metadata. 2 operations. Lead operation: Metadata. Self-contained Naftiko
    capability covering one Netlify business surface.'
  tags:
  - Netlify
  - Metadata
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NETLIFY_API_KEY: NETLIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: netlify-metadata
    baseUri: https://api.netlify.com/api/v1
    description: Netlify Netlify's API documentation — Metadata business capability. Self-contained, no shared references.
    resources:
    - name: sites-site_id-metadata
      path: /sites/{site_id}/metadata
      operations:
      - name: getsitemetadata
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
      - name: updatesitemetadata
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.NETLIFY_API_KEY}}'
  exposes:
  - type: rest
    namespace: netlify-metadata-rest
    port: 8080
    description: REST adapter for Netlify Netlify's API documentation — Metadata. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/metadata
      name: sites-site-id-metadata
      description: REST surface for sites-site_id-metadata.
      operations:
      - method: GET
        name: getsitemetadata
        description: getsitemetadata
        call: netlify-metadata.getsitemetadata
        with:
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatesitemetadata
        description: updatesitemetadata
        call: netlify-metadata.updatesitemetadata
        with:
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: netlify-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for Netlify Netlify's API documentation — Metadata. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: getsitemetadata
      description: getsitemetadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: netlify-metadata.getsitemetadata
      with:
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: updatesitemetadata
      description: updatesitemetadata
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: netlify-metadata.updatesitemetadata
      with:
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.