Cloud · MODEL CONTEXT PROTOCOL
cloudinary-mcp-server
MCP (Model Context Protocol) server for uploading media to Cloudinary using Claude Desktop
连接能力
cloudinary-mcp-server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
This MCP server provides tools for uploading images and videos to Cloudinary through Claude Desktop and compatible MCP clients.
- Install Node.js (version 18 or higher) and npm from nodejs.org
- Verify installation:
node --version npm --version
-
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
- Windows:
-
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"
}
}
}
}- 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:
- Clone the repository:
git clone https://github.com/felores/cloudinary-mcp-server.git
cd cloudinary-mcp-server- Install dependencies and build:
npm install
npm run build-
First, ensure you have a Cloudinary account and get your credentials from the Cloudinary Console:
- Cloud Name
- API Key
- API Secret
-
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.
- Install dependencies and build the server:
npm install
npm run buildUpload images and videos to Cloudinary.
Parameters:
file(required): Path to file, URL, or base64 data URI to uploadresource_type(optional): Type of resource ('image', 'video', or 'raw')public_id(optional): Custom public ID for the uploaded assetoverwrite(optional): Whether to overwrite existing assets with the same public IDtags(optional): Array of tags to assign to the uploaded asset
Example usage in 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"
}
});社区