Model Context Protocol (MCP)v0.4.4
AI Assistant & MCP Setup
Connect Cloudizero directly to your AI agents (Claude Desktop, Cursor, Antigravity, Windsurf) to automate asset ingestion, folder structuring, and zero-egress delivery workflows.
Zero-Install Stdio Execution
Cloudizero MCP is distributed as a zero-overhead Node executable via
npx @cloudizero/mcp. Your AI client launches it as a background stdio worker without needing manual cloning or builds.Choosing the Right API Key Scope
When creating an API key in Settings > API Keys, choose the scope according to your AI agent's role:
All Projects (Global Access)
Best for: General Account Orchestration & Initial Setup.
- Can create new projects (
cloudizero_create_project) - Can list and explore all projects in your account
- Full media upload and folder management across projects
Select Specific Projects (Scoped)
Best for: App Repos & Production Environments (Least Privilege).
- Sandboxed strictly to the selected project(s)
- Blocks project creation attempts with a descriptive
403error - Prevents AI from viewing or altering unrelated client assets
Client Configurations
1. Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
json
{
"mcpServers": {
"cloudizero": {
"command": "npx",
"args": ["-y", "@cloudizero/mcp"],
"env": {
"CLOUDIZERO_API_KEY": "cz_live_your_actual_api_key_here"
}
}
}
}2. Cursor IDE
Add to .cursor/mcp.json in your project root or Cursor settings:
json
{
"mcpServers": {
"cloudizero": {
"command": "npx",
"args": ["-y", "@cloudizero/mcp"],
"env": {
"CLOUDIZERO_API_KEY": "cz_live_your_actual_api_key_here"
}
}
}
}3. Google Antigravity / Gemini CLI
Add to your global or project mcp.json:
json
{
"mcpServers": {
"cloudizero": {
"command": "npx",
"args": ["-y", "@cloudizero/mcp"],
"env": {
"CLOUDIZERO_API_KEY": "cz_live_your_actual_api_key_here"
}
}
}
}Available MCP Tools
Tools registered with the Model Context Protocol that AI models can execute:
| Tool Name | Description | Parameters |
|---|---|---|
| cloudizero_list_projects | Lists all projects accessible by the configured API key, optionally filtered by workspace ID. | workspaceId (optional string) |
| cloudizero_create_project | Creates a new project. Requires API key with All Projects (Global) Access. | name (string), description (optional string), workspaceId (optional string) |
| cloudizero_update_project | Updates an existing project's name or description. | projectId (string), name (optional string), description (optional string) |
| cloudizero_delete_project | Permanently deletes a project, including all associated folders and files. | projectId (string) |
| cloudizero_reorder_projects | Updates the display sort order of projects using an ordered array of project IDs. | projectIds (string[]) |
| cloudizero_list_contents | Explores folders and files within a project or folder. | projectId (string), folderId (optional string) |
| cloudizero_list_folders | Lists virtual folders inside a project, optionally filtered by parent folder ID. | projectId (string), parentId (optional string) |
| cloudizero_create_folder | Creates virtual folders for categorizing media assets. | projectId (string), name (string), parentId (optional string) |
| cloudizero_update_folder | Renames or moves a folder, updating object paths for all nested files. | folderId (string), name (optional string), parentId (optional string) |
| cloudizero_delete_folder | Permanently deletes a folder and recursively deletes all nested subfolders and files. | folderId (string) |
| cloudizero_get_folder | Gets detailed virtual folder metadata and cumulative storage statistics (total file size and file count). | folderId (string) |
| cloudizero_upload_local_file | Uploads a local file from the developer machine to Cloudizero zero-egress storage with optional WebP optimization. | filePath (string), projectId (string), folderId (optional), fileName (optional), mimeType (optional), autoExtract (optional boolean), optimize (optional 'webp' | boolean) |
| cloudizero_create_presigned_upload | Generates a secure signed PUT URL for direct-to-storage client browser/mobile uploads without server egress bottlenecks. | projectId (string), fileName (string), fileSize (number), mimeType (optional string), folderId (optional string), cacheControl (optional string), optimize (optional 'webp' | boolean) |
| cloudizero_complete_upload | Finalizes a direct client-side upload by verifying asset existence in the storage engine and recording catalog metadata. | storageKey (string), fileId (optional string), projectId (optional string), fileName (optional string), fileSize (optional number), mimeType (optional string), folderId (optional string), autoExtract (optional boolean), optimize (optional 'webp' | boolean) |
| cloudizero_get_file | Gets file metadata and presigned download URL. | fileId (string) |
| cloudizero_update_file | Updates file metadata (renames file, moves to another folder, toggles trash status, or sets alt-text). | fileId (string), name (optional string), folderId (optional string), isTrash (optional boolean), altText (optional string) |
| cloudizero_replace_local_file | Replaces an existing file's binary content in storage with a local file while maintaining the same fileId. | fileId (string), filePath (string), fileName (optional string), mimeType (optional string) |
| cloudizero_delete_file | Permanently deletes a file from storage and database. | fileId (string) |
| cloudizero_batch_delete | Permanently deletes multiple files and folders in a single batch operation, including all nested assets within targeted folder subtrees. | projectId (string), fileIds (optional string[]), folderIds (optional string[]) |
| cloudizero_get_file_pages | Retrieves extracted page images, dimensions, thumbnail URL, and document chapters for multi-page documents (e.g. PDF). | fileId (string) |
| cloudizero_extract_pdf | Dispatches asynchronous PDF page extraction and thumbnail generation for a PDF document. | fileId (string) |
| cloudizero_search_files | Performs hybrid multimodal semantic and keyword search across assets in a project using natural language queries. | projectId (string), query (string) |
| cloudizero_ai_describe_image | Generates accessible WCAG alt-text, SEO tags, visual description, dominant colors, and vector embeddings using multimodal AI. | fileId (string), locale (optional 'en' | 'id'), force (optional boolean) |
| cloudizero_get_cdn_url | Generates an authoritative, clean public CDN distribution URL for an asset storage key, with optional edge image transformations (width, height, quality, format, fit). | storageKey (string), width (optional number), height (optional number), quality (optional number), format (optional 'auto' | 'webp' | 'avif' | 'json'), fit (optional 'scale-down' | 'contain' | 'cover' | 'crop' | 'pad') |
| cloudizero_get_account_quota | Retrieves account profile, subscription plan tier, and real-time storage quota usage (bytes used, remaining storage, project and file counts). | None |
Environment Variables
| Property | Type | Default | Description |
|---|---|---|---|
| CLOUDIZERO_API_KEY*required | string | — | Secret API key starting with cz_live_... generated from Cloudizero Dashboard. |
| CLOUDIZERO_BASE_URL | string | https://api.cloudizero.com | Base API URL of your Cloudizero deployment. |
| CLOUDIZERO_CDN_URL | string | https://cdn.cloudizero.com | Custom public CDN domain for media delivery. |