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.
{
"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
<img src="/hero.jpg" alt="" />After Cursor edits it
<AuraImage
src='my-app/hero'
alt='Golden Gate Bridge at sunset'
width={1200}
height={800}
/>A Cloudinary alternative your agent can wire up itself
| Capability | Cloudinary / Imgix | AuraImage with Cursor |
|---|---|---|
| Pricing model | Metered per GB and per transform | Flat monthly price |
| Egress | Billed | $0 |
| AVIF | Opt-in configuration | Served by default |
| BlurHash placeholders | Build it yourself | Bundled |
| Component | SDK import | Lands in your repo, yours to edit |
| Install | Manual wiring | One 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.
.cursor/rules/*.mdcVerified 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