Cloud-based image and video management
## Cloudinary MCP Server: Intelligent Media Management The **Cloudinary MCP Server** integrates the leading cloud-based media management platform directly into Google Antigravity, enabling AI assistants to upload, transform, optimize, and deliver images and videos programmatically. This integration brings powerful media processing capabilities to your development workflow. ### Why Cloudinary MCP? - **Media Transformation**: Apply real-time transformations including resize, crop, filters, and format conversion - **AI-Powered Features**: Automatic content-aware cropping, background removal, and object detection - **Global CDN**: Deliver optimized media through a worldwide content delivery network with edge caching - **Format Optimization**: Automatically serve the best format (WebP, AVIF, HEIC) based on browser support - **DAM Features**: Organize assets with folders, tags, metadata, and advanced search capabilities ### Key Features #### 1. Media Upload and Transform ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Upload this image, resize to 800x600, apply auto-enhancement, and convert to WebP" }], tools=[{ "name": "cloudinary_transform", "description": "Upload and transform media" }] ) ``` #### 2. AI-Powered Processing ```python # Apply AI transformations response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Remove the background from this product image and add a soft shadow" }], tools=[{"name": "cloudinary_ai", "description": "AI-powered media processing"}] ) ``` #### 3. Asset Management ```python # Manage media library response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Organize all product images into folders by category and add relevant tags" }], tools=[{"name": "cloudinary_manage", "description": "Manage media assets"}] ) ``` #### 4. Video Processing ```python # Process video content response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Transcode this video to multiple resolutions and generate adaptive streaming manifests" }], tools=[{"name": "cloudinary_video", "description": "Process video content"}] ) ``` ### Configuration ```json { "mcpServers": { "cloudinary": { "command": "npx", "args": ["-y", "@anthropic/mcp-cloudinary"], "env": { "CLOUDINARY_CLOUD_NAME": "your-cloud-name", "CLOUDINARY_API_KEY": "your-api-key", "CLOUDINARY_API_SECRET": "your-api-secret" } } } } ``` ### Use Cases **E-commerce Images**: Automatically optimize product images with background removal, resizing, and format conversion. **User-Generated Content**: Process uploaded images with moderation, transformation, and optimization pipelines. **Responsive Images**: Generate srcset images and art-directed crops for responsive web design. **Social Media Assets**: Create properly sized images for each social platform from a single source asset. The Cloudinary MCP Server brings intelligent media management directly into your development workflow, enabling sophisticated image and video processing at scale.
{
"mcpServers": {
"cloudinary": {
"mcpServers": {
"cloudinary": {
"env": {
"CLOUDINARY_API_KEY": "your-api-key",
"CLOUDINARY_API_SECRET": "your-api-secret",
"CLOUDINARY_CLOUD_NAME": "your-cloud-name"
},
"args": [
"-y",
"cloudinary-mcp-server"
],
"command": "npx"
}
}
}
}
}