GitHub Copilot
Image CDN for GitHub Copilot
Copilot needs two MCP configs, not one — here is both, and why the editor file will not work in the CLI.
$0 forever 20 GB bandwidth 3 GB storage hard stop at quota — never a surprise bill. Compare plans
Add AuraImage to GitHub Copilot
Copilot CLI does not read .vscode/mcp.json — it rejects the servers top-level key. If you use the CLI as well as the editor, add the second config below.
{
"inputs": [
{
"type": "promptString",
"id": "aura_secret_key",
"description": "AuraImage Secret Key",
"password": true
}
],
"servers": {
"auraimage": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@auraimage/mcp-server@latest"],
"env": {
"AURA_SECRET_KEY": "${input:aura_secret_key}"
}
}
}
}Verified against the vendor docs on 2026-08-09.
The editor config above carries an inputs block for the key; this file has none, and GitHub documents no expansion syntax for it. GitHub documents PATH as the one variable automatically inherited from your environment, with all others configured in the server entry — so do not assume exporting AURA_SECRET_KEY in your shell reaches this server. Check that it starts with a working key before you rely on the blank value.
{
"mcpServers": {
"auraimage": {
"type": "local",
"command": "npx",
"args": ["-y", "@auraimage/mcp-server@latest"],
"env": {
"AURA_SECRET_KEY": ""
},
"tools": ["*"]
}
}
}Verified against the vendor docs on 2026-08-09.
Optimize images with GitHub Copilot
Each prompt is paired with the MCP tool it fires.
- Which images on our marketing pages are failing the LCP budget? Open an issue with the list.
audit_lcp - Migrate the images in this PR to AuraImage.
migrate_assets - The accessibility check on this PR flagged missing alt attributes — fill them in.
generate_alt - A reviewer asked for AVIF and WebP sources here. Turn this <img> into a <picture>.
generate_responsive_tag - Show me how banner.png crops to 4:5 before I push the mobile layout.
smart_crop_preview
Prompt
“Migrate the images in this PR to AuraImage.”migrate_assets
Before
<img src="/hero.jpg" alt="" />After GitHub Copilot 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 GitHub Copilot |
|---|---|---|
| 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 GitHub Copilot your image conventions
Repository-wide instructions live in .github/copilot-instructions.md and apply as soon as you save the file. Both the editor and the CLI read it, which makes it the one piece of Copilot config you only have to write once.
.github/copilot-instructions.mdVerified 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