Skip to content

Cursor

Image CDN for Cursor

Drop a rule in .cursor/rules/ and Cursor reaches for AuraImage every time it writes an <img>.

$0 forever 20 GB bandwidth 3 GB storage hard stop at quota — never a surprise bill. Compare plans

Add AuraImage to Cursor

Cursor documents ${env:NAME} as the form for this field; the bare ${NAME} is not documented as supported here, so keep the env: prefix. .cursor/mcp.json sits in the project for project-specific tools; ~/.cursor/mcp.json sits in your home directory for tools available everywhere.

.cursor/mcp.json
{
  "mcpServers": {
    "auraimage": {
      "command": "npx",
      "args": ["-y", "@auraimage/mcp-server@latest"],
      "env": {
        "AURA_SECRET_KEY": "${env:AURA_SECRET_KEY}"
      }
    }
  }
}

Verified against the vendor docs on 2026-08-09.

Optimize images with Cursor

Each prompt is paired with the MCP tool it fires.

  • @app — which images in this folder are costing me LCP?audit_lcp
  • Move every asset this file imports to AuraImage and rewrite the import paths.migrate_assets
  • Add alt text to every <img> in the open file.generate_alt
  • Turn the selected <img> into a responsive srcset.generate_responsive_tag
  • Preview @public/product-shot.png at 16:9 for the grid.smart_crop_preview

Prompt

Move every asset this file imports to AuraImage and rewrite the import paths.migrate_assets

Before

tsx
<img src="/hero.jpg" alt="" />

After Cursor edits it

tsx
<AuraImage
  src='my-app/hero'
  alt='Golden Gate Bridge at sunset'
  width={1200}
  height={800}
/>

A Cloudinary alternative your agent can wire up itself

CapabilityCloudinary / ImgixAuraImage with Cursor
Pricing modelMetered per GB and per transformFlat monthly price
EgressBilled$0
AVIFOpt-in configurationServed by default
BlurHash placeholdersBuild it yourselfBundled
ComponentSDK importLands in your repo, yours to edit
InstallManual wiringOne MCP config, then a prompt

Teach Cursor your image conventions

Cursor rules are .mdc files with YAML frontmatter — a plain .md file in .cursor/rules is ignored, because it has no frontmatter to carry description, globs, and alwaysApply. Set globs to your image directories and the rule auto-attaches when a matching file is in context; set alwaysApply: true and it is included in every chat.

Path.cursor/rules/*.mdc

Verified against the vendor docs on 2026-08-09.

Questions, answered

The things developers ask before they ship. If something is missing, just email us.

Install it in your side project. Pay when you ship.

$0 forever 20 GB bandwidth 3 GB storage hard stop at quota — never a surprise bill. Compare plans