Mailchimp · Capability

Mailchimp Marketing API — Domains

Mailchimp Marketing API — Domains. 6 operations. Lead operation: Mailchimp List Domain Performance Stats. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpDomains

What You Can Do

GET
Getreportsiddomainperformance — Mailchimp List Domain Performance Stats
/v1/reports/{campaign-id}/domain-performance
GET
Getverifieddomains — Mailchimp List Sending Domains
/v1/verified-domains
POST
Createverifieddomain — Mailchimp Add Domain to Account
/v1/verified-domains
GET
Getverifieddomain — Mailchimp Get Domain Info
/v1/verified-domains/{domain-name}
DELETE
Deleteverifieddomain — Mailchimp Delete Domain
/v1/verified-domains/{domain-name}
POST
Verifydomain — Mailchimp Verify Domain
/v1/verified-domains/{domain-name}/actions/verify

MCP Tools

mailchimp-list-domain-performance-stats

Mailchimp List Domain Performance Stats

read-only idempotent
mailchimp-list-sending-domains

Mailchimp List Sending Domains

read-only idempotent
mailchimp-add-domain-account

Mailchimp Add Domain to Account

mailchimp-get-domain-info

Mailchimp Get Domain Info

read-only idempotent
mailchimp-delete-domain

Mailchimp Delete Domain

idempotent
mailchimp-verify-domain

Mailchimp Verify Domain

Capability Spec

marketing-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Domains
  description: 'Mailchimp Marketing API  — Domains. 6 operations. Lead operation: Mailchimp List Domain Performance Stats.
    Self-contained Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-domains
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Domains business capability. Self-contained, no shared references.
    resources:
    - name: reports-campaign_id-domain-performance
      path: /reports/{campaign_id}/domain-performance
      operations:
      - name: getreportsiddomainperformance
        method: GET
        description: Mailchimp List Domain Performance Stats
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
        - name: exclude_fields
          in: query
          type: array
          description: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
    - name: verified-domains
      path: /verified-domains
      operations:
      - name: getverifieddomains
        method: GET
        description: Mailchimp List Sending Domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createverifieddomain
        method: POST
        description: Mailchimp Add Domain to Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: verified-domains-domain_name
      path: /verified-domains/{domain_name}
      operations:
      - name: getverifieddomain
        method: GET
        description: Mailchimp Get Domain Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain_name
          in: path
          type: string
          description: The domain name.
          required: true
      - name: deleteverifieddomain
        method: DELETE
        description: Mailchimp Delete Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain_name
          in: path
          type: string
          description: The domain name.
          required: true
    - name: verified-domains-domain_name-actions-verify
      path: /verified-domains/{domain_name}/actions/verify
      operations:
      - name: verifydomain
        method: POST
        description: Mailchimp Verify Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain_name
          in: path
          type: string
          description: The domain name.
          required: true
        - name: body
          in: body
          type: object
          required: true
  exposes:
  - type: rest
    namespace: marketing-domains-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Domains. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/reports/{campaign-id}/domain-performance
      name: reports-campaign-id-domain-performance
      description: REST surface for reports-campaign_id-domain-performance.
      operations:
      - method: GET
        name: getreportsiddomainperformance
        description: Mailchimp List Domain Performance Stats
        call: marketing-domains.getreportsiddomainperformance
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/verified-domains
      name: verified-domains
      description: REST surface for verified-domains.
      operations:
      - method: GET
        name: getverifieddomains
        description: Mailchimp List Sending Domains
        call: marketing-domains.getverifieddomains
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createverifieddomain
        description: Mailchimp Add Domain to Account
        call: marketing-domains.createverifieddomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/verified-domains/{domain-name}
      name: verified-domains-domain-name
      description: REST surface for verified-domains-domain_name.
      operations:
      - method: GET
        name: getverifieddomain
        description: Mailchimp Get Domain Info
        call: marketing-domains.getverifieddomain
        with:
          domain_name: rest.domain_name
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteverifieddomain
        description: Mailchimp Delete Domain
        call: marketing-domains.deleteverifieddomain
        with:
          domain_name: rest.domain_name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/verified-domains/{domain-name}/actions/verify
      name: verified-domains-domain-name-actions-verify
      description: REST surface for verified-domains-domain_name-actions-verify.
      operations:
      - method: POST
        name: verifydomain
        description: Mailchimp Verify Domain
        call: marketing-domains.verifydomain
        with:
          domain_name: rest.domain_name
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Domains. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-list-domain-performance-stats
      description: Mailchimp List Domain Performance Stats
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-domains.getreportsiddomainperformance
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        campaign_id: tools.campaign_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-list-sending-domains
      description: Mailchimp List Sending Domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-domains.getverifieddomains
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-add-domain-account
      description: Mailchimp Add Domain to Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-domains.createverifieddomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-domain-info
      description: Mailchimp Get Domain Info
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-domains.getverifieddomain
      with:
        domain_name: tools.domain_name
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-delete-domain
      description: Mailchimp Delete Domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: marketing-domains.deleteverifieddomain
      with:
        domain_name: tools.domain_name
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-verify-domain
      description: Mailchimp Verify Domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-domains.verifydomain
      with:
        domain_name: tools.domain_name
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.