contentstack · Capability

Contentstack Content Management API — Organizations

Contentstack Content Management API — Organizations. 3 operations. Lead operation: Get all organizations. Self-contained Naftiko capability covering one Contentstack business surface.

Run with Naftiko ContentstackOrganizations

What You Can Do

GET
Getallorganizations — Get all organizations
/v1/organizations
GET
Getorganization — Get an organization
/v1/organizations/{organization-uid}
GET
Getorganizationstacks — Get organization stacks
/v1/organizations/{organization-uid}/stacks

MCP Tools

get-all-organizations

Get all organizations

read-only idempotent
get-organization

Get an organization

read-only idempotent
get-organization-stacks

Get organization stacks

read-only idempotent

Capability Spec

content-management-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Contentstack Content Management API — Organizations
  description: 'Contentstack Content Management API — Organizations. 3 operations. Lead operation: Get all organizations.
    Self-contained Naftiko capability covering one Contentstack business surface.'
  tags:
  - Contentstack
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CONTENTSTACK_API_KEY: CONTENTSTACK_API_KEY
capability:
  consumes:
  - type: http
    namespace: content-management-organizations
    baseUri: https://api.contentstack.io/v3
    description: Contentstack Content Management API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: organizations
      path: /organizations
      operations:
      - name: getallorganizations
        method: GET
        description: Get all organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization_uid
      path: /organizations/{organization_uid}
      operations:
      - name: getorganization
        method: GET
        description: Get an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization_uid-stacks
      path: /organizations/{organization_uid}/stacks
      operations:
      - name: getorganizationstacks
        method: GET
        description: Get organization stacks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: authtoken
      value: '{{env.CONTENTSTACK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: content-management-organizations-rest
    port: 8080
    description: REST adapter for Contentstack Content Management API — Organizations. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/organizations
      name: organizations
      description: REST surface for organizations.
      operations:
      - method: GET
        name: getallorganizations
        description: Get all organizations
        call: content-management-organizations.getallorganizations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organization-uid}
      name: organizations-organization-uid
      description: REST surface for organizations-organization_uid.
      operations:
      - method: GET
        name: getorganization
        description: Get an organization
        call: content-management-organizations.getorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organization-uid}/stacks
      name: organizations-organization-uid-stacks
      description: REST surface for organizations-organization_uid-stacks.
      operations:
      - method: GET
        name: getorganizationstacks
        description: Get organization stacks
        call: content-management-organizations.getorganizationstacks
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: content-management-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Contentstack Content Management API — Organizations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-all-organizations
      description: Get all organizations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: content-management-organizations.getallorganizations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization
      description: Get an organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: content-management-organizations.getorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-stacks
      description: Get organization stacks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: content-management-organizations.getorganizationstacks
      outputParameters:
      - type: object
        mapping: $.