# ImageKit MCP for AI Agents AI Agent Connect

> ImageKit (Media Optimization & DAM) MCP lets you manage your entire visual asset library through your AI client. It handles everything from listing files and auditing EXIF data to purging CDN caches and updating custom metadata tags. Stop jumping between the ImageKit dashboard and your code and start managing your assets with natural conversation.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_xLmCaWtIJXDHMEk4bfe6mT4U6OscJwivLw7UQcr1/ai-agent-connect
- **Tags:** media-optimization, cdn, image-processing, asset-management, real-time-transformation

## Description

This Connector lets you manage your ImageKit assets through a conversation. Instead of hunting through a complex dashboard to find a specific file or copy-pasting URLs into a separate cache clearing tool, you can just tell your AI agent what you need. You can list every file in your vault, check technical details like focal length or ISO, and clear the cache for specific images instantly. It handles the heavy lifting of updating tags across your whole library or cleaning out old files to save on storage costs. You can even build out your own custom data structure to keep your assets organized exactly how your business needs them. It's one of the high-quality connections you'll find in the Vinkius catalog, designed to take the manual clicking out of media management so you can focus on your actual work. Imagine you're in the middle of a launch and need to update the tags on hundreds of product shots. Instead of a tedious manual process, you just give your agent a single command. It handles the batch update across your entire vault while you stay focused on the launch. This shifts your workflow from repetitive data entry to high-level oversight, giving you a way to keep your digital assets clean, organized, and up to date without the usual friction of manual management.

## Tools

### purge_cdn_cache
Clear the cache for specific URLs across the global Edge CDN. This ensures that your users see the most recent content delivery.

### patch_file_details
Update the metadata or tags for an existing asset. This allows you to change specific data points for individual files.

### create_custom_schema
Create new custom metadata fields to define how your assets are organized. This helps you map business variables to your visual content.

### wipe_batch_assets
Delete multiple assets at once to clear out your storage. This is the fastest way to perform a bulk cleanup of your library.

### wipe_media_asset
Permanently remove a specific file from your ImageKit vault. Use this when you need to delete a single asset immediately.

### get_purge_status
Check if your CDN cache invalidation request has finished. This lets you monitor the status of your active clear layers.

### list_custom_fields
See all the custom metadata fields you've already created. This allows you to view the properties driving your active extensibility.

### list_media_files
See a list of all the visual assets currently in your vault. This helps you identify the bounded routing spaces inside your vault.

### get_file_details
Get specific information and logs for a single file ID. This helps you trace specific payload IDs within your vault.

### get_exif_metadata
Pull technical photo data like ISO and focal length for an image. You can use this to verify file attributes and quality.

## Prompt Examples

**Prompt:** 
```
List the last 10 images uploaded to my ImageKit vault
```

**Response:** 
```
I've pulled the 10 most recent assets for you. Here they are:

| Asset Name | File ID | Upload Date |
| :--- | :--- | :--- |
| banner_hero.jpg | file_992 | 2026-07-01 |
| product_01.webp | file_991 | 2026-07-01 |
| logo_final.png | file_990 | 2026-06-30 |

Would you like to see the metadata for any of these?
```

**Prompt:** 
```
Purge the cache for this URL: https://ik.imagekit.io/myproject/header.jpg
```

**Response:** 
```
Cache purge request sent successfully. 

**Request ID:** `pur_98765` 

The Edge CDN nodes will be invalidated shortly. I can check the status for you in a few minutes if you'd like.
```

**Prompt:** 
```
Show me the focal length and dimensions for file ID 'file_12345'
```

**Response:** 
```
Here are the specs for that file:

* **Dimensions:** 4032x3024
* **Focal Length:** 26mm
* **ISO:** 100
* **Aperture:** f/1.8

It looks like a high-quality mobile shot. Should I add a tag to this?
```

## Capabilities

### List every visual asset in your vault
Get a complete view of your uploaded images and files in one go.

### Clear specific URLs from the Edge CDN
Purge stale content from the global cache to ensure users see the latest version.

### Extract technical image properties
Pull data like dimensions, ISO, and focal length directly into your chat.

### Update asset tags in bulk
Apply new metadata or labels to many files at once without manual editing.

### Delete specific files or batch removals
Clean up your storage by removing individual assets or large groups of files.

### Create new custom metadata fields
Build a custom data structure to organize your assets by business variables.

## Use Cases

### Fixing stale logo assets
A developer updates a logo but the old version persists. They ask the agent to purge the cache for the specific URL using purge_cdn_cache.

### Auditing photo quality
A content lead needs to find all images with a specific ISO. They use get_exif_metadata to scan the library for technical specs.

### Cleaning up legacy projects
An admin needs to remove hundreds of old files from a finished project. They use wipe_batch_assets to remove them in one go.

### Standardizing SEO tags
A marketer wants to add a brand category to all assets. They use create_custom_schema to add the field and patch_file_details to fill it.

## Benefits

- Stop manually clicking through the ImageKit dashboard to find specific files using list_media_files.
- Fix stale content instantly by purging specific URLs from the Edge CDN with purge_cdn_cache.
- Keep your data organized by updating tags and metadata in bulk using patch_file_details.
- Audit your visual assets for quality and specs using get_exif_metadata.
- Save on storage costs by identifying and removing old assets with wipe_batch_assets.
- Build a custom data structure for your assets by creating new fields with create_custom_schema.

## How It Works

The bottom line is you get direct, conversational control over your ImageKit media library without leaving your workspace.

1. Subscribe to the Connector and provide your ImageKit Private Key.
2. Connect the Connector to your preferred AI client like Claude or Cursor.
3. Ask your agent to perform tasks like purging cache or listing your vault assets.

## Frequently Asked Questions

**Can the ImageKit MCP help me manage my CDN cache?**
Yes, it lets you purge specific URLs from the global Edge CDN through natural conversation. This ensures your users see the most recent content without you having to manually clear it in a dashboard.

**How do I use ImageKit MCP to audit my image metadata?**
You can ask your agent to pull technical data like ISO, focal length, and dimensions for any file. This helps you verify file attributes and quality across your entire media library.

**Can I use ImageKit MCP to delete multiple files at once?**
Yes, you can perform batch removals to clean out your storage. This is much faster than deleting assets one by one in the dashboard.

**Does the ImageKit MCP support custom metadata?**
It does. You can create new custom fields to organize your assets by business variables and then update those fields in bulk or individually.

**How does ImageKit MCP help with SEO?**
It helps you keep your visual assets organized by updating tags and custom metadata fields across your library. This makes it much easier to manage searchability for your content.

**Can I check the status of a cache purge with ImageKit MCP?**
Yes, you can ask your agent to identify the status of active cache clear layers. This lets you know exactly when your content has been updated across the CDN.

**Can I purge the CDN cache for a specific image using my agent?**
Yes. Use the `purge_cdn_cache` tool by providing the fully qualified delivery URL. Your agent will trigger the invalidation at the global Edge nodes and return a Request ID that you can use to track the status.

**How do I see technical EXIF data for an uploaded file?**
The `get_exif_metadata` tool allows your agent to extract raw structural matching from an image, exposing technical details like focal length, ISO, and camera settings directly in your conversation.

**Can I update tags for multiple images at once?**
While the `patch_file_details` tool focuses on individual files, your agent can process multiple files sequentially through natural language commands, making it easy to overwrite tags across your media vault.