SiteAssets SiteAssets
Resources MCP

Model Context Protocol server.

SiteAssets ships as an MCP server so any agent — Claude Code, Cursor, Windsurf, VS Code — can inspect and fix brand assets without leaving the editor.

§01

Install

Add the server to your MCP config. Use a workspace-scoped key from the dashboard.

json
{
  "mcpServers": {
    "siteassets": {
      "command": "npx",
      "args": ["-y", "@siteassets/mcp"],
      "env": {
        "SITEASSETS_API_KEY": "sk_live_xxxxxxxx"
      }
    }
  }
}
§02

Tools

check_open_graph

Fetch a URL and return its OG score, metadata and issues.

json
{
  "url": "https://example.com"
}

suggest_open_graph_fix

Return missing meta tags, recommended values and ready-to-paste HTML.

json
{
  "url": "https://example.com"
}

check_favicon

Audit the favicon set of a URL — HTML icons, /favicon.ico, apple-touch-icon, Web Manifest.

json
{
  "url": "https://example.com"
}

suggest_favicon_fix

Return concrete favicon recommendations with copy-pasteable <link> tags and manifest JSON.

json
{
  "url": "https://example.com"
}

generate_og_image

Render a 1200 × 630 OG image as PNG, WebP or SVG and return the URL.

json
{
  "title": "Hello world",
  "description": "Optional",
  "brandColor": "#d97706",
  "template": "minimal",
  "format": "png"
}

That is the full tool list — five tools, no placeholders. Need more? The full brand audit (OG · favicon · logo · PWA · SVG) and the downloadable asset pack are available today over the REST API — see /resources/api — and Favicon generation runs on the website at /generator/favicon. MCP tools for the full audit and asset pack are on the roadmap.

§03

Workflows

Claude Code — check a fresh deployment

After deploying, ask: "Audit https://preview.myapp.com with siteassets and tell me what's missing for social sharing." The agent calls check_open_graph and check_favicon, reads the issues and links the generator for each fix.

Cursor — verify share metadata before merge

On a feature branch, ask: "Run siteassets on the staging URL and suggest OG fixes." suggest_open_graph_fix returns ready-to-paste head snippets for your framework.

CI — gate releases on brand score

Run the audit against your deploy preview and fail the pipeline when the score drops below a threshold. Copy-paste examples for Astro, Next.js and Vite live at /resources/ci.

Principles: the MCP server uses the same engine and scoring as the website — never a separate calculation; audits are read-only; generation requires confirmed parameters; assets that cannot be deployed automatically are returned as files with deployment instructions.