@contentful/mcp-server 1.12.4-next.2 → 1.13.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/dist/index.js CHANGED
@@ -4105,9 +4105,6 @@ var EnvSchema = external_exports.object({
4105
4105
  "Maximum number of IDs allowed in a single bulk-operation tool call (default: 10, max: 100). Mitigates accidental mass operations from AI hallucinations."
4106
4106
  ),
4107
4107
  ORGANIZATION_ID: external_exports.string().optional().describe("Contentful organization ID"),
4108
- ENABLE_EXO_TOOLS: external_exports.string().optional().transform((v) => v === "true").describe(
4109
- 'Opt in to Experience Orchestration (ExO) tools. Set to "true" to register the ExO tool collections (component types, data assemblies, experiences, templates, fragments). Defaults to off.'
4110
- ),
4111
4108
  CONTENTFUL_DELIVERY_TOKEN: external_exports.string().optional().describe(
4112
4109
  "Contentful CDA token (used with export_space to export only published content)"
4113
4110
  ),
@@ -4126,7 +4123,7 @@ init_esm_shims();
4126
4123
 
4127
4124
  // src/mcpVersion.ts
4128
4125
  init_esm_shims();
4129
- var MCP_VERSION = "1.12.4-next.1";
4126
+ var MCP_VERSION = "1.12.3";
4130
4127
 
4131
4128
  // src/getVersion.ts
4132
4129
  var getVersion = () => {
@@ -4141,7 +4138,7 @@ function registerAllTools(server) {
4141
4138
  const parsedProtectedEnvs = env.data.PROTECTED_ENVIRONMENTS ? env.data.PROTECTED_ENVIRONMENTS.split(",").map((e) => e.trim()).filter(Boolean) : void 0;
4142
4139
  const protectedEnvironments = parsedProtectedEnvs?.length ? parsedProtectedEnvs : void 0;
4143
4140
  const maxBulkSize = env.data.MAX_BULK_SIZE ? Number(env.data.MAX_BULK_SIZE) : void 0;
4144
- const baseConfig = {
4141
+ const tools = new ContentfulMcpTools({
4145
4142
  accessToken: env.data.CONTENTFUL_MANAGEMENT_ACCESS_TOKEN,
4146
4143
  host: env.data.CONTENTFUL_HOST,
4147
4144
  spaceId: env.data.SPACE_ID,
@@ -4153,11 +4150,6 @@ function registerAllTools(server) {
4153
4150
  hostDelivery: env.data.CONTENTFUL_DELIVERY_HOST,
4154
4151
  protectedEnvironments,
4155
4152
  maxBulkSize
4156
- };
4157
- const registerExoTools = env.data.ENABLE_EXO_TOOLS;
4158
- const tools = new ContentfulMcpTools({
4159
- ...baseConfig,
4160
- exoToolsRegistered: registerExoTools
4161
4153
  });
4162
4154
  const aiActionTools = tools.getAiActionTools();
4163
4155
  const assetTools = tools.getAssetTools();
@@ -4183,14 +4175,7 @@ function registerAllTools(server) {
4183
4175
  orgTools,
4184
4176
  spaceTools,
4185
4177
  tagTools,
4186
- taxonomyTools,
4187
- ...registerExoTools ? [
4188
- tools.getComponentTypeTools(),
4189
- tools.getDataAssemblyTools(),
4190
- tools.getExperienceTools(),
4191
- tools.getTemplateTools(),
4192
- tools.getFragmentTools()
4193
- ] : []
4178
+ taxonomyTools
4194
4179
  ];
4195
4180
  allToolCollections.forEach((toolCollection) => {
4196
4181
  Object.values(toolCollection).forEach((tool) => {