Skip to main content
Glama
AuraImage MCP Server

AuraImage MCP Server

Official
by auraimage

@auraimage/mcp-server

Images powered by AuraImage

Model Context Protocol server that gives any MCP-compatible AI agent (Claude Code, Cursor, Cline, Continue, etc.) direct access to the AuraImage toolkit — auditing, migrating, and generating responsive image markup without leaving the editor.

Tools exposed

Tool

Description

audit_lcp

Scans a project directory for unoptimized images and estimates LCP savings.

migrate_assets

Uploads local images to AuraImage and returns the new CDN URLs. Supports dryRun: true.

generate_alt

Generates accessible alt text for an image URL using vision AI.

generate_responsive_tag

Returns a <picture> element with AVIF + WebP srcsets for the given image.

smart_crop_preview

Returns crop variant URLs for an image at the requested width/height.

push_og_template

Pushes an OG template (social preview card) to a project and returns its Render URL.

push_og_template

Pushes one OG template to a project and returns its Render URL. A template is HTML with Tailwind in a tw attribute and {{name}} holes; the canvas, fonts, defaults, and quality are arguments, so the file stays a design.

Argument

Type

Default

Notes

projectName

string

required

Your AuraImage project name.

name

string

required

Template name, [a-z0-9-]{1,64}.

html

string

—

Template markup. Provide this or file.

file

string

—

Absolute path to the template file. Provide this or html.

width

number

1200

Canvas width, 100–4096.

height

number

630

Canvas height, 100–4096.

fonts

string[]

[]

Google Font families by name, at most 4.

defaults

object

{}

Default value per variable.

quality

number

80

1–100, JPEG and WebP only.

Requires AURA_SECRET_KEY. Push is idempotent, and a rejected template comes back with the exact reason: the class token that has no <style> rule, the variable in a style position, the font family Google Fonts does not have. See the OG images guide.

Related MCP server: SAG RANK MCP Server

Configuration

Add the server to your project's .mcp.json:

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

Environment variables

Variable

Needed by

Notes

AURA_SECRET_KEY

migrate_assets, push_og_template

Your project's Secret Key — signs upload tokens. Keep it server-side.

audit_lcp, generate_alt, generate_responsive_tag, and smart_crop_preview need no credentials. generate_alt is generated server-side by the AuraImage API (GPT-5.6 Luna) for images already on the AuraImage CDN, rate-limited per IP. The server always starts without any environment variables; a tool that is missing its key returns a clear error when called.

Run standalone

npx @auraimage/mcp-server@latest

The server speaks stdio and is compatible with every MCP-aware client.

Documentation

Full docs and tool examples: auraimage.ai/docs/ai-integration.

License

MIT © AuraImage


Images powered by AuraImage — the image CDN that installs itself. Set it up in any project with npx aura init, or from your AI agent with Agent Skills and the MCP server.

Available Tools

5 tools
audit_lcpA

Scan a project directory for unoptimized images and estimate LCP savings.

Inputs: directory (required).

generate_altB

Generate accessible alt text for an image URL using vision AI.

Inputs: imageUrl (required).

generate_responsive_tagB

Generate a element with AVIF and WebP srcsets for an AuraImage URL.

Inputs: name (required), projectName (required), alt, widths.

migrate_assetsA

Upload local image assets to AuraImage. Use dryRun=true to preview.

Inputs: directory (required), projectName (required), dryRun.

smart_crop_previewC

Return crop variant URLs for a given image at specified dimensions.

Inputs: name (required), width (required), height (required), projectName (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: auditing, migrating, generating alt text, generating responsive tags, and previewing crops. There is no overlap or ambiguity between them.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern (audit_lcp, migrate_assets, generate_alt, generate_responsive_tag), but 'smart_crop_preview' breaks the pattern with an adjective-noun compound. Overall the naming remains clear and predictable.

    Tool Count5/5

    With 5 tools, the set is well-scoped and each earns its place for an image optimization workflow. It is neither too thin nor overly heavy.

    Completeness4/5

    The core workflow (audit, migrate, generate alt text, generate responsive tags, preview crops) is well covered. Minor gaps like asset deletion or direct URL transformation exist, but the major workflow is complete.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-powered image analysis using OpenAI's Vision API and image generation with DALL-E models. Supports image description, content analysis, comparison, editing, and creating variations with intelligent caching.
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to generate SEO-friendly, accessible alt text for images from public URLs or local files in 130+ languages, and to audit any web page for images that are missing or have empty alt attributes. It can also suggest alt text for the images found during an audit and report remaining API credits.
      4
      55 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to generate and edit images from natural-language requests, automatically enhancing prompts and applying quality/provider presets across Gemini, OpenAI, and BytePlus Seedream.
      1,225 npm
      MIT