Model Context Protocol (MCP)
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 (Full Workspace Access)
Best for: General Workspace 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. | None |
| cloudizero_create_project | Creates a new project. Requires API key with Full Workspace Access. | name (string), description (optional string) |
| cloudizero_list_contents | Explores folders and files within a project or folder. | projectId (string), folderId (optional string) |
| cloudizero_create_folder | Creates virtual folders for categorizing media assets. | projectId (string), name (string), parentId (optional string) |
| cloudizero_upload_local_file | Uploads a local file from the developer machine to Cloudflare R2 zero-egress storage. | filePath (string), projectId (string), folderId (optional), fileName (optional), mimeType (optional) |
| cloudizero_get_file | Gets file metadata and presigned download URL. | fileId (string) |
| cloudizero_delete_file | Permanently deletes a file from Cloudflare R2 and Neon DB. | fileId (string) |
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.wismannur.pro | Base API URL of your Cloudizero deployment. |
| CLOUDIZERO_CDN_URL | string | https://cdn-cloudizero.wismannur.pro | Custom public CDN domain for Cloudflare R2 media delivery. |