@cloudinary/environment-config-mcp 0.6.1 → 0.6.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.
@@ -924,7 +924,7 @@ http_headers = { "api-key" = "YOUR_API_KEY", "api-secret" = "YOUR_API_SECRET", "
924
924
  <h1>Instructions</h1>
925
925
  <p>One-click installation for Claude Desktop users</p>
926
926
  <div class="instruction-item">
927
- <a href="https://github.com/cloudinary/environment-config-mcp/releases/download/v0.6.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
927
+ <a href="https://github.com/cloudinary/environment-config-mcp/releases/download/v0.6.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
928
928
  📥 Download MCP Bundle
929
929
  </a>
930
930
  </div>
@@ -66,8 +66,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
66
66
  export declare const SDK_METADATA: {
67
67
  readonly language: "typescript";
68
68
  readonly openapiDocVersion: "0.5.5";
69
- readonly sdkVersion: "0.6.1";
70
- readonly genVersion: "2.918.4";
71
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.6.1 2.918.4 0.5.5 @cloudinary/environment-config-mcp";
69
+ readonly sdkVersion: "0.6.2";
70
+ readonly genVersion: "2.943.0";
71
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.6.2 2.943.0 0.5.5 @cloudinary/environment-config-mcp";
72
72
  };
73
73
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -55,8 +55,8 @@ export function serverURLFromOptions(options) {
55
55
  export const SDK_METADATA = {
56
56
  language: "typescript",
57
57
  openapiDocVersion: "0.5.5",
58
- sdkVersion: "0.6.1",
59
- genVersion: "2.918.4",
60
- userAgent: "speakeasy-sdk/mcp-typescript 0.6.1 2.918.4 0.5.5 @cloudinary/environment-config-mcp",
58
+ sdkVersion: "0.6.2",
59
+ genVersion: "2.943.0",
60
+ userAgent: "speakeasy-sdk/mcp-typescript 0.6.2 2.943.0 0.5.5 @cloudinary/environment-config-mcp",
61
61
  };
62
62
  //# sourceMappingURL=config.js.map
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.6.1",
22
+ currentVersion: "0.6.2",
23
23
  },
24
24
  });
25
25
  run(app, process.argv.slice(2), buildContext(process));
@@ -0,0 +1,4 @@
1
+ import type { Implementation } from "@modelcontextprotocol/sdk/types.js";
2
+ export declare const serverInfo: Omit<Implementation, "name" | "version">;
3
+ export declare const instructions = "Cloudinary Environment Config: manage the settings that shape how assets are uploaded, transformed and delivered in a Cloudinary product environment.\n\n- Upload presets bundle upload options (folder, tags, eager and incoming transformations, notification_url) under a name that uploads and the Upload Widget refer to. Check list-upload-presets first: creating a preset with an existing name overwrites it.\n- Named transformations are reusable transformation strings applied in delivery URLs as t_<name>. Changing one requires unsafe_update and affects only newly generated derived assets. Chain f_auto outside it, e.g. t_square/f_auto.\n- Upload mappings link a folder to a remote URL prefix for auto-upload. To apply a preset to a mapping, give the preset the same name as the mapped folder.\n- Triggers send webhook notifications for one event type to one URL. update-trigger, delete-trigger and test-trigger need the id from list-triggers or create-trigger. A preset's notification_url overrides global triggers for uploads that use it.\n- Streaming profiles define adaptive bitrate renditions. Updating one replaces its whole representations list; deleting a modified built-in profile reverts it.\n- Works with the Asset Management server: its upload-asset takes upload_preset.\n- Docs: https://cloudinary.com/documentation/llms.txt indexes all Cloudinary docs; append .md to a documentation URL for Markdown.";
4
+ //# sourceMappingURL=server-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-info.d.ts","sourceRoot":"","sources":["../../src/mcp-server/server-info.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAKzE,eAAO,MAAM,UAAU,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAU/D,CAAC;AAEF,eAAO,MAAM,YAAY,44CAS0G,CAAC"}
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Server metadata and instructions returned in the MCP initialize response.
3
+ */
4
+ const ICON_BASE = "https://cloudinary-res.cloudinary.com/image/upload/docsite/brand-assets";
5
+ export const serverInfo = {
6
+ title: "Cloudinary Environment Config",
7
+ description: "Manage Cloudinary upload presets, named transformations, upload mappings, triggers, and streaming profiles.",
8
+ websiteUrl: "https://cloudinary.com/documentation/cloudinary_llm_mcp",
9
+ icons: [32, 96, 192].map((size) => ({
10
+ src: `${ICON_BASE}/cloudinary_favicon_${size}x${size}.png`,
11
+ mimeType: "image/png",
12
+ sizes: [`${size}x${size}`],
13
+ })),
14
+ };
15
+ export const instructions = `Cloudinary Environment Config: manage the settings that shape how assets are uploaded, transformed and delivered in a Cloudinary product environment.
16
+
17
+ - Upload presets bundle upload options (folder, tags, eager and incoming transformations, notification_url) under a name that uploads and the Upload Widget refer to. Check list-upload-presets first: creating a preset with an existing name overwrites it.
18
+ - Named transformations are reusable transformation strings applied in delivery URLs as t_<name>. Changing one requires unsafe_update and affects only newly generated derived assets. Chain f_auto outside it, e.g. t_square/f_auto.
19
+ - Upload mappings link a folder to a remote URL prefix for auto-upload. To apply a preset to a mapping, give the preset the same name as the mapped folder.
20
+ - Triggers send webhook notifications for one event type to one URL. update-trigger, delete-trigger and test-trigger need the id from list-triggers or create-trigger. A preset's notification_url overrides global triggers for uploads that use it.
21
+ - Streaming profiles define adaptive bitrate renditions. Updating one replaces its whole representations list; deleting a modified built-in profile reverts it.
22
+ - Works with the Asset Management server: its upload-asset takes upload_preset.
23
+ - Docs: https://cloudinary.com/documentation/llms.txt indexes all Cloudinary docs; append .md to a documentation URL for Markdown.`;
24
+ //# sourceMappingURL=server-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-info.js","sourceRoot":"","sources":["../../src/mcp-server/server-info.ts"],"names":[],"m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,CAAC,GAAG,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;IAC1C,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACvC;;;;;;EAkFA"}
@@ -6,6 +6,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
6
6
  import { CloudinaryEnvConfigCore } from "../core.js";
