Skip to main content
Glama
cloudinary-mcp-server

cloudinary-mcp-server

by yoavniran

Cloudinary MCP Server

A Model Context Protocol server that exposes Cloudinary Upload & Admin API methods as tools by AI assistants. This integration allows AI systems to trigger and interact with your Cloudinary cloud.

How It Works

The MCP server:

  • Makes calls on your behalf to the Cloudinary API

  • Enables uploading of assets to Cloudinary

  • Enables management of assets in your Cloudinary cloud

It relies on the Cloudinary API to perform these actions. Not all methods and parameters are supported. More will be added over time.

Open an issue with a request for specific method if you need it.

Related MCP server: Twilio MCP Server

Benefits

  • Turn your Cloudinary cloud actions into callable tools for AI assistants

  • Turn your Cloudinary assets into data for AI assistants

Usage with Claude Desktop

Prerequisites

  • NodeJS

  • MCP Client (like Claude Desktop App)

  • Create & Copy Cloudinary API Key/Secret at: API KEYS

Installation

To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

{
    "mcpServers": {
        "cloudinary-mcp-server": {
            "command": "npx",
            "args": ["-y", "cloudinary-mcp-server"],
            "env": {
                "CLOUDINARY_CLOUD_NAME": "<cloud name>",
                "CLOUDINARY_API_KEY": "<api-key>",
                "CLOUDINARY_API_SECRET": "<api-secret>"
            }
        }
    }
}
  • CLOUDINARY_CLOUD_NAME - your cloud name

  • CLOUDINARY_API_KEY - The API Key for your cloud

  • CLOUDINARY_API_SECRET - The API Secret for your cloud

Tools

The following tools are available:

  1. upload

    • Description: Upload a file (asset) to Cloudinary

    • Parameters:

      • source: URL, file path, base64 content, or binary data to upload

      • folder: Optional folder path in Cloudinary

      • publicId: Optional public ID for the uploaded asset

      • resourceType: Type of resource to upload (image, video, raw, auto)

      • tags: Comma-separated list of tags to assign to the asset

  2. delete-asset

    • Description: Delete a file (asset) from Cloudinary

    • Parameters:

      • publicId: The public ID of the asset to delete

      • assetId: The asset ID of the asset to delete

  3. get-asset

    • Description: Get the details of a specific file (asset)

    • Parameters:

      • assetId: The Cloudinary asset ID

      • publicId: The public ID of the asset

      • resourceType: Type of asset (image, raw, video)

      • type: Delivery type (upload, private, authenticated, etc.)

      • tags: Whether to include the list of tag names

      • context: Whether to include contextual metadata

      • metadata: Whether to include structured metadata

  4. find-assets

    • Description: Search for existing files (assets) in Cloudinary with a query expression

    • Parameters:

      • expression: Search expression (e.g. 'tags=cat' or 'public_id:folder/*')

      • resourceType: Resource type (image, video, raw)

      • maxResults: Maximum number of results (1-500)

      • nextCursor: Next cursor for pagination

      • tags: Include tags in the response

      • context: Include context in the response

  5. get-usage

    • Description: Get a report on the status of your product environment usage, including storage, credits, bandwidth, requests, number of resources, and add-on usage

    • Parameters:

      • date: Optional. The date for the usage report in the format: yyyy-mm-dd. Must be within the last 3 months. Default: the current date

Available Tools

5 tools
delete-assetB

Delete a file (asset) from Cloudinary

Inputs: publicId, assetId.

find-assetsC

Search for existing files (assets) in Cloudinary with a query expression

Inputs: expression, resourceType, maxResults, nextCursor, +2 more.

get-assetC

Get the details of a specific file (asset)

Inputs: assetId, publicId, resourceType, type, +3 more.

get-usageC

Get a report on the status of your product environment usage, including storage, credits, bandwidth, requests, number of resources, and add-on usage

Inputs: date.

uploadC

Upload a file (asset) to Cloudinary

Inputs: source (required), folder, publicId, resourceType, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: delete, search, get details, get usage report, and upload. There is no overlap in functionality, making it easy for an agent to select the correct tool without confusion.

    Naming Consistency4/5

    Four tools follow a consistent verb-noun pattern (delete-asset, find-assets, get-asset, get-usage), but 'upload' deviates by omitting the noun. This minor inconsistency slightly reduces predictability, though the naming remains readable and mostly uniform.

    Tool Count5/5

    With 5 tools, this server is well-scoped for managing Cloudinary assets. Each tool earns its place by covering essential operations (upload, get, search, delete, usage reporting), avoiding bloat while providing complete core functionality.

    Completeness4/5

    The toolset covers core CRUD operations for assets (upload, get, delete, search) and includes usage reporting, offering good coverage for the Cloudinary domain. A minor gap is the lack of update or transformation tools for assets, but agents can work around this by re-uploading or using other methods.

    Related MCP Connectors

    Related MCP Servers