> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Cloudinary MCP server

The Cloudinary MCP connector routes your AI agent's tool calls to Cloudinary's own MCP server through Scalekit. Each user signs in to Cloudinary once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 30 tools.

**Authentication:** OAuth2.1/DCR
**Categories:** Media, Developer Tools
**Tools:** 30: 12 read, 11 write, 7 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=CLOUDINARYMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Cloudinary MCP connection

   In **AgentKit > Connections**, create a Cloudinary MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Cloudinary MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'cloudinarymcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Cloudinary MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'cloudinarymcp_get_tx_reference',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "cloudinarymcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Cloudinary MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="cloudinarymcp_get_tx_reference",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'cloudinarymcp_get_asset_details',
  toolInput: {
    asset_id: '<asset_id>',
  },
  connector: 'cloudinarymcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="cloudinarymcp_get_asset_details",
    tool_input={
        "asset_id": "<asset_id>",
    },
    connection_name="cloudinarymcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `cloudinarymcp_get_asset_details`

Get Asset Details · Read-only

Get resource by asset ID

Returns the details of a single resource specified by its asset ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `asset_id` (`string`, required): The asset ID of the resource. Must be a 32-character hexadecimal string.
- `accessibility_analysis` (`boolean`, optional): Whether to return accessibility analysis scores for the image. Default: false. Default: `false`.
- `colors` (`boolean`, optional): Whether to include color information (predominant colors and histogram of 32 leading colors). Default: false. Default: `false`.
- `coordinates` (`boolean`, optional): Whether to include previously specified custom cropping coordinates and faces coordinates. Default: false. Default: `false`.
- `derived_next_cursor` (`string`, optional): The cursor for the next page of derived assets when there are more derived images than max_results.
- `faces` (`boolean`, optional): Whether to include a list of coordinates of detected faces. Default: false. Default: `false`.
- `max_results` (`integer`, optional): Maximum number of derived assets to return. Default: 10. Default: `10`.
- `media_metadata` (`boolean`, optional): Whether to include IPTC, XMP, and detailed Exif metadata in the response. Default: false. Default: `false`.
- `pages` (`boolean`, optional): Whether to report the number of pages in multi-page documents (e.g., PDF). Default: false. Default: `false`.
- `phash` (`boolean`, optional): Whether to include the perceptual hash (pHash) of the uploaded photo for image similarity detection. Default: false. Default: `false`.
- `quality_analysis` (`boolean`, optional): Whether to return quality analysis scores for the image. Default: false. Default: `false`.
- `versions` (`boolean`, optional): Whether to include details of all the backed up versions of the asset. Default: false. Default: `false`.

Example input: `{"asset_id":"<asset_id>"}`

### `cloudinarymcp_get_generation_task`

Get a Generation Task · Read-only

Get a generation task

Get the status of a generation task.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `task_id` (`string`, required): The ID of the generation task.

Example input: `{"task_id":"<task_id>"}`

### `cloudinarymcp_get_tx_reference`

Get Tx Reference · Read-only

Get Cloudinary transformation rules documentation from official docs

MANDATORY before creating, modifying, or discussing Cloudinary transformations. Required when user asks for image/video effects, resizing, cropping, filters, etc. Not needed for simple asset management (upload, list, delete, etc.). Call only once per session - documentation doesn't change, reuse the knowledge.

This tool returns the complete, authoritative Cloudinary transformation reference that contains all valid parameters, syntax rules, and best practices.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `cloudinarymcp_get_usage_details`

Get Usage Details · Read-only

Retrieves comprehensive usage metrics and account statistics

A report on the status of product environment usage, including storage, credits, bandwidth, requests, number of resources, and add-on usage. No date parameter needed to get current usage statistics.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `date` (`string`, optional): The date for which to retrieve usage details (YYYY-MM-DD). If not specified, returns the current usage.

Example input: `{}`

### `cloudinarymcp_list_files`

List Files · Read-only

