Supabase · Capability

Supabase Management API — Domains

Supabase Management API — Domains. 6 operations. Lead operation: Get custom hostname configuration. Self-contained Naftiko capability covering one Supabase business surface.

Run with Naftiko SupabaseDomains

What You Can Do

GET
Getcustomhostname — Get custom hostname configuration
/v1/projects/{ref}/custom-hostname
POST
Activatecustomhostname — Activate custom hostname
/v1/projects/{ref}/custom-hostname
DELETE
Removecustomhostname — Remove custom hostname
/v1/projects/{ref}/custom-hostname
GET
Getvanitysubdomain — Get vanity subdomain
/v1/projects/{ref}/vanity-subdomain
POST
Activatevanitysubdomain — Activate vanity subdomain
/v1/projects/{ref}/vanity-subdomain
DELETE
Removevanitysubdomain — Remove vanity subdomain
/v1/projects/{ref}/vanity-subdomain

MCP Tools

get-custom-hostname-configuration

Get custom hostname configuration

read-only idempotent
activate-custom-hostname

Activate custom hostname

remove-custom-hostname

Remove custom hostname

idempotent
get-vanity-subdomain

Get vanity subdomain

read-only idempotent
activate-vanity-subdomain

Activate vanity subdomain

remove-vanity-subdomain

Remove vanity subdomain

idempotent

Capability Spec

management-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Supabase Management API — Domains
  description: 'Supabase Management API — Domains. 6 operations. Lead operation: Get custom hostname configuration. Self-contained
    Naftiko capability covering one Supabase business surface.'
  tags:
  - Supabase
  - Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SUPABASE_API_KEY: SUPABASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: management-domains
    baseUri: https://api.supabase.com/v1
    description: Supabase Management API — Domains business capability. Self-contained, no shared references.
    resources:
    - name: projects-ref-custom-hostname
      path: /projects/{ref}/custom-hostname
      operations:
      - name: getcustomhostname
        method: GET
        description: Get custom hostname configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: activatecustomhostname
        method: POST
        description: Activate custom hostname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: removecustomhostname
        method: DELETE
        description: Remove custom hostname
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-ref-vanity-subdomain
      path: /projects/{ref}/vanity-subdomain
      operations:
      - name: getvanitysubdomain
        method: GET
        description: Get vanity subdomain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: activatevanitysubdomain
        method: POST
        description: Activate vanity subdomain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: removevanitysubdomain
        method: DELETE
        description: Remove vanity subdomain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SUPABASE_API_KEY}}'
  exposes:
  - type: rest
    namespace: management-domains-rest
    port: 8080
    description: REST adapter for Supabase Management API — Domains. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{ref}/custom-hostname
      name: projects-ref-custom-hostname
      description: REST surface for projects-ref-custom-hostname.
      operations:
      - method: GET
        name: getcustomhostname
        description: Get custom hostname configuration
        call: management-domains.getcustomhostname
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: activatecustomhostname
        description: Activate custom hostname
        call: management-domains.activatecustomhostname
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removecustomhostname
        description: Remove custom hostname
        call: management-domains.removecustomhostname
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{ref}/vanity-subdomain
      name: projects-ref-vanity-subdomain
      description: REST surface for projects-ref-vanity-subdomain.
      operations:
      - method: GET
        name: getvanitysubdomain
        description: Get vanity subdomain
        call: management-domains.getvanitysubdomain
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: activatevanitysubdomain
        description: Activate vanity subdomain
        call: management-domains.activatevanitysubdomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removevanitysubdomain
        description: Remove vanity subdomain
        call: management-domains.removevanitysubdomain
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: management-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Supabase Management API — Domains. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-custom-hostname-configuration
      description: Get custom hostname configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-domains.getcustomhostname
      outputParameters:
      - type: object
        mapping: $.
    - name: activate-custom-hostname
      description: Activate custom hostname
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-domains.activatecustomhostname
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-custom-hostname
      description: Remove custom hostname
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: management-domains.removecustomhostname
      outputParameters:
      - type: object
        mapping: $.
    - name: get-vanity-subdomain
      description: Get vanity subdomain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: management-domains.getvanitysubdomain
      outputParameters:
      - type: object
        mapping: $.
    - name: activate-vanity-subdomain
      description: Activate vanity subdomain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: management-domains.activatevanitysubdomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-vanity-subdomain
      description: Remove vanity subdomain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: management-domains.removevanitysubdomain
      outputParameters:
      - type: object
        mapping: $.