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 403 error
  • 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 NameDescriptionParameters
cloudizero_list_projectsLists all projects accessible by the configured API key, optionally filtered by workspace ID.workspaceId (optional string)
cloudizero_create_projectCreates a new project. Requires API key with All Projects (Global) Access.name (string), description (optional string), workspaceId (optional string)
cloudizero_update_projectUpdates an existing project's name or description.projectId (string), name (optional string), description (optional string)
cloudizero_delete_projectPermanently deletes a project, including all associated folders and files.projectId (string)
cloudizero_reorder_projectsUpdates the display sort order of projects using an ordered array of project IDs.projectIds (string[])
cloudizero_list_contentsExplores folders and files within a project or folder.projectId (string), folderId (optional string)
cloudizero_list_foldersLists virtual folders inside a project, optionally filtered by parent folder ID.projectId (string), parentId (optional string)
cloudizero_create_folderCreates virtual folders for categorizing media assets.projectId (string), name (string), parentId (optional string)
cloudizero_update_folderRenames or moves a folder, updating object paths for all nested files.folderId (string), name (optional string), parentId (optional string)
cloudizero_delete_folderPermanently deletes a folder and recursively deletes all nested subfolders and files.folderId (string)
cloudizero_get_folderGets detailed virtual folder metadata and cumulative storage statistics (total file size and file count).folderId (string)
cloudizero_upload_local_fileUploads 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_uploadGenerates 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_uploadFinalizes 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_fileGets file metadata and presigned download URL.fileId (string)
cloudizero_update_fileUpdates 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_fileReplaces 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_filePermanently deletes a file from storage and database.fileId (string)
cloudizero_batch_deletePermanently 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_pagesRetrieves extracted page images, dimensions, thumbnail URL, and document chapters for multi-page documents (e.g. PDF).fileId (string)
cloudizero_extract_pdfDispatches asynchronous PDF page extraction and thumbnail generation for a PDF document.fileId (string)
cloudizero_search_filesPerforms hybrid multimodal semantic and keyword search across assets in a project using natural language queries.projectId (string), query (string)
cloudizero_ai_describe_imageGenerates 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_urlGenerates 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_quotaRetrieves account profile, subscription plan tier, and real-time storage quota usage (bytes used, remaining storage, project and file counts).None

Environment Variables

PropertyTypeDefaultDescription
CLOUDIZERO_API_KEY*requiredstring—Secret API key starting with cz_live_... generated from Cloudizero Dashboard.
CLOUDIZERO_BASE_URLstringhttps://api.cloudizero.comBase API URL of your Cloudizero deployment.
CLOUDIZERO_CDN_URLstringhttps://cdn.cloudizero.comCustom public CDN domain for media delivery.