Mailchimp · Capability

Mailchimp Marketing API — Connected

Mailchimp Marketing API — Connected. 5 operations. Lead operation: Mailchimp List Connected Sites. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpConnected

What You Can Do

GET
Getconnectedsites — Mailchimp List Connected Sites
/v1/connected-sites
POST
Postconnectedsites — Mailchimp Add Connected Site
/v1/connected-sites
GET
Getconnectedsitesid — Mailchimp Get Connected Site
/v1/connected-sites/{connected-site-id}
DELETE
Deleteconnectedsitesid — Mailchimp Delete Connected Site
/v1/connected-sites/{connected-site-id}
POST
Postconnectedsitesidactionsverifyscriptinstallation — Mailchimp Verify Connected Site Script
/v1/connected-sites/{connected-site-id}/actions/verify-script-installation

MCP Tools

mailchimp-list-connected-sites

Mailchimp List Connected Sites

read-only idempotent
mailchimp-add-connected-site

Mailchimp Add Connected Site

mailchimp-get-connected-site

Mailchimp Get Connected Site

read-only idempotent
mailchimp-delete-connected-site

Mailchimp Delete Connected Site

idempotent
mailchimp-verify-connected-site-script

Mailchimp Verify Connected Site Script

Capability Spec

marketing-connected.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Connected
  description: 'Mailchimp Marketing API  — Connected. 5 operations. Lead operation: Mailchimp List Connected Sites. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Connected
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-connected
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Connected business capability. Self-contained, no shared references.
    resources:
    - name: connected-sites
      path: /connected-sites
      operations:
      - name: getconnectedsites
        method: GET
        description: Mailchimp List Connected Sites
        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: count
          in: query
          type: integer
          description: The number of records to return. Default value is 10. Maximum value is 1000
        - name: offset
          in: query
          type: integer
          description: Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination),
            this it the number of records from a collection to skip. D
      - name: postconnectedsites
        method: POST
        description: Mailchimp Add Connected Site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: connected-sites-connected_site_id
      path: /connected-sites/{connected_site_id}
      operations:
      - name: getconnectedsitesid
        method: GET
        description: Mailchimp Get Connected Site
        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: connected_site_id
          in: path
          type: string
          description: The unique identifier for the site.
          required: true
      - name: deleteconnectedsitesid
        method: DELETE
        description: Mailchimp Delete Connected Site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connected_site_id
          in: path
          type: string
          description: The unique identifier for the site.
          required: true
    - name: connected-sites-connected_site_id-actions-verify-script-installation
      path: /connected-sites/{connected_site_id}/actions/verify-script-installation
      operations:
      - name: postconnectedsitesidactionsverifyscriptinstallation
        method: POST
        description: Mailchimp Verify Connected Site Script
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connected_site_id
          in: path
          type: string
          description: The unique identifier for the site.
          required: true
  exposes:
  - type: rest
    namespace: marketing-connected-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Connected. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/connected-sites
      name: connected-sites
      description: REST surface for connected-sites.
      operations:
      - method: GET
        name: getconnectedsites
        description: Mailchimp List Connected Sites
        call: marketing-connected.getconnectedsites
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          count: rest.count
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postconnectedsites
        description: Mailchimp Add Connected Site
        call: marketing-connected.postconnectedsites
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connected-sites/{connected-site-id}
      name: connected-sites-connected-site-id
      description: REST surface for connected-sites-connected_site_id.
      operations:
      - method: GET
        name: getconnectedsitesid
        description: Mailchimp Get Connected Site
        call: marketing-connected.getconnectedsitesid
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          connected_site_id: rest.connected_site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteconnectedsitesid
        description: Mailchimp Delete Connected Site
        call: marketing-connected.deleteconnectedsitesid
        with:
          connected_site_id: rest.connected_site_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/connected-sites/{connected-site-id}/actions/verify-script-installation
      name: connected-sites-connected-site-id-actions-verify-script-installation
      description: REST surface for connected-sites-connected_site_id-actions-verify-script-installation.
      operations:
      - method: POST
        name: postconnectedsitesidactionsverifyscriptinstallation
        description: Mailchimp Verify Connected Site Script
        call: marketing-connected.postconnectedsitesidactionsverifyscriptinstallation
        with:
          connected_site_id: rest.connected_site_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-connected-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Connected. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-list-connected-sites
      description: Mailchimp List Connected Sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-connected.getconnectedsites
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        count: tools.count
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-add-connected-site
      description: Mailchimp Add Connected Site
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-connected.postconnectedsites
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-connected-site
      description: Mailchimp Get Connected Site
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-connected.getconnectedsitesid
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        connected_site_id: tools.connected_site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-delete-connected-site
      description: Mailchimp Delete Connected Site
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: marketing-connected.deleteconnectedsitesid
      with:
        connected_site_id: tools.connected_site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-verify-connected-site-script
      description: Mailchimp Verify Connected Site Script
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-connected.postconnectedsitesidactionsverifyscriptinstallation
      with:
        connected_site_id: tools.connected_site_id
      outputParameters:
      - type: object
        mapping: $.