Cloudinary MCP Server
这个服务器提供了一些工具,可以使用 Claude/Cline 直接将图片和视频上传到 Cloudinary,从而方便资源管理,并提供可定制的选项,例如资源类型和公共 ID。
Tools
upload
Upload media (images/videos) to Cloudinary. For large files, the upload is processed in chunks and returns a streaming response. The uploaded asset will be available at: - HTTP: http://res.cloudinary.com/{cloud_name}/{resource_type}/upload/v1/{public_id}.{format} - HTTPS: https://res.cloudinary.com/{cloud_name}/{resource_type}/upload/v1/{public_id}.{format} where cloud_name='dadljfaoz', resource_type is 'image' or 'video', and format is determined by the file extension.
README
Cloudinary MCP 服务器
此 MCP 服务器提供工具,用于通过 Claude Desktop 和兼容的 MCP 客户端将图像和视频上传到 Cloudinary。
<a href="https://glama.ai/mcp/servers/zjiw1ry8ly"><img width="380" height="200" src="https://glama.ai/mcp/servers/zjiw1ry8ly/badge" alt="Cloudinary Server MCP server" /></a>
安装
要求:Node.js
- 从 nodejs.org 安装 Node.js(版本 18 或更高版本)和 npm。
- 验证安装:
node --version npm --version
使用 npx 安装(推荐)
-
导航到 Claude 配置文件目录:
- Windows:
C:\Users\NAME\AppData\Roaming\Claude
- macOS:
~/Library/Application Support/Claude/
您也可以在 Claude Desktop 应用程序中找到这些目录:Claude Desktop > 设置 > 开发者 > 编辑配置
- Windows:
-
将以下配置添加到您的 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"
}
}
}
}
- 确保使用来自 Cloudinary 控制台 的 Cloudinary 凭据替换环境变量。
开发者安装
如果您想修改服务器或为开发做贡献:
- 克隆存储库:
git clone https://github.com/felores/cloudinary-mcp-server.git
cd cloudinary-mcp-server
- 安装依赖项并构建:
npm install
npm run build
设置说明
-
首先,确保您拥有一个 Cloudinary 帐户,并从 Cloudinary 控制台 获取您的凭据:
- Cloud Name(云名称)
- API Key(API 密钥)
- API Secret(API 密钥)
-
将服务器配置添加到您的 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 desktop 应用程序,请在适合您操作系统的位置编辑配置文件。
- 安装依赖项并构建服务器:
npm install
npm run build
可用工具
upload
将图像和视频上传到 Cloudinary。
参数:
file
(必需): 要上传的文件路径、URL 或 base64 数据 URIresource_type
(可选): 资源类型 ('image'、'video' 或 'raw')public_id
(可选): 上传资产的自定义公共 IDoverwrite
(可选): 是否覆盖具有相同公共 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"
}
});
推荐服务器
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
@kazuph/mcp-fetch
用于获取网页内容和处理图像的模型上下文协议服务器。这使得 Claude Desktop(或任何 MCP 客户端)能够适当地获取网页内容和处理图像。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
mcp-pinterest
用于图像搜索和信息检索的 Pinterest 模型上下文协议 (MCP) 服务器
DeepSRT MCP Server
一个 MCP 服务器,通过与 DeepSRT 的 API 集成,使用户能够以多种语言和格式生成 YouTube 视频的摘要。
ScreenshotOne MCP Server
一个官方的 MCP 服务器实现,它允许 AI 助手通过 ScreenshotOne API 捕获网站截图,从而在对话期间提供来自网页的视觉上下文。
Glif
通过 MCP 运行托管在 Glif.app 上的 AI 工作流程,包括基于 ComfyUI 的图像生成器、表情包生成器、自拍、链式 LLM 调用等等。
WebPerfect MCP Server
一个智能的MCP服务器,具有全自动化的批处理流水线,可用于生成适用于网络的图像。功能包括降噪、自动色阶/曲线、JPEG伪影去除、4K调整大小、智能锐化(带阴影/高光增强)以及高级WebP转换。
Stealth Browser MCP Server
使用 Playwright 提供隐身浏览器功能,采用反检测技术,使 MCP 客户端能够浏览网站并截取屏幕截图,同时规避常见的机器人检测系统。
Google Drive MCP Server
启用与 Google Drive 的集成,用于列出、读取和搜索文件,支持各种文件类型,并为 Google Workspace 文件提供自动导出功能。