naftiko: 1.0.0-alpha2 info: label: Mailchimp Transactional API — Exports description: 'Mailchimp Transactional API — Exports. 5 operations. Lead operation: Mailchimp Export Message Activity. Self-contained Naftiko capability covering one Mailchimp business surface.' tags: - Mailchimp - Exports created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAILCHIMP_API_KEY: MAILCHIMP_API_KEY capability: consumes: - type: http namespace: transactional-exports baseUri: https://mandrillapp.com/api/1.0 description: Mailchimp Transactional API — Exports business capability. Self-contained, no shared references. resources: - name: exports-activity path: /exports/activity operations: - name: postexportsactivity method: POST description: Mailchimp Export Message Activity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: exports-allowlist path: /exports/allowlist operations: - name: postexportsallowlist method: POST description: Mailchimp Export Allowlist outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: exports-info path: /exports/info operations: - name: postexportsinfo method: POST description: Mailchimp Get Export Info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: exports-list path: /exports/list operations: - name: postexportslist method: POST description: Mailchimp List Exports outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: exports-rejects path: /exports/rejects operations: - name: postexportsrejects method: POST description: Mailchimp Export Rejections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-MC-ApiKey value: '{{env.MAILCHIMP_API_KEY}}' placement: header exposes: - type: rest namespace: transactional-exports-rest port: 8080 description: REST adapter for Mailchimp Transactional API — Exports. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/exports/activity name: exports-activity description: REST surface for exports-activity. operations: - method: POST name: postexportsactivity description: Mailchimp Export Message Activity call: transactional-exports.postexportsactivity with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/exports/allowlist name: exports-allowlist description: REST surface for exports-allowlist. operations: - method: POST name: postexportsallowlist description: Mailchimp Export Allowlist call: transactional-exports.postexportsallowlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/exports/info name: exports-info description: REST surface for exports-info. operations: - method: POST name: postexportsinfo description: Mailchimp Get Export Info call: transactional-exports.postexportsinfo with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/exports/list name: exports-list description: REST surface for exports-list. operations: - method: POST name: postexportslist description: Mailchimp List Exports call: transactional-exports.postexportslist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/exports/rejects name: exports-rejects description: REST surface for exports-rejects. operations: - method: POST name: postexportsrejects description: Mailchimp Export Rejections call: transactional-exports.postexportsrejects with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: transactional-exports-mcp port: 9090 transport: http description: MCP adapter for Mailchimp Transactional API — Exports. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: mailchimp-export-message-activity description: Mailchimp Export Message Activity hints: readOnly: false destructive: false idempotent: false call: transactional-exports.postexportsactivity with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-export-allowlist description: Mailchimp Export Allowlist hints: readOnly: false destructive: false idempotent: false call: transactional-exports.postexportsallowlist with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-get-export-info description: Mailchimp Get Export Info hints: readOnly: true destructive: false idempotent: false call: transactional-exports.postexportsinfo with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-list-exports description: Mailchimp List Exports hints: readOnly: true destructive: false idempotent: false call: transactional-exports.postexportslist with: body: tools.body outputParameters: - type: object mapping: $. - name: mailchimp-export-rejections description: Mailchimp Export Rejections hints: readOnly: false destructive: false idempotent: false call: transactional-exports.postexportsrejects with: body: tools.body outputParameters: - type: object mapping: $.