{"id":46442297,"url":"https://github.com/cloudinary/asset-management-mcp","last_synced_at":"2026-03-05T22:04:35.337Z","repository":{"id":324902207,"uuid":"1098656793","full_name":"cloudinary/asset-management-mcp","owner":"cloudinary","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-26T00:06:35.000Z","size":678,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-26T04:20:19.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudinary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T01:18:25.000Z","updated_at":"2026-02-16T12:14:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cloudinary/asset-management-mcp","commit_stats":null,"previous_names":["cloudinary/asset-management-mcp"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/cloudinary/asset-management-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary%2Fasset-management-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary%2Fasset-management-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary%2Fasset-management-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary%2Fasset-management-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudinary","download_url":"https://codeload.github.com/cloudinary/asset-management-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary%2Fasset-management-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-05T22:04:34.658Z","updated_at":"2026-03-05T22:04:35.323Z","avatar_url":"https://github.com/cloudinary.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudinary Asset Management MCP Server\n\n\u003c!-- Start Summary [summary] --\u003e\n## Summary\n\n\n\u003c!-- End Summary [summary] --\u003e\n\n\u003c!-- Start Table of Contents [toc] --\u003e\n## Table of Contents\n\u003c!-- $toc-max-depth=2 --\u003e\n* [Cloudinary Asset Management MCP Server](#cloudinary-asset-management-mcp-server)\n  * [Installation](#installation)\n  * [Configuration](#configuration)\n  * [Authentication](#authentication)\n  * [Available Tools](#available-tools)\n  * [Custom Tools](#custom-tools)\n* [Development](#development)\n  * [Building from Source](#building-from-source)\n  * [Contributions](#contributions)\n\n\u003c!-- End Table of Contents [toc] --\u003e\n\n\u003c!-- Start Installation [installation] --\u003e\n## Installation\n\n\u003cdetails\u003e\n\u003csummary\u003eClaude Desktop\u003c/summary\u003e\n\nInstall the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/cloudinary/asset-management-mcp/releases/download/v0.7.0/mcp-server.mcpb) file:\n\nSimply drag and drop the [`mcp-server.mcpb`](https://github.com/cloudinary/asset-management-mcp/releases/download/v0.7.0/mcp-server.mcpb) file onto Claude Desktop to install the extension.\n\nThe MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.\n\n\u003e [!NOTE]\n\u003e MCP bundles provide a streamlined way to package and distribute MCP servers. Learn more about [Desktop Extensions](https://www.anthropic.com/engineering/desktop-extensions).\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eCursor\u003c/summary\u003e\n\n[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=CloudinaryAssetMgmt\u0026config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAY2xvdWRpbmFyeS9hc3NldC1tYW5hZ2VtZW50LW1jcCIsInN0YXJ0IiwiLS1hcGkta2V5IiwiIiwiLS1hcGktc2VjcmV0IiwiIiwiLS1jbG91ZC1uYW1lIiwiIl19)\n\nOr manually:\n\n1. Open Cursor Settings\n2. Select Tools and Integrations\n3. Select New MCP Server\n4. If the configuration file is empty paste the following JSON into the MCP Server Configuration:\n\n```json\n{\n  \"command\": \"npx\",\n  \"args\": [\n    \"@cloudinary/asset-management-mcp\",\n    \"start\",\n    \"--api-key\",\n    \"\",\n    \"--api-secret\",\n    \"\",\n    \"--cloud-name\",\n    \"\"\n  ]\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eClaude Code CLI\u003c/summary\u003e\n\n```bash\nclaude mcp add CloudinaryAssetMgmt -- npx -y @cloudinary/asset-management-mcp start --api-key  --api-secret  --cloud-name \n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eGemini\u003c/summary\u003e\n\n```bash\ngemini mcp add CloudinaryAssetMgmt -- npx -y @cloudinary/asset-management-mcp start --api-key  --api-secret  --cloud-name \n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eWindsurf\u003c/summary\u003e\n\nRefer to [Official Windsurf documentation](https://docs.windsurf.com/windsurf/cascade/mcp#adding-a-new-mcp-plugin) for latest information\n\n1. Open Windsurf Settings\n2. Select Cascade on left side menu\n3. Click on `Manage MCPs`. (To Manage MCPs you should be signed in with a Windsurf Account)\n4. Click on `View raw config` to open up the mcp configuration file.\n5. If the configuration file is empty paste the full json\n\n```bash\n{\n  \"command\": \"npx\",\n  \"args\": [\n    \"@cloudinary/asset-management-mcp\",\n    \"start\",\n    \"--api-key\",\n    \"\",\n    \"--api-secret\",\n    \"\",\n    \"--cloud-name\",\n    \"\"\n  ]\n}\n```\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eVS Code\u003c/summary\u003e\n\n[![Install in VS Code](https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square\u0026label=Install%20CloudinaryAssetMgmt%20MCP\u0026color=0098FF)](vscode://ms-vscode.vscode-mcp/install?name=CloudinaryAssetMgmt\u0026config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAY2xvdWRpbmFyeS9hc3NldC1tYW5hZ2VtZW50LW1jcCIsInN0YXJ0IiwiLS1hcGkta2V5IiwiIiwiLS1hcGktc2VjcmV0IiwiIiwiLS1jbG91ZC1uYW1lIiwiIl19)\n\nOr manually:\n\nRefer to [Official VS Code documentation](https://code.visualstudio.com/api/extension-guides/ai/mcp) for latest information\n\n1. Open [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette)\n1. Search and open `MCP: Open User Configuration`. This should open mcp.json file\n2. If the configuration file is empty paste the full json\n\n```bash\n{\n  \"command\": \"npx\",\n  \"args\": [\n    \"@cloudinary/asset-management-mcp\",\n    \"start\",\n    \"--api-key\",\n    \"\",\n    \"--api-secret\",\n    \"\",\n    \"--cloud-name\",\n    \"\"\n  ]\n}\n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003e Stdio installation via npm \u003c/summary\u003e\nTo start the MCP server, run:\n\n```bash\nnpx @cloudinary/asset-management-mcp start --api-key  --api-secret  --cloud-name \n```\n\nFor a full list of server arguments, run:\n\n```\nnpx @cloudinary/asset-management-mcp --help\n```\n\n\u003c/details\u003e\n\u003c!-- End Installation [installation] --\u003e\n\n## Configuration\n\n### Environment Variables\n\nThe MCP server supports the following environment variables:\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `CLOUDINARY_CLOUD_NAME` | Your Cloudinary cloud name | Yes |\n| `CLOUDINARY_API_KEY` | Your Cloudinary API key | Yes |\n| `CLOUDINARY_API_SECRET` | Your Cloudinary API secret | Yes |\n| `CLOUDINARY_URL` | Complete Cloudinary URL (alternative to individual vars) | No |\n| `CLOUDINARY_COLLECT_HEADERS` | Collect API response headers (see below) | No |\n\n### CLOUDINARY_URL Format\n\nYou can use a single `CLOUDINARY_URL` instead of individual variables:\n\n```bash\nCLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME\n```\n\n### Response Header Collection\n\nYou can configure the server to include Cloudinary API response headers (such as `x-request-id` and rate limit info) in tool output. This is useful for debugging and monitoring.\n\nSet `CLOUDINARY_COLLECT_HEADERS` to control which headers are collected:\n\n```bash\n# Collect all response headers\nCLOUDINARY_COLLECT_HEADERS=true\n\n# Collect specific headers by exact name (comma-separated)\nCLOUDINARY_COLLECT_HEADERS=x-request-id,x-featureratelimit-limit,x-featureratelimit-remaining\n\n# Mix exact names, prefix matching, and regex matching\nCLOUDINARY_COLLECT_HEADERS=x-request-id,prefix:x-featureratelimit-\n```\n\n#### Header matching specs\n\nEach entry in the comma-separated list is matched against response header names:\n\n| Format | Example | Behaviour |\n|--------|---------|-----------|\n| exact name | `x-request-id` | matches only `x-request-id` |\n| `prefix:\u003cvalue\u003e` | `prefix:x-featureratelimit-` | matches any header starting with `x-featureratelimit-` |\n| `regex:\u003cpattern\u003e` | `regex:ratelimit` | matches any header whose name contains `ratelimit` |\n\nYou can also set this via the `CLOUDINARY_URL` query parameter:\n\n```bash\nCLOUDINARY_URL=cloudinary://API_KEY:API_SECRET@CLOUD_NAME?collect_headers=true\n```\n\nWhen enabled, collected headers appear in an `_headers` field in the tool response. When not set, no headers are collected and responses are unchanged.\n\n\u003c!-- Start Authentication [security] --\u003e\n\n## Authentication\n\nThe MCP server uses your Cloudinary API key and secret for authentication:\n\n```json\n{\n  \"env\": {\n    \"CLOUDINARY_CLOUD_NAME\": \"demo\",\n    \"CLOUDINARY_API_KEY\": \"123456789012345\",\n    \"CLOUDINARY_API_SECRET\": \"abcdefghijklmnopqrstuvwxyz12\"\n  }\n}\n```\n\n\u003c!-- End Authentication [security] --\u003e\n\n## Available Tools\n\nThe MCP server exposes Cloudinary's Asset Management API as tools. Use your AI application to discover and invoke the available tools for uploading, managing, searching, and transforming your media assets.\n\n### Usage Examples\n\n#### Example 1: Upload and Transform an Image\n\n```yaml\n1. Upload a local image: \"Upload file:///Users/me/photo.jpg to Cloudinary as 'hero-image'\"\n2. Transform it: \"Transform asset 'hero-image' with transformations 'c_fill,w_800,h_600/e_sharpen'\"\n3. Get details: \"Show me details for asset with ID [asset-id]\"\n```\n\n#### Example 2: Search and Organize Assets\n\n```yaml\n1. Search for images: \"Find all images with tag 'product' uploaded in the last 7 days\"\n2. Create folder: \"Create a new folder called 'summer-2024-products'\"\n3. List assets: \"Show me all video assets in the 'marketing' folder\"\n```\n\n#### Example 3: Generate Archive\n\n```yaml\n1. Get transformation docs: \"Show me the Cloudinary transformation reference\"\n2. Apply transformations: \"Transform 'banner' asset with 'c_scale,w_1200/f_auto,q_auto'\"\n3. Create archive: \"Generate a ZIP archive of all images with tag 'export-ready'\"\n```\n\n#### Example 4: Asset Management Workflow\n\n```yaml\n1. Upload multiple files: \"Upload all images from folder /assets/new-products/\"\n2. Add tags: \"Update asset [asset-id] and add tags 'featured,homepage'\"\n3. Get usage stats: \"Show my Cloudinary account usage statistics\"\n```\n\n## Custom Tools\n\nThis MCP server includes two powerful custom tools:\n\n### `get-tx-reference`\n\nRetrieves the complete Cloudinary transformation reference documentation.\n\n**When to use:**\n\n- Before creating or modifying transformations\n- When user asks about image/video effects, resizing, cropping, filters\n\n**Example:**\n\n```sh\nUse get-tx-reference to learn about available transformations\n```\n\n### `transform-asset`\n\nApplies transformations to existing assets using Cloudinary's explicit API.\n\n**Parameters:**\n\n- `publicId` - The asset's public ID\n- `transformations` - Transformation string (e.g., `c_fill,w_300,h_200`)\n- `resourceType` - Type: `image`, `video`, or `raw` (default: `image`)\n- `invalidate` - Invalidate CDN cache (default: `false`)\n\n**Example:**\n\n```sh\nTransform asset \"sample\" with transformations \"c_fill,w_500,h_500/e_sepia\"\n```\n\n# Development\n\n## Building from Source\n\n### Prerequisites\n\n- Node.js v20 or higher\n- npm, pnpm, bun, or yarn\n\n### Build Steps\n\n```bash\n# Clone the repository\ngit clone https://github.com/cloudinary/asset-management-mcp.git\ncd asset-management-mcp\n\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Run locally\nnpm start\n```\n\n### Project Structure\n\n```ini\nasset-management-mcp/\n├── src/\n│   ├── hooks/              # SDK hooks (manual)\n│   │   ├── cloudinaryAuthHook.ts   # Auth \u0026 file:// handling\n│   │   ├── customHeadersHook.ts    # Inject custom request headers\n│   │   ├── responseHeadersHook.ts  # Collect response headers\n│   │   ├── userAgentHook.ts        # Build User-Agent string\n│   │   └── registration.ts         # Hook registration\n│   ├── mcp-server/         # MCP server implementation\n│   │   ├── server.ts       # Main server (auto-generated)\n│   │   ├── server.extensions.ts  # Custom tools (manual)\n│   │   └── tools/          # Generated tool wrappers\n│   ├── funcs/              # API function implementations\n│   └── models/             # Type definitions\n├── .github/\n│   └── workflows/          # CI/CD workflows\n└── .speakeasy/             # Speakeasy configuration\n```\n\n## Contributions\n\nWhile we value contributions to this MCP Server, the code is generated programmatically. Any manual changes to generated files will be overwritten on the next generation.\n\n**What you can contribute:**\n\n- ✅ Custom tools in `server.extensions.ts`\n- ✅ Custom hooks in `src/hooks/`\n- ✅ Documentation improvements\n- ✅ Bug reports and feature requests\n\n**Generated files (do not edit):**\n\n- ❌ `src/mcp-server/server.ts`\n- ❌ `src/mcp-server/tools/*.ts`\n- ❌ `src/funcs/*.ts`\n- ❌ `src/models/*.ts`\n\nWe look forward to hearing your feedback. Feel free to open a PR or issue with a proof of concept and we'll do our best to include it in a future release.\n\n---\n\n### MCP Server Created by [Speakeasy](https://www.speakeasy.com/?utm_source=asset-management-mcp\u0026utm_campaign=mcp-typescript)\n\n\u003c!-- Placeholder for Future Speakeasy SDK Sections --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudinary%2Fasset-management-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudinary%2Fasset-management-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudinary%2Fasset-management-mcp/lists"}