@contentstack/mcp 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -57,6 +57,11 @@ The MCP server supports multiple API groups that can be used independently or to
57
57
 
58
58
  - **get_all_content_types**: This tool retrieves the schema and metadata of a specified content type from a Contentstack stack, supporting branch selection, query filtering, pagination, and optional inclusion of global field schema and branch metadata.
59
59
  - **get_a_single_content_type**: This tool retrieves the schema and configuration details of a specified content type within a stack, supporting optional inclusion of global field definitions and branch metadata for developer reference.
60
+ - **create_a_content_type**: This tool creates a new content type in the specified Contentstack stack, supporting branch selection and optional branch metadata inclusion.
61
+ - **update_content_type**: This tool updates an existing content type in the specified Contentstack stack, supporting branch selection and optional branch metadata inclusion.
62
+ - **delete_content_type**: This tool deletes an existing content type and all the entries within it.
63
+ - **get_all_references_of_ct**: This tool retrieves a list of all content types that are referenced within the specified content type. This includes both direct and nested references.
64
+ - **export_content_type**: This tool exports a specific content type and its schema. The data is exported in JSON format.
60
65
  - **get_all_global_fields**: This tool retrieves metadata for all global fields configured within the specified stack, supporting optional branch selection and branch metadata inclusion.
61
66
  - **get_a_single_global_field**: This tool retrieves metadata and configuration details for a specified global field within a Contentstack stack, supporting branch selection and optional inclusion of branch context.
62
67
 
@@ -112,10 +117,20 @@ The MCP server supports multiple API groups that can be used independently or to
112
117
 
113
118
  - **get_all_branches**: This tool retrieves metadata for all branches within a specified stack, supporting pagination via limit and skip parameters.
114
119
  - **get_a_single_branch**: This tool retrieves metadata and configuration details for a specified branch within a Contentstack stack, enabling branch-level inspection and management.
120
+ - **create_a_branch**: This tool creates a new branch in the specified Contentstack stack.
121
+ - **delete_a_branch**: This tool deletes a branch in the specified Contentstack stack.
115
122
  - **merge_branch**: This tool merges content types and global fields from a compare branch into a base branch, with optional per item strategy overrides.
116
123
  - **get_all_branch_aliases**: This tool retrieves metadata for all branch aliases within a specified stack, supporting pagination via limit and skip parameters.
117
124
  - **get_a_single_branch_alias**: This tool retrieves metadata and configuration details for a specified branch alias within a Contentstack stack, enabling branch management and validation operations.
125
+ - **assign_a_branch_alias**: This tool creates a new alias in a particular stack of your organization. This alias can point to any existing branch (target branch) of your stack.
126
+ - **delete_a_branch_alias**: This tool permanently deletes the specified branch alias from the selected stack.
127
+ - **get_all_merge_jobs**: This tool retrieves a list of all the recent merge jobs within a specific period.
118
128
  - **get_a_single_merge_job**: This tool retrieves detailed information for a specified merge job within a stack, using the provided merge_job_uid parameter.
129
+ - **compare_branches**: This tool retrieves a list of all the differences between two branches.
130
+ - **compare_content_types_between_branches**: This tool retrieves a list of all the differences in content types between the two specified branches.
131
+ - **compare_global_fields_between_branches**: This tool retrieves a list of all the differences in global fields between the two specified branches.
132
+ - **compare_specific_ct_between_branches**: This tool retrieves all the differences of the specified content type between the two specified branches.
133
+ - **compare_specific_gf_between_branches**: This tool retrieves all the differences of the specified global field between the two specified branches.
119
134
 
120
135
  #### Release Management
121
136
 
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import dotenv from "dotenv";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@contentstack/mcp",
16
- version: "0.3.1",
16
+ version: "0.4.0",
17
17
  main: "./dist/index.js",
18
18
  type: "module",
19
19
  publishConfig: {
@@ -46,11 +46,11 @@ var package_default = {
46
46
  url: "https://github.com/contentstack/mcp.git"
47
47
  },
48
48
  dependencies: {
49
- "@modelcontextprotocol/sdk": "1.24.3",
50
- axios: "^1.9.0",
51
- dotenv: "^16.5.0",
52
- inquirer: "^12.6.3",
53
- open: "^10.1.2"
49
+ "@modelcontextprotocol/sdk": "1.25.1",
50
+ axios: "^1.13.2",
51
+ dotenv: "^17.2.3",
52
+ inquirer: "^13.1.0",
53
+ open: "^11.0.0"
54
54
  },
55
55
  devDependencies: {
56
56
  "@commitlint/cli": "^19.8.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentstack/mcp",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -33,11 +33,11 @@
33
33
  "url": "https://github.com/contentstack/mcp.git"
34
34
  },
35
35
  "dependencies": {
36
- "@modelcontextprotocol/sdk": "1.24.3",
37
- "axios": "^1.9.0",
38
- "dotenv": "^16.5.0",
39
- "inquirer": "^12.6.3",
40
- "open": "^10.1.2"
36
+ "@modelcontextprotocol/sdk": "1.25.1",
37
+ "axios": "^1.13.2",
38
+ "dotenv": "^17.2.3",
39
+ "inquirer": "^13.1.0",
40
+ "open": "^11.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@commitlint/cli": "^19.8.1",