Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CONTENTSTACK_BRANCH | No | Specify branch if using branches | |
| CONTENTSTACK_API_KEY | Yes | Stack API key for authentication | |
| CONTENTSTACK_MANAGEMENT_TOKEN | Yes | Stack-level token with predefined permissions |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| create_content_workflow | Initiates a guided workflow for creating new content for a specified content type. |
| content_analysis | Initiates an analysis of content within a specified content type, providing insights and patterns. |
| migration_planning | Initiates a planning process for migrating content to Contentstack, guiding through key considerations. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| content-types | Retrieves a list of all content types in the stack. |
| assets | Retrieves a list of all assets in the stack. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_content_type | Creates a new content type with the specified schema, options, field rules, and taxonomies. |
| update_content_type | Updates an existing content type identified by its UID. Allows modification of title, schema, options, and field rules. |
| delete_content_type | Deletes a content type identified by its UID. |
| create_entry | Creates a new entry for a specified content type. |
| update_entry | Updates an existing entry identified by its UID and content type UID. |
| delete_entry | Deletes an entry identified by its UID and content type UID. |
| get_content_type | Retrieves a specific content type by its UID, optionally including the global field schema. |
| get_all_content_types | Retrieves a list of all content types, with options for pagination and including additional details like global field schema and counts. |
| get_entry | Retrieves a specific entry by its content type UID and entry UID, with options for locale and including references. |
| get_entries | Retrieves entries for a specified content type, with extensive options for filtering, sorting, pagination, and including related data. |
| publish_entry | Publishes an entry to a specified environment and locale. |
| unpublish_entry | Unpublishes an entry from a specified environment and locale. |
| create_global_field | Creates a new global field with the specified title, UID, and schema. |
| update_global_field | Updates an existing global field identified by its UID. Allows modification of title and schema. |
| get_all_global_fields | Retrieves a list of all global fields, with options for pagination and including branch information. |