• EDGE
  • STORAGE
  • HUMAN
  • LOGS

How to purge CDN cache assets with your AI

Connect imgix to your agent to manage edge cache invalidation through natural language. You stop manually hunting for URLs and just tell your AI what needs to be cleared.

Ask AI about this page

Short answer

How can I clear imgix cache using my AI?

Your agent uses the purge tool to invalidate specific image URLs or paths on the imgix edge. This ensures your updated assets show up instantly without waiting for TTL expiration. You get immediate cache clearing by simply naming the files or paths to your agent.

The outcomes.

What happens after a purge.

The results of your request.

EDGE

Instant invalidation

The purge tool clears the specified assets from the imgix edge. Your updated images become the new source of truth for all incoming requests.

STORAGE

Asset sync

The AI confirms the purge was successful. You can then verify that the new versions are being served from your origin storage.

HUMAN

Manual verification

You decide if a full path purge or a single URL purge is safer for your specific deployment. The AI follows your lead on how aggressive the clearing should be.

LOGS

Audit trail

The agent tracks which assets were cleared. You get a clear record of what was purged and when it happened.

The workflow

What your AI does when the request arrives.

The agent handles the technical handshake with imgix so you don't have to touch the API documentation.

  1. Identify assets

    Your agent looks at the file paths or URLs you provided to determine exactly what needs to be cleared from the CDN.

    purge
  2. Execute invalidation

    The agent sends the purge command to imgix to remove the stale versions of your images from the edge cache.

    purge
  3. Confirm status

    The agent checks the response from the imgix API to ensure the invalidation request was accepted.

    purge
  4. Report outcome

    Your agent tells you which specific images are now cleared and ready to serve the new versions.

    purge

Try it

Copy these to start.

Use these prompts to trigger a purge immediately.

Starting points

Swap out the placeholder paths for your actual imgix image URLs or directory paths.

imgix Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_W55yfp9ibLWPHyncLicE4V2hPBCZm8KS0MfsrLyA/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — imgix capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "imgix-real-time-image-processing-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_W55yfp9ibLWPHyncLicE4V2hPBCZm8KS0MfsrLyA/mcp"
    }
  }
}
Copy into chat04
  • Purge the cache for the image at https://assets.example.com/logo.png

  • Clear all cached assets in the /products/summer-collection/ folder

  • I just updated the hero banner; purge that specific image from imgix

  • Can you purge the cache for all images under the /user-uploads/ directory?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect imgix once, then ask.

Link your imgix account to Vinkius in one step. Your credentials stay encrypted and your agent gets immediate access to the purge tool.

Connect imgix to your AI

FAQ

How this task behaves.

  • 01

    Will purging the cache delete my original images?

    No. The purge tool only removes the cached copies from the imgix edge. Your original files in your storage remain untouched.

  • 02

    Can the AI upload new images to imgix?

    No. This MCP only provides the ability to purge the cache. You must upload your new files to your storage provider first.

  • 03

    How long does it take for the new images to appear?

    The purge happens almost instantly, but the time it takes for the new version to propagate depends on the global CDN network.

  • 04

    Can I purge my entire imgix library at once?

    The AI can purge by path. If you want to clear everything, you can tell the agent to purge the root directory path.

  • 05

    Does the AI handle the image resizing too?

    No. The agent only manages the cache invalidation. Image transformations are handled by imgix based on the URL parameters you use.

  • More questions about imgix? See everything the imgix Connector can do

Connect imgix to Claude, Cursor, ChatGPT & more