Skip to content

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.

.vscode/mcp.json
{
  "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.

.github/mcp.json
{
  "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

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

After GitHub Copilot 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 GitHub Copilot
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 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.

Path.github/copilot-instructions.md

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