@contentful/mcp-server 1.19.1 → 1.19.2

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
@@ -69,6 +69,7 @@ npm run build
69
69
  | `SPACE_ID` | ✅ Yes | - | Your Contentful Space ID |
70
70
  | `ENVIRONMENT_ID` | ❌ No | `master` | Target environment within your space |
71
71
  | `CONTENTFUL_HOST` | ❌ No | `api.contentful.com` | Contentful API host |
72
+ | `EXPORT_BASE_DIR` | ❌ No | `process.cwd()` | Server-controlled root directory for `export_space` output. The tool creates a dedicated subdirectory per export. |
72
73
  | `NODE_ENV` | ❌ No | `production` | Node Environment to run in |
73
74
  | `MAX_BULK_SIZE` | ❌ No | `10` | Maximum number of IDs allowed in a single bulk-operation tool call (1–100). Caps publish/unpublish/archive/unarchive on entries and assets. Mitigates accidental mass operations from AI hallucinations. |
74
75
  | `ENABLE_EXO_TOOLS` | ❌ No | `false` | Opt in to Experience Orchestration (ExO) tools. Set to `true` to register the ExO tool collections (components, data assemblies, design tokens, experiences, experience templates, experience fragments). Also requires the token to hold the `exoM1` entitlement in at least one accessible org — both gates must pass. |
package/dist/index.js CHANGED
@@ -4113,6 +4113,9 @@ var EnvSchema = external_exports.object({
4113
4113
  ),
4114
4114
  CONTENTFUL_DELIVERY_HOST: external_exports.string().optional().describe(
4115
4115
  "Contentful Delivery API host (used with CONTENTFUL_DELIVERY_TOKEN for custom CDA endpoints)"
4116
+ ),
4117
+ EXPORT_BASE_DIR: external_exports.string().optional().describe(
4118
+ "Server-controlled root directory for space export output (defaults to the current working directory)"
4116
4119
  )
4117
4120
  });
4118
4121
  var env = EnvSchema.safeParse(process.env);
@@ -4126,7 +4129,7 @@ init_esm_shims();
4126
4129
 
4127
4130
  // src/mcpVersion.ts
4128
4131
  init_esm_shims();
4129
- var MCP_VERSION = "1.19.0";
4132
+ var MCP_VERSION = "1.19.1";
4130
4133
 
4131
4134
  // src/getVersion.ts
4132
4135
  var getVersion = () => {
@@ -4152,6 +4155,7 @@ async function registerAllTools(server) {
4152
4155
  mcpSource: "local",
4153
4156
  deliveryToken: env.data.CONTENTFUL_DELIVERY_TOKEN,
4154
4157
  hostDelivery: env.data.CONTENTFUL_DELIVERY_HOST,
4158
+ exportBaseDir: env.data.EXPORT_BASE_DIR,
4155
4159
  protectedEnvironments,
4156
4160
  maxBulkSize
4157
4161
  };