purge_cache
Purge Cache
Purge the CDN cache for a specific asset URL, or check the status of a pending purge request. Use this when you need to invalidate a cached version of an asset after updating it.
Ask your agent in plain language. Each of these maps to a real tool on the server.
purge_cache
Purge the CDN cache for a specific asset URL, or check the status of a pending purge request. Use this when you need to invalidate a cached version of an asset after updating it.
upload_file
Upload a file to the ImageKit Media Library from a URL or Base64-encoded data. Supports setting tags, folder destination, custom metadata, privacy settings, and AI extensions during upload.
get_file_metadata
Retrieve available technical metadata for an image, audio, or video, including dimensions, format, EXIF data, duration, bitrate, and codecs. Lookup by file ID or ImageKit URL.
manage_folders
Create, delete, copy, or move folders in the ImageKit Media Library. Copy and move operations on folders are asynchronous and return a job ID that can be checked with the returned bulk job ID.
manage_custom_metadata_fields
Create, list, update, or delete custom metadata field definitions in the ImageKit Media Library. Custom metadata fields can be of types: Text, Textarea, Number, Date, Boolean, SingleSelect, MultiSelect.
manage_file_versions
List, get details, delete, or restore file versions. ImageKit maintains version history for files, allowing you to view previous versions and restore them.
manage_tags
Add or remove tags from one or more files in bulk. Supports adding custom tags, removing custom tags, and removing AI-generated tags.
get_file
Retrieve detailed information about a file including its metadata, tags, dimensions, URL, custom metadata, and version info.
delete_files
Delete one or more files from the ImageKit Media Library by their file IDs. Supports both single and bulk deletion. Note: deleting files does **not** automatically purge the CDN cache.
copy_move_file
Copy, move, or rename a file in the ImageKit Media Library. Use the **operation** field to choose the action. Copy and move use source file path and destination folder. Rename changes the file name and can optionally purge CDN cache.
update_file
Update a file's properties including tags, custom coordinates, custom metadata, publish status, and extensions. Only the provided fields will be updated.
list_files
Search and list files in the ImageKit Media Library. Supports powerful search queries using a Lucene-like syntax to filter by name, tags, file type, size, dimensions, creation date, custom metadata, and more.
get_bulk_job_status
Check the provider status of an asynchronous folder job. Pending jobs are still running; partial success requires inspecting the folder and cache state before retrying.
download_file
Download the original bytes of a published ImageKit file or an existing file version. Private assets use a short-lived signed download link.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Upload files from public URLs or Base64 data; search, inspect, update, copy, move, rename, delete, and manage file versions in the ImageKit Media Library. Manage tags, custom metadata definitions, folders, asynchronous folder jobs, technical file metadata, and CDN purge status. Download original published files or versions through short-lived signed links.
Common questions about connecting Imagekit to AI agents with Metorial.