contentstack · Capability
Contentstack Content Delivery API — Synchronization
Contentstack Content Delivery API — Synchronization. 1 operations. Lead operation: Sync content. Self-contained Naftiko capability covering one Contentstack business surface.
What You Can Do
GET
Synccontent
— Sync content
/v1/stacks/sync
MCP Tools
sync-content
Sync content
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Contentstack Content Delivery API — Synchronization
description: 'Contentstack Content Delivery API — Synchronization. 1 operations. Lead operation: Sync content. Self-contained
Naftiko capability covering one Contentstack business surface.'
tags:
- Contentstack
- Synchronization
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY
capability:
consumes:
- type: http
namespace: content-delivery-synchronization
baseUri: https://cdn.contentstack.io/v3
description: Contentstack Content Delivery API — Synchronization business capability. Self-contained, no shared references.
resources:
- name: stacks-sync
path: /stacks/sync
operations:
- name: synccontent
method: GET
description: Sync content
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: init
in: query
type: boolean
description: Set to true to initiate the first sync and receive a sync token.
- name: sync_token
in: query
type: string
description: The token received from a previous sync response. Use to fetch only changes since the last sync.
- name: pagination_token
in: query
type: string
description: Token to retrieve the next page of results in a large sync response.
- name: type
in: query
type: string
description: 'Filter sync results by content type. Options: entry_published, entry_unpublished, entry_deleted, asset_published,
asset_unpublished, asset_deleted, content_type'
- name: content_type_uid
in: query
type: string
description: Filter sync results to a specific content type UID.
authentication:
type: apikey
key: api_key
value: '{{env.CONTENTSTACK_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: content-delivery-synchronization-rest
port: 8080
description: REST adapter for Contentstack Content Delivery API — Synchronization. One Spectral-compliant resource per
consumed operation, prefixed with /v1.
resources:
- path: /v1/stacks/sync
name: stacks-sync
description: REST surface for stacks-sync.
operations:
- method: GET
name: synccontent
description: Sync content
call: content-delivery-synchronization.synccontent
with:
init: rest.init
sync_token: rest.sync_token
pagination_token: rest.pagination_token
type: rest.type
content_type_uid: rest.content_type_uid
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: content-delivery-synchronization-mcp
port: 9090
transport: http
description: MCP adapter for Contentstack Content Delivery API — Synchronization. One tool per consumed operation, routed
inline through this capability's consumes block.
tools:
- name: sync-content
description: Sync content
hints:
readOnly: true
destructive: false
idempotent: true
call: content-delivery-synchronization.synccontent
with:
init: tools.init
sync_token: tools.sync_token
pagination_token: tools.pagination_token
type: tools.type
content_type_uid: tools.content_type_uid
outputParameters:
- type: object
mapping: $.