Get raw assets

Retrieves a list of raw assets. Results can be filtered by various criteria like tags, prefix, or specific public IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `direction` (`string`, optional): The sort direction for the results. Default is "desc". One of: `asc`, `desc`.
- `fields` (`string`, optional): Additional fields to include in the response. The fields public_id and asset_id are always included.
- `max_results` (`integer`, optional): Maximum number of results to return (1-500).
- `next_cursor` (`string`, optional): Cursor for pagination.
- `prefix` (`string`, optional): A public_id prefix. When specified, all assets with that prefix are returned.
- `public_ids` (`array`, optional): An array of public IDs to return.
- `start_at` (`string`, optional): An ISO-8601 formatted timestamp. When specified, returns resources created since that timestamp. Supported only if neither `prefix` nor `public_ids` were passed.
- `tags` (`boolean`, optional): Whether to include the list of tag names assigned to each asset. Default is false. Default: `false`.
- `type` (`string`, optional): The delivery type to filter by. When omitted, returns assets of all delivery types.

Example input: `{}`

### `cloudinarymcp_list_images`

List Images · Read-only

Get image assets

Retrieves a list of image assets. Results can be filtered by various criteria like tags, prefix, or specific public IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `direction` (`string`, optional): The sort direction for the results. Default is "desc". One of: `asc`, `desc`.
- `fields` (`string`, optional): Additional fields to include in the response. The fields public_id and asset_id are always included.
- `max_results` (`integer`, optional): Maximum number of results to return (1-500).
- `next_cursor` (`string`, optional): Cursor for pagination.
- `prefix` (`string`, optional): A public_id prefix. When specified, all assets with that prefix are returned.
- `public_ids` (`array`, optional): An array of public IDs to return.
- `start_at` (`string`, optional): An ISO-8601 formatted timestamp. When specified, returns resources created since that timestamp. Supported only if neither `prefix` nor `public_ids` were passed.
- `tags` (`boolean`, optional): Whether to include the list of tag names assigned to each asset. Default is false. Default: `false`.
- `type` (`string`, optional): The delivery type to filter by. When omitted, returns assets of all delivery types.

Example input: `{}`

### `cloudinarymcp_list_tags`

List Tags · Read-only

Retrieves a list of tags currently applied to assets in your Cloudinary account

Retrieves a comprehensive list of all tags that exist in your product environment for assets of the specified type.

