Cloudinary MCP 服务器

Cloudinary MCP 服务器

用于通过 Claude Desktop 将媒体上传到 Cloudinary 的 MCP 服务器。

快速入门

安装要求

  • 安装 Node.js(版本 18 或更高)和 npm。
  • 验证安装:运行 node --versionnpm --version

使用 npx 安装(推荐)

  1. 在 Claude 配置目录中添加以下配置到 MCP 设置文件:
    • Windows: C:\Users\NAME\AppData\Roaming\Claude
    • macOS: ~/Library/Application Support/Claude/
  2. 配置示例: { "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" } } } }
  3. 替换环境变量为你的 Cloudinary 凭据。

开发者安装

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

工具使用

  • 支持上传图片和视频到 Cloudinary,工具名称为 upload