Skip to main content
Glama
yoavniran

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

ParametersJSON Schema
NameRequiredDescriptionDefault
publicIdNoThe public ID of the asset to delete
assetIdNoThe asset ID of the asset to delete

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Delete') but fails to add context beyond that, such as whether the deletion is permanent, requires specific permissions, has rate limits, or what the response looks like. This leaves significant gaps for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste, front-loading the key action and resource. It is appropriately sized for the tool's complexity, making it easy to parse without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's destructive nature, lack of annotations, and no output schema, the description is incomplete. It does not address critical aspects like confirmation of deletion, error handling, or return values, leaving the agent with insufficient information for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with both parameters ('publicId' and 'assetId') documented in the schema. The description does not add any meaning beyond the schema, such as explaining the difference between these IDs or usage scenarios. Baseline 3 is appropriate since the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Delete') and resource ('a file (asset) from Cloudinary'), distinguishing it from sibling tools like 'find-assets', 'get-asset', 'get-usage', and 'upload' which perform different operations. It precisely communicates the tool's function without redundancy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, such as whether it's for permanent deletion, when to choose 'publicId' vs 'assetId', or if there are prerequisites like authentication. It lacks context on exclusions or comparisons with siblings, offering only the basic purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find-assetsC

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

ParametersJSON Schema
NameRequiredDescriptionDefault
expressionNoSearch expression (e.g. 'tags=cat' or 'public_id:folder/*')
resourceTypeNoResource typeimage
maxResultsNoMaximum number of results
nextCursorNoNext cursor for pagination
tagsNoInclude tags in the response
contextNoInclude context in the response

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions searching with a query expression but doesn't describe what the tool returns (e.g., list of assets, metadata), pagination behavior (implied by 'nextCursor' parameter but not explained), rate limits, authentication needs, or error conditions. This is inadequate for a search tool with 6 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that immediately conveys the core functionality. It's front-loaded with the essential action ('search for existing files') and includes the key constraint ('with a query expression'). There's no wasted verbiage or unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with 6 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns, how results are structured, pagination mechanics (despite a 'nextCursor' parameter), or error handling. The agent would lack sufficient context to use this tool effectively beyond basic invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all 6 parameters. The description adds no parameter-specific information beyond mentioning 'query expression' (which aligns with the 'expression' parameter). This meets the baseline of 3 since the schema does the heavy lifting, but the description doesn't enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('search') and resource ('existing files (assets) in Cloudinary'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'get-asset' (which likely retrieves a specific asset) or 'upload' (which creates new assets), missing full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to prefer 'find-assets' over 'get-asset' for retrieving specific assets or how it relates to 'delete-asset' or 'upload'. There's no context about prerequisites or typical use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get-assetC

Get the details of a specific file (asset)

ParametersJSON Schema
NameRequiredDescriptionDefault
assetIdNoThe Cloudinary asset ID
publicIdNoThe public ID of the asset
resourceTypeNoType of asset. Default: image
typeNoDelivery type. Default: upload
tagsNoWhether to include the list of tag names. Default: false
contextNoWhether to include contextual metadata. Default: false
metadataNoWhether to include structured metadata. Default: false

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a read operation ('Get'), implying it's non-destructive, but doesn't cover critical aspects like authentication requirements, rate limits, error handling, or the format of returned details. For a tool with 7 parameters and no output schema, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary words. It directly states what the tool does ('Get the details of a specific file (asset)'), making it easy to parse and understand quickly, with zero wasted information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (7 parameters, no annotations, no output schema), the description is insufficiently complete. It doesn't explain what 'details' include, how results are structured, or behavioral traits like error cases. For a retrieval tool with multiple optional parameters, more context is needed to guide effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, meaning all parameters are documented in the input schema itself. The description adds no additional meaning about parameters beyond implying it retrieves 'details' of an asset. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('details of a specific file (asset)'), making the purpose evident. However, it doesn't explicitly differentiate from sibling tools like 'find-assets' (which likely lists multiple assets) or 'delete-asset' (which removes assets), leaving some ambiguity about when to choose this specific retrieval tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an asset ID), compare it to 'find-assets' for searching multiple assets, or specify scenarios where this detailed retrieval is preferred over other operations like 'upload' or 'delete-asset'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

ParametersJSON Schema
NameRequiredDescriptionDefault
dateNoThe date for the usage report. Must be within the last 3 months and specified in the format: yyyy-mm-dd. Default: the current date

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the report includes various metrics but fails to specify critical traits like whether this is a read-only operation, if it requires authentication, rate limits, or how data is formatted. The description adds minimal context beyond the basic purpose, leaving gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the main purpose and lists key metrics without unnecessary words. It could be slightly improved by structuring usage guidelines, but it earns its place by being clear and direct, with no wasted information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (reporting multiple metrics) and lack of annotations or output schema, the description is incomplete. It should explain the report's format, whether it's aggregated or detailed, and any behavioral aspects like permissions or data freshness. The description only covers what the tool does, not how it behaves or what it returns, leaving significant gaps for an agent to use it effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with a well-described 'date' parameter, so the baseline is 3. The description does not add any parameter-specific details beyond what the schema provides, such as explaining why the date range is limited to the last 3 months or how the default current date affects the report. It compensates slightly by implying the report covers multiple metrics, but this is not parameter-related.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('report on the status of your product environment usage'), listing key metrics like storage, credits, and bandwidth. It distinguishes itself from siblings like 'delete-asset' or 'upload' by focusing on reporting rather than asset management, though it doesn't explicitly differentiate from other potential reporting tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It lacks context about prerequisites, frequency, or scenarios where this report is needed, such as monitoring limits or billing. With siblings like 'find-assets' that might overlap in data retrieval, no explicit distinctions are made.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

uploadC

Upload a file (asset) to Cloudinary

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesThe source media to upload (URL, file path, base64 content, or binary data)
folderNoOptional folder path in Cloudinary
publicIdNoOptional public ID for the uploaded asset
resourceTypeNoType of resource to uploadauto
tagsNoA string containing Comma-separated list of tags to assign to the asset

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure but offers minimal insight. It states the tool uploads a file but doesn't cover critical traits like authentication requirements, rate limits, error handling, or what happens on success (e.g., returns a URL or ID). For a mutation tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose without unnecessary details. Every word earns its place by clearly conveying the tool's function, making it highly concise and well-structured for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (a mutation operation with 5 parameters) and lack of annotations and output schema, the description is incomplete. It doesn't address behavioral aspects like side effects, return values, or error conditions, leaving the agent with insufficient context to use the tool effectively beyond basic purpose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description adds no parameter-specific information beyond implying 'source' is required, which is already clear from the schema. This meets the baseline of 3, as the description doesn't compensate but the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('upload') and resource ('a file (asset) to Cloudinary'), making the purpose immediately understandable. It distinguishes from siblings like delete-asset or find-assets by focusing on creation rather than deletion or retrieval. However, it doesn't explicitly contrast with get-asset or get-usage, which keeps it from a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., authentication needs), when not to use it (e.g., for updates vs. initial uploads), or how it differs from sibling tools like find-assets for locating existing files. This lack of contextual direction leaves the agent to infer usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updates
    • First observeddelete-asset
    • First observedfind-assets
    • First observedget-asset
    • First observedget-usage
    • First observedupload

TDQS

B3.4/5.0
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.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoavniran/cloudinary-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server