FC

felores/cloudinary-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 6 forks 품질 67 트렌드 18MIT

MCP (Model Context Protocol) server for uploading media to Cloudinary using Claude Desktop

개요

This MCP server provides tools for uploading images and videos to Cloudinary through Claude Desktop and compatible MCP clients. 1. Install Node.js (version 18 or higher) and npm from nodejs.org 2. Verify installation: 1. Navigate to the Claude configuration directory: - Windows: C:\Users\NAME\AppData\Roaming\Claude - macOS: ~/Library/Application Support/Claude/ You can also find these directories inside the Claude Desktop app: Claude Desktop > Settings > Developer > Edit Config 2. Add the following configuration to your MCP settings file: 3. Make sure to replace the environment variables with your Cloudinary credentials from the Cloudinary Console. If you want to modify the server or contribute to development: 1. First, ensure you have a Cloudinary account and get your credentials from the Cloudinary Console: - Cloud Name - API Key - API Secret

README

원문 README의 일부입니다. 원문 보기.

Cloudinary MCP Server

This MCP server provides tools for uploading images and videos to Cloudinary through Claude Desktop and compatible MCP clients.

Installation

Requirements: Node.js

  1. Install Node.js (version 18 or higher) and npm from nodejs.org
  2. Verify installation:
    node --version
    npm --version
    
  1. Navigate to the Claude configuration directory:

    • Windows: C:\Users\NAME\AppData\Roaming\Claude
    • macOS: ~/Library/Application Support/Claude/

    You can also find these directories inside the Claude Desktop app: Claude Desktop > Settings > Developer > Edit Config

  2. Add the following configuration to your MCP settings file:

{
  "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. Make sure to replace the environment variables with your Cloudinary credentials from the Cloudinary Console.

Developer Installation

If you want to modify the server or contribute to development:

  1. Clone the repository:
git clone https://github.com/felores/cloudinary-mcp-server.git
cd cloudinary-mcp-server
  1. Install dependencies and build:
npm install
npm run build

Setup Instructions

  1. First, ensure you have a Cloudinary account and get your credentials from the Cloudinary Console:

    • Cloud Name
    • API Key
    • API Secret
  2. Add the server configuration to your Claude/Cline MCP settings file:

{
  "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"
      }
    }
  }
}

For Claude desktop app, edit the configuration file at the appropriate location for your OS.

  1. Install dependencies and build the server:
npm install
npm run build

Available Tools

upload

Upload images and videos to Cloudinary.

Parameters:

  • file (required): Path to file, URL, or base64 data URI to upload
  • resource_type (optional): Type of resource (‘image’, ‘video’, or ‘raw’)
  • public_id (optional): Custom public ID for the uploaded asset
  • overwrite (optional): Whether to overwrite existing assets with the same public ID
  • tags (optional): Array of tags to assign to the uploaded asset

Example usage in Claude/Cline:

GitHub에서 전체 README 보기

설치

npx @felores/cloudinary-mcp-server@latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "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" } } } }