Mailchimp · Capability

Mailchimp Marketing API — Content

Mailchimp Marketing API — Content. 4 operations. Lead operation: Mailchimp Get Campaign Content. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpContent

What You Can Do

GET
Getcampaignsidcontent — Mailchimp Get Campaign Content
/v1/campaigns/{campaign-id}/content
PUT
Putcampaignsidcontent — Mailchimp Set Campaign Content
/v1/campaigns/{campaign-id}/content
GET
Getlandingpageidcontent — Mailchimp Get Landing Page Content
/v1/landing-pages/{page-id}/content
GET
Gettemplatesiddefaultcontent — Mailchimp View Default Content
/v1/templates/{template-id}/default-content

MCP Tools

mailchimp-get-campaign-content

Mailchimp Get Campaign Content

read-only idempotent
mailchimp-set-campaign-content

Mailchimp Set Campaign Content

idempotent
mailchimp-get-landing-page-content

Mailchimp Get Landing Page Content

read-only idempotent
mailchimp-view-default-content

Mailchimp View Default Content

read-only idempotent

Capability Spec

marketing-content.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Content
  description: 'Mailchimp Marketing API  — Content. 4 operations. Lead operation: Mailchimp Get Campaign Content. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Content
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-content
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Content business capability. Self-contained, no shared references.
    resources:
    - name: campaigns-campaign_id-content
      path: /campaigns/{campaign_id}/content
      operations:
      - name: getcampaignsidcontent
        method: GET
        description: Mailchimp Get Campaign Content
        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: putcampaignsidcontent
        method: PUT
        description: Mailchimp Set Campaign Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaign_id
          in: path
          type: string
          description: The unique id for the campaign.
          required: true
        - name: body
          in: body
          type: object
          required: true
    - name: landing-pages-page_id-content
      path: /landing-pages/{page_id}/content
      operations:
      - name: getlandingpageidcontent
        method: GET
        description: Mailchimp Get Landing Page Content
        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: page_id
          in: path
          type: string
          description: The unique id for the page.
          required: true
    - name: templates-template_id-default-content
      path: /templates/{template_id}/default-content
      operations:
      - name: gettemplatesiddefaultcontent
        method: GET
        description: Mailchimp View Default Content
        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: template_id
          in: path
          type: string
          description: The unique id for the template.
          required: true
  exposes:
  - type: rest
    namespace: marketing-content-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Content. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/campaigns/{campaign-id}/content
      name: campaigns-campaign-id-content
      description: REST surface for campaigns-campaign_id-content.
      operations:
      - method: GET
        name: getcampaignsidcontent
        description: Mailchimp Get Campaign Content
        call: marketing-content.getcampaignsidcontent
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          campaign_id: rest.campaign_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putcampaignsidcontent
        description: Mailchimp Set Campaign Content
        call: marketing-content.putcampaignsidcontent
        with:
          campaign_id: rest.campaign_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/landing-pages/{page-id}/content
      name: landing-pages-page-id-content
      description: REST surface for landing-pages-page_id-content.
      operations:
      - method: GET
        name: getlandingpageidcontent
        description: Mailchimp Get Landing Page Content
        call: marketing-content.getlandingpageidcontent
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          page_id: rest.page_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/templates/{template-id}/default-content
      name: templates-template-id-default-content
      description: REST surface for templates-template_id-default-content.
      operations:
      - method: GET
        name: gettemplatesiddefaultcontent
        description: Mailchimp View Default Content
        call: marketing-content.gettemplatesiddefaultcontent
        with:
          fields: rest.fields
          exclude_fields: rest.exclude_fields
          template_id: rest.template_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-content-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Content. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-get-campaign-content
      description: Mailchimp Get Campaign Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-content.getcampaignsidcontent
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        campaign_id: tools.campaign_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-set-campaign-content
      description: Mailchimp Set Campaign Content
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: marketing-content.putcampaignsidcontent
      with:
        campaign_id: tools.campaign_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-get-landing-page-content
      description: Mailchimp Get Landing Page Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-content.getlandingpageidcontent
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        page_id: tools.page_id
      outputParameters:
      - type: object
        mapping: $.
    - name: mailchimp-view-default-content
      description: Mailchimp View Default Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: marketing-content.gettemplatesiddefaultcontent
      with:
        fields: tools.fields
        exclude_fields: tools.exclude_fields
        template_id: tools.template_id
      outputParameters:
      - type: object
        mapping: $.