Skip to main content
Glama

Cloudinary MCP Server

Cloudinary MCP 服务器

该 MCP 服务器提供通过 Claude Desktop 和兼容的 MCP 客户端将图像和视频上传到 Cloudinary 的工具。

安装

要求:Node.js

  1. nodejs.org安装 Node.js(版本 18 或更高版本)和 npm
  2. 验证安装:
    node --version npm --version

使用 npx 安装(推荐)

  1. 导航到 Claude 配置目录:
    • Windows: C:\Users\NAME\AppData\Roaming\Claude
    • macOS: ~/Library/Application Support/Claude/

    您还可以在 Claude Desktop 应用程序中找到这些目录:Claude Desktop > 设置 > 开发人员 > 编辑配置

  2. 将以下配置添加到您的 MCP 设置文件:
{ "mcpServers": { "cloudinary": { "command": "npx", "args": ["@felores/cloudinary-mcp-server@latest"], "env": { "CLOUDINARY_CLOUD_NAME": "your_cloud_name", "CLOUDINARY_API_KEY": "your_api_key", "CLOUDINARY_API_SECRET": "your_api_secret" } } } }
  1. 确保使用Cloudinary 控制台中的 Cloudinary 凭据替换环境变量。

开发人员安装

如果您想修改服务器或参与开发:

  1. 克隆存储库:
git clone https://github.com/felores/cloudinary-mcp-server.git cd cloudinary-mcp-server
  1. 安装依赖项并构建:
npm install npm run build

设置说明

  1. 首先,确保您拥有 Cloudinary 帐户并从Cloudinary 控制台获取您的凭据:
    • 云名称
    • API 密钥
    • API 秘密
  2. 将服务器配置添加到您的 Claude/Cline MCP 设置文件中:
{ "mcpServers": { "cloudinary": { "command": "node", "args": ["c:/path/to/cloudinary-mcp-server/dist/index.js"], "env": { "CLOUDINARY_CLOUD_NAME": "your_cloud_name", "CLOUDINARY_API_KEY": "your_api_key", "CLOUDINARY_API_SECRET": "your_api_secret" } } } }

对于 Claude 桌面应用程序,请在适合您的操作系统的位置编辑配置文件。

  1. 安装依赖项并构建服务器:
npm install npm run build

可用工具

上传

将图像和视频上传到 Cloudinary。

参数:

  • file (必需):要上传的文件路径、URL 或 base64 数据 URI
  • resource_type (可选):资源类型(“图像”、“视频”或“原始”)
  • public_id (可选):已上传资产的自定义公共 ID
  • overwrite (可选):是否覆盖具有相同公共 ID 的现有资产
  • tags (可选):分配给已上传资产的标签数组

Claude/Cline 中的示例用法:

use_mcp_tool({ server_name: "cloudinary", tool_name: "upload", arguments: { file: "path/to/image.jpg", resource_type: "image", public_id: "my-custom-id" } });
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

该服务器提供使用 Claude/Cline 将图像和视频直接上传到 Cloudinary 的工具,并通过资源类型和公共 ID 等可自定义的选项促进资源管理。

  1. 安装
    1. 要求:Node.js
    2. 使用 npx 安装(推荐)
    3. 开发人员安装
  2. 设置说明
    1. 可用工具
      1. 上传

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      This server generates placeholder image URLs from various providers, supporting input validation and integration with desktop applications like Claude and Cursor.
      Last updated -
      1
      8
      MIT License
    • A
      security
      A
      license
      A
      quality
      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.
      Last updated -
      5
      23
      MIT License
    • -
      security
      F
      license
      -
      quality
      A server that enables uploading files to Qiniu Cloud Storage through a standardized MCP interface, providing a simple way to store and serve files with public URLs.
      Last updated -
      27
    • -
      security
      A
      license
      -
      quality
      A lightweight MCP server for image processing and cloud uploads that automates resizing, converting, optimizing, and uploading images to services like AWS S3, Cloudflare R2, and Google Cloud Storage.
      Last updated -
      13
      14
      MIT License

    View all related MCP servers

    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/felores/cloudinary-mcp-server'

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