[Cloudinary Admin API documentation](https://cloudinary.com/documentation/admin_api)

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `resource_type` (`string`, required): The type of resource (image, video, or raw). One of: `image`, `video`, `raw`.
- `max_results` (`integer`, optional): Maximum number of results to return (1-500).
- `next_cursor` (`string`, optional): Cursor for pagination.
- `prefix` (`string`, optional): Limit the returned tags to those that start with the specified prefix.

Example input: `{"resource_type":"image"}`

### `cloudinarymcp_list_videos`

List Videos · Read-only

Get video assets

Retrieves a list of video assets. Results can be filtered by various criteria like tags, prefix, or specific public IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `direction` (`string`, optional): The sort direction for the results. Default is "desc". One of: `asc`, `desc`.
- `fields` (`string`, optional): Additional fields to include in the response. The fields public_id and asset_id are always included.
- `max_results` (`integer`, optional): Maximum number of results to return (1-500).
- `next_cursor` (`string`, optional): Cursor for pagination.
- `prefix` (`string`, optional): A public_id prefix. When specified, all assets with that prefix are returned.
- `public_ids` (`array`, optional): An array of public IDs to return.
- `start_at` (`string`, optional): An ISO-8601 formatted timestamp. When specified, returns resources created since that timestamp. Supported only if neither `prefix` nor `public_ids` were passed.
- `tags` (`boolean`, optional): Whether to include the list of tag names assigned to each asset. Default is false. Default: `false`.
- `type` (`string`, optional): The delivery type to filter by. When omitted, returns assets of all delivery types.

Example input: `{}`

### `cloudinarymcp_search_assets`

Search Assets · Read-only

Provides a powerful query interface to filter and retrieve assets and their details

Returns a list of resources matching the specified search criteria.

Uses a Lucene-like query language to filter assets by descriptive attributes (`public_id`, `asset_id`, `filename`, `display_name`, `folder` / `asset_folder`, `tags`, `context.<key>`), file details (`resource_type`, `type`, `format`, `bytes`, `width`, `height`, `duration`, `pages`, `aspect_ratio`, `transparent`, `grayscale`), lifecycle dates (`uploaded_at`, `created_at`, `taken_at`, `updated_at`, `last_updated.<kind>`), moderation and lifecycle state (`status`, `moderation_status`, `moderation_kind`), embedded data (`image_metadata.*`), structured metadata (`metadata.<external_id>`), and analysis fields (`face_count`, `colors`, `quality_score`, `illustration_score`, `accessibility_analysis.*`). Supports sorting, aggregate counts, and complex boolean expressions. See the `expression` parameter for the full field reference.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `request` (`object`, required): The search query parameters.

Example input: `{"request":{}}`

### `cloudinarymcp_search_folders`

Search Folders · Read-only

Searches for folders whose attributes match a given expression

Lists the folders that match the specified search expression. Limited to 2000 results. If no parameters are passed, returns the 50 most recently created folders in descending order of creation time.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `expression` (`string`, optional): The (Lucene-like) string expression specifying the search query. If not passed, returns all folders (up to max_results).
- `max_results` (`integer`, optional): Maximum number of folders to return (max 500, default 50). Default: `50`.
- `next_cursor` (`string`, optional): The cursor for pagination. Use the next_cursor value from a previous response to get the next page of results.
- `sort_by` (`array`, optional): Sort order for the results. Each item maps a field name to a direction.

Example input: `{}`

### `cloudinarymcp_sign_upload`

Sign Upload · Read-only

Use this tool when the user wants to upload a file to Cloudinary directly from their own machine or environment. It signs Upload API parameters so the caller can POST files straight to the Cloudinary Upload API — no API secret required on the client side.

NOT suitable for large files (>100 MB) or bulk uploads — direct the user to the Cloudinary CLI (`cld uploader upload`) or an SDK instead, which handle chunking, retries, and progress reporting.

Returns one credential object per input entry:
  upload_params  — serialized params to echo verbatim as form fields (includes timestamp)
  api_key        — Cloudinary API key
  signature      — HMAC signature over upload_params; invalidated if any field is changed
  host           — Upload API hostname (may differ from api.cloudinary.com for regional/enterprise accounts)
  cloud_name     — Cloudinary cloud name

Send only signable params in the input (public_id, folder, tags, context, metadata, eager, transformation, …). Do not include file, resource_type, api_key, or signature — these are not part of the signed parameter set and will be ignored if passed.

To upload after signing, POST multipart/form-data to:
  https://<host>/v1_1/<cloud_name>/<resource_type>/upload
Include your file plus api_key, signature, and EVERY key from upload_params as its own form field. Any added, dropped, renamed, or re-serialized field invalidates the signature. resource_type (image/video/raw/auto) is part of the URL, not upload_params.

Example (all upload_params keys must appear — shown here with public_id and timestamp only for brevity; include every key your upload_params actually contains):
  curl https://<host>/v1_1/<cloud_name>/image/upload \
    -F 'file=@"/path/to/photo.jpg"' \
    -F 'api_key=<api_key>' -F 'signature=<signature>' \
    -F 'timestamp=<upload_params.timestamp>' \
    -F 'public_id=<upload_params.public_id>'   # one -F per upload_params key

IMPORTANT — the file= argument MUST use two quoting layers: single-quotes around the entire -F value (shell), double-quotes around the path (curl): -F 'file=@"<path>"'. Paths with spaces or special characters are common and will be word-split by the shell if unquoted, silently truncating the filename at the first space.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `uploads` (`array`, required): One or more sets of Cloudinary Upload API parameters to sign. Returns one signed credential object per entry, in the same order. Only genuine Upload API params are signed; file, resource_type, api_key, and signature are excluded.

Example input: `{"uploads":[]}`

### `cloudinarymcp_visual_search_assets`

Visual Search Assets · Read-only

Finds images in your asset library based on visual similarity or content

Returns a list of resources that are visually similar to a specified image. You can provide the source image for comparison in one of three ways:
- Provide a URL of an image
- Specify the asset ID of an existing image
- Provide a textual description

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `request` (`string`, required): The visual search parameters.

Example input: `{"request":"<request>"}`

### `cloudinarymcp_asset_rename`

Asset Rename · Write

Updates an existing asset's identifier (public ID) and optionally other metadata in your Cloudinary account

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `RequestBody` (`object`, required): The rename request parameters.
- `resource_type` (`string`, required): The type of resource (image, video, or raw). One of: `image`, `video`, `raw`.

Example input: `{"RequestBody":{},"resource_type":"image"}`

### `cloudinarymcp_asset_update`

Asset Update · Write

Updates an existing asset's metadata, tags, and other attributes using its asset ID

Updates one or more attributes of a specified resource (asset) by its asset ID. This enables you to update details of an asset by its unique and immutable identifier, regardless of public ID, display name, asset folder, resource type or delivery type. Note that you can also update attributes of an existing asset using the explicit API endpoint.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `asset_id` (`string`, required): The asset ID of the resource. Must be a 32-character hexadecimal string.
- `ResourceUpdateRequest` (`object`, required): The asset attributes to update.

Example input: `{"asset_id":"<asset_id>","ResourceUpdateRequest":{}}`

### `cloudinarymcp_create_asset_relations`

Create Asset Relations · Write

Add related assets by asset ID

Relates an asset to other assets by their asset IDs, an immutable identifier, regardless of public ID, display name, asset folder, resource type or delivery type. This is a bidirectional process, meaning that the asset will also be added as a related_asset to all the other assets specified. The relation is also a one to many relationship, where the asset is related to all the assets specified, but those assets aren't also related to each other.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `asset_id` (`string`, required): The asset ID of the resource. Must be a 32-character hexadecimal string.
- `relate_assets_by_asset_id_request` (`object`, required): The asset IDs to relate.

Example input: `{"asset_id":"<asset_id>","relate_assets_by_asset_id_request":{}}`

### `cloudinarymcp_create_folder`

Create Folder · Write

Creates a new empty folder in your Cloudinary media library

Creates a new folder at the specified path

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `folder` (`string`, required): The full path of the folder, including any nested folders. Must not be empty, and must not contain double slashes or leading/trailing slashes.

Example input: `{"folder":"<folder>"}`

### `cloudinarymcp_download_asset_backup`

Download Asset Backup · Write

Download a backup copy of an asset

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `asset_id` (`string`, required): The asset ID of the resource. Must be a 32-character hexadecimal string.
- `version_id` (`string`, required): The version ID of the backup to download. Must be a 32-character hexadecimal string.

Example input: `{"asset_id":"<asset_id>","version_id":"<version_id>"}`

### `cloudinarymcp_generate_archive`

Generate Archive · Write

Creates an archive (ZIP or TGZ file) that contains a set of assets from your product environment.

Creates a downloadable ZIP or other archive format containing the specified resources.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `RequestBody` (`object`, required): The archive generation parameters.
- `resource_type` (`string`, required): The type of resource for archive generation (image, video, or raw). One of: `image`, `video`, `raw`, `all`.

Example input: `{"RequestBody":{},"resource_type":"image"}`

### `cloudinarymcp_generate_image`

Generate an Image · Write

Generate an image

Generate an image from a text prompt using AI models.

The model is selected via the optional `model` object:
1. If `model.id` is provided, use that exact model.
2. Else if `model.family` (+ optional `model.tier`) is provided, resolve via the model registry; a missing tier defaults to `standard`.
3. If `model` is omitted, use the global default (nano-banana / premium, i.e. `nano-banana-2`).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request` (`object`, required): A JSON object containing the generation request parameters.

Example input: `{"request":{}}`

### `cloudinarymcp_generate_image_from_images`

Generate an Image from Reference Images · Write

Generate an image from reference images

Generate an image guided by one or more **reference images** — restyle,
on-brand variants, character consistency, virtual try-on, edit/extend —
steered by `prompt`.

Only edit-capable models are selectable here. The model is selected via
the optional `model` object, exactly like `text_to_image`, but IDs are
restricted to edit models:
1. If `model.id` is provided, use that exact edit model.
2. Else if `model.family` (+ optional `model.tier`) is provided, resolve

   to that family's edit model (e.g. `nano-banana` / `premium` →
   `nano-banana-2-edit`).
3. If `model` is omitted, use the default edit model (`nano-banana-2-edit`).

Each reference image is either a stored managed asset (by `asset_id`,
read-permission checked) or an external HTTPS `url`.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `request` (`object`, required): A JSON object containing the image-to-image generation request parameters.

Example input: `{"request":{}}`

### `cloudinarymcp_move_folder`

Move Folder · Write

Renames or moves an entire folder (along with all assets it contains) to a new location

Renames or moves an entire folder (along with all assets it contains) to a new location within your Cloudinary media library.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `folder` (`string`, required): The full path of the folder, including any nested folders. Must not be empty, and must not contain double slashes or leading/trailing slashes.
- `move_folder_request` (`object`, required): The new folder path.

Example input: `{"folder":"<folder>","move_folder_request":{}}`

### `cloudinarymcp_transform_asset`

Transform Asset · Write

Generate derived transformations for existing assets using Cloudinary's explicit API with eager transformations

⚠️ CRITICAL PREREQUISITES:
1. MUST call get-tx-reference tool first
2. MUST validate transformation syntax against official docs
3. MUST use only documented parameters from the reference
4. MUST follow proper URL component structure (slashes between components, commas within)

📋 VALIDATION CHECKLIST:
- ✅ Called get-tx-reference tool
- ✅ Verified all parameters exist in official docs
- ✅ Used correct syntax (e.g., f_auto/q_auto not f_auto,q_auto)
- ✅ Applied proper component chaining rules
- ✅ Included crop mode when using width/height

This tool creates actual derived assets on Cloudinary using the explicit API.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `publicId` (`string`, required): The public ID of the existing asset to transform
- `transformations` (`string`, required): VALIDATED transformation string using ONLY parameters from get-tx-reference docs. Examples: 'c_fill,w_300,h_200' or 'e_sepia/a_90'. MUST follow component rules: commas within components, slashes between components.
- `invalidate` (`boolean`, optional): Whether to invalidate cached versions. Default: `false`.
- `resourceType` (`string`, optional): The resource type of the asset. One of: `image`, `video`, `raw`. Default: `image`.

Example input: `{"publicId":"<publicId>","transformations":"<transformations>"}`

### `cloudinarymcp_upload_asset`

Upload Asset · Write

Uploads media assets (images, videos, raw files) to your Cloudinary product environment

Uploads media assets (images, videos, raw files) to your Cloudinary product environment. The file is securely stored
in the cloud with backup and revision history. Cloudinary automatically analyzes and saves important data about each
asset, such as format, size, resolution, and prominent colors, which is indexed to enable searching on those attributes.

Supports uploading from:
- Local file paths (SDKs/MCP server only). For MCP server path MUST start with file://
- Remote HTTP/HTTPS URLs
- Base64 Data URIs (max ~60 MB)
- Private storage buckets (S3 or Google Storage)
- FTP addresses

The uploaded asset is immediately available for transformation and delivery upon successful upload.

Transform media files using transformation syntax in delivery URLs, which creates derived files accessible immediately without re-uploading the original.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `upload_request` (`object`, required): The file to upload and associated parameters.
- `resource_type` (`string`, optional): The type of resource (image, video, raw, or auto). One of: `image`, `video`, `raw`, `auto`. Default: `auto`.

Example input: `{"upload_request":{}}`

### `cloudinarymcp_delete_asset`

Delete Asset · Destructive

Delete asset by asset ID

Deletes an asset using its immutable asset ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `request` (`object`, required): The asset to delete and related options.

Example input: `{"request":{}}`

### `cloudinarymcp_delete_asset_relations`

Delete Asset Relations · Destructive

Delete asset relations by asset ID

Unrelates the asset from other assets, specified by their asset IDs, an immutable identifier, regardless of public ID, display name, asset folder, resource type or delivery type. This is a bidirectional process, meaning that the asset will also be removed as a related_asset from all the other assets specified.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `asset_id` (`string`, required): The asset ID of the resource. Must be a 32-character hexadecimal string.
- `unrelate_assets_by_asset_id_request` (`object`, required): The asset IDs to unrelate.

Example input: `{"asset_id":"<asset_id>","unrelate_assets_by_asset_id_request":{}}`

### `cloudinarymcp_delete_derived_assets`

Delete Derived Assets · Destructive

Delete derived resources

Deletes derived resources by derived resource ID

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `request` (`object`, required): The derived resource IDs to delete.

Example input: `{"request":{}}`

### `cloudinarymcp_delete_folder`

Delete Folder · Destructive

Deletes an existing folder from your media library

Deletes a folder and all assets within it.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `folder` (`string`, required): The full path of the folder, including any nested folders. Must not be empty, and must not contain double slashes or leading/trailing slashes.

Example input: `{"folder":"<folder>"}`

### `cloudinarymcp_manage_asset_context`

Manage Asset Contextual Metadata · Destructive

Adds or clears contextual metadata on multiple assets

Applies a contextual-metadata command to the given assets, addressing them by public ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `context_update_request` (`object`, required): The context command, the metadata to apply, and the assets to apply it to.
- `resource_type` (`string`, required): The type of resource (image, video, or raw). One of: `image`, `video`, `raw`.

Example input: `{"context_update_request":{},"resource_type":"image"}`

### `cloudinarymcp_manage_asset_metadata`

Manage Asset Structured Metadata · Destructive

Sets structured metadata values on multiple assets

Assigns structured metadata field values to the given assets, addressing them by public ID.

Values are merged into each asset's existing structured metadata: fields not mentioned
keep their current values, and an empty value clears the field. Every referenced field
must already exist in the product environment. Conditional metadata rules are evaluated
as part of the update.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `metadata_update_request` (`object`, required): The structured metadata values to assign and the assets to assign them to.
- `resource_type` (`string`, required): The type of resource (image, video, or raw). One of: `image`, `video`, `raw`.

Example input: `{"metadata_update_request":{},"resource_type":"image"}`

### `cloudinarymcp_manage_asset_tags`

Manage Asset Tags · Destructive

Adds, removes, or replaces tags on multiple assets

Applies a tag command to the given assets, addressing them by public ID.

The number of tags multiplied by the number of public IDs must not exceed 10,000.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `resource_type` (`string`, required): The type of resource (image, video, or raw). One of: `image`, `video`, `raw`.
- `tags_update_request` (`object`, required): The tag command, the tags to apply, and the assets to apply them to.

Example input: `{"resource_type":"image","tags_update_request":{}}`

## Related

Other Media connectors ([all 43](/agentkit/connectors/?category=media)):

- [Reddit](/agentkit/connectors/reddit/): Scalekit connector, OAuth, 105 tools
- [Diarize](/agentkit/connectors/diarize/): Scalekit connector, Access token, 3 tools
- [YouTube](/agentkit/connectors/youtube/): Scalekit connector, OAuth, 45 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