7
7
  import { createRegisterPrompt } from "./prompts.js";
8
8
  import { createRegisterResource, createRegisterResourceTemplate, } from "./resources.js";
9
+ import { instructions, serverInfo } from "./server-info.js";
9
10
  import { createRegisterTool, registerDynamicTools, } from "./tools.js";
10
11
  import { tool$streamingProfilesCreateStreamingProfile } from "./tools/streamingProfilesCreateStreamingProfile.js";
11
12
  import { tool$streamingProfilesDeleteStreamingProfile } from "./tools/streamingProfilesDeleteStreamingProfile.js";
@@ -34,8 +35,9 @@ import { tool$uploadPresetsUpdateUploadPreset } from "./tools/uploadPresetsUpdat
34
35
  export function createMCPServer(deps) {
35
36
  const server = new McpServer({
36
37
  name: "CloudinaryEnvConfig",
37
- version: "0.6.1",
38
- });
38
+ version: "0.6.2",
39
+ ...serverInfo,
40
+ }, { instructions });
39
41
  const getClient = deps.getSDK || (() => new CloudinaryEnvConfigCore({
40
42
  security: deps.security,
41
43
  cloud_name: deps.cloud_name,
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/mcp-server/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,C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IACnD,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAEnD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QACjB,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;AAC3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudinary/environment-config-mcp",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "author": "Cloudinary",
5
5
  "description": "Cloudinary Environment Config MCP Server - manage named transformations, upload presets, streaming profiles, webhooks (triggers), and upload mappings through AI assistants (Claude Desktop, Cursor, Gemini, Windsurf, VS Code)",
6
6
  "keywords": ["mcp", "mcp-server", "cloudinary", "model-context-protocol", "media-management", "ai-tools", "named-transformations", "upload-presets", "streaming-profiles"],
@@ -30,8 +30,13 @@
30
30
  },
31
31
  "overrides": {
32
32
  "@modelcontextprotocol/sdk": "1.26.0",
33
- "hono": ">=4.12.25",
34
- "fast-uri": ">=3.1.2"
33
+ "hono": ">=4.12.34",
34
+ "fast-uri": ">=4.1.2 <5.0.0",
35
+ "js-yaml": ">=4.3.1 <5.0.0",
36
+ "ip-address": ">=10.3.1 <11.0.0",
37
+ "nanoid@^5.0.0": ">=5.1.16 <6.0.0",
38
+ "brace-expansion@^2.0.0": ">=2.1.4 <3.0.0",
39
+ "body-parser": ">=2.3.0 <3.0.0"
35
40
  },
36
41
  "devDependencies": {
37
42
  "@anthropic-ai/mcpb": "^1.2.0",
@@ -939,7 +939,7 @@ http_headers = { "api-key" = "YOUR_API_KEY", "api-secret" = "YOUR_API_SECRET", "
939
939
  <h1>Instructions</h1>
940
940
  <p>One-click installation for Claude Desktop users</p>
941
941
  <div class="instruction-item">
942
- <a href="https://github.com/cloudinary/environment-config-mcp/releases/download/v0.6.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
942
+ <a href="https://github.com/cloudinary/environment-config-mcp/releases/download/v0.6.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
943
943
  📥 Download MCP Bundle
944
944
  </a>
945
945
  </div>
package/src/lib/config.ts CHANGED
@@ -113,8 +113,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
113
113
  export const SDK_METADATA = {
114
114
  language: "typescript",
115
115
  openapiDocVersion: "0.5.5",
116
- sdkVersion: "0.6.1",
117
- genVersion: "2.918.4",
116
+ sdkVersion: "0.6.2",
117
+ genVersion: "2.943.0",
118
118
  userAgent:
119
- "speakeasy-sdk/mcp-typescript 0.6.1 2.918.4 0.5.5 @cloudinary/environment-config-mcp",
119
+ "speakeasy-sdk/mcp-typescript 0.6.2 2.943.0 0.5.5 @cloudinary/environment-config-mcp",
120
120
  } as const;
@@ -22,7 +22,7 @@ const routes = buildRouteMap({
22
22
  export const app = buildApplication(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.6.1",
25
+ currentVersion: "0.6.2",
26
26
  },
27
27
  });
28
28
 
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Server metadata and instructions returned in the MCP initialize response.
3
+ */
4
+
5
+ import type { Implementation } from "@modelcontextprotocol/sdk/types.js";
6
+
7
+ const ICON_BASE =
8
+ "https://cloudinary-res.cloudinary.com/image/upload/docsite/brand-assets";
9
+
10
+ export const serverInfo: Omit<Implementation, "name" | "version"> = {
11
+ title: "Cloudinary Environment Config",
12
+ description:
13
+ "Manage Cloudinary upload presets, named transformations, upload mappings, triggers, and streaming profiles.",
14
+ websiteUrl: "https://cloudinary.com/documentation/cloudinary_llm_mcp",
15
+ icons: [32, 96, 192].map((size) => ({
16
+ src: `${ICON_BASE}/cloudinary_favicon_${size}x${size}.png`,
17
+ mimeType: "image/png",
18
+ sizes: [`${size}x${size}`],
19
+ })),
20
+ };
21
+
22
+ export const instructions =
23
+ `Cloudinary Environment Config: manage the settings that shape how assets are uploaded, transformed and delivered in a Cloudinary product environment.
24
+
25
+ - Upload presets bundle upload options (folder, tags, eager and incoming transformations, notification_url) under a name that uploads and the Upload Widget refer to. Check list-upload-presets first: creating a preset with an existing name overwrites it.
26
+ - Named transformations are reusable transformation strings applied in delivery URLs as t_<name>. Changing one requires unsafe_update and affects only newly generated derived assets. Chain f_auto outside it, e.g. t_square/f_auto.
27
+ - Upload mappings link a folder to a remote URL prefix for auto-upload. To apply a preset to a mapping, give the preset the same name as the mapped folder.
28
+ - Triggers send webhook notifications for one event type to one URL. update-trigger, delete-trigger and test-trigger need the id from list-triggers or create-trigger. A preset's notification_url overrides global triggers for uploads that use it.
29
+ - Streaming profiles define adaptive bitrate renditions. Updating one replaces its whole representations list; deleting a modified built-in profile reverts it.
30
+ - Works with the Asset Management server: its upload-asset takes upload_preset.
31
+ - Docs: https://cloudinary.com/documentation/llms.txt indexes all Cloudinary docs; append .md to a documentation URL for Markdown.`;
@@ -13,6 +13,7 @@ import {
13
13
  createRegisterResourceTemplate,
14
14
  } from "./resources.js";
15
15
  import { MCPScope } from "./scopes.js";
16
+ import { instructions, serverInfo } from "./server-info.js";
16
17
  import {
17
18
  createRegisterTool,
18
19
  MCPToolAnnotationFilter,
@@ -59,8 +60,9 @@ export function createMCPServer(deps: {
59
60
  }) {
60
61
  const server = new McpServer({
61
62
  name: "CloudinaryEnvConfig",
62
- version: "0.6.1",
63
- });
63
+ version: "0.6.2",
64
+ ...serverInfo,
65
+ }, { instructions });
64
66
 
65
67
  const getClient = deps.getSDK || (() =>
66
68
  new CloudinaryEnvConfigCore({