com.ogmake/mcp

Registre officiel Médias et design

Generate og:image social cards and signed ogmake.com image URLs from your AI assistant.

Que pouvez-vous faire avec com.ogmake/mcp ?

  • list_templates — lists every registered og:image template id,
  • render_html — renders raw HTML/CSS to a stored PNG/JPG/WebP/PDF (2 credits;
  • render_image — renders an og:image.
  • create_batch — starts an async batch of up to 500 renders (POST /v1/batch);
  • get_batch — a batch's status plus each item's stored URL or error. Needs
  • build_image_url — builds an image URL for template without
  • og_snippet — renders the og:image/twitter:image meta tag snippet
  • get_usage — current billing period's render usage/quota for the

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package ogmake-mcp
Claude Code
claude mcp add com-ogmake-mcp -e 'OGMAKE_API_KEY=<your ogmake_api_key>' -- npx -y ogmake-mcp@0.1.2
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "com-ogmake-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "ogmake-mcp@0.1.2"
            ],
            "env": {
                "OGMAKE_API_KEY": "<your ogmake_api_key>"
            }
        }
    }
}

Variables d'environnement

  • OGMAKE_API_KEY secret ogmake.com API key. Optional: without it render_image uses the free watermarked endpoint.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. ogmake-mcp
  2. Tools
  3. Environment variables
  4. Install
  5. Development
  6. Development

ogmake-mcp

Local stdio MCP server for ogmake.com og:image generation. Run it with npx -y ogmake-mcp.

Tools

  • list_templates — lists every registered og:image template id, version, and its params JSON Schema. No API key required.
  • render_html — renders raw HTML/CSS to a stored PNG/JPG/WebP/PDF (2 credits; needs OGMAKE_API_KEY).
  • render_image — renders an og:image.
    • With OGMAKE_API_KEY set: renders template (+ optional params, format, preset, scale, v, bg, font — a Google Fonts family) via the authenticated API and returns its hosted URL plus the image bytes.
    • With no OGMAKE_API_KEY: renders a watermarked free image from title (+ optional description, site) and returns image bytes only — no hosted URL (the free endpoint never stores one).
  • create_batch — starts an async batch of up to 500 renders (POST /v1/batch); returns a batch_id immediately. Optional webhookUrl (https) gets a signed batch.completed event. Needs OGMAKE_API_KEY.
  • get_batch — a batch's status plus each item's stored URL or error. Needs OGMAKE_API_KEY.
  • build_image_url — builds an image URL for template without rendering it.
    • With OGMAKE_SIGNING_SECRET + OGMAKE_SIGNING_KEY_ID set: signs the URL locally (HMAC-SHA256) — the signing secret never leaves your machine and is never sent to the model.
    • Else with OGMAKE_PUBLIC_KEY_ID set: builds an unsigned /p/:keyId/:template URL (the key must be marked public and allow-list that template on ogmake.com).
  • og_snippet — renders the og:image/twitter:image meta tag snippet for a given framework (html, hugo, jekyll, rails, laravel, django, wordpress, ghost) and image URL.
  • get_usage — current billing period's render usage/quota for the OGMAKE_API_KEY account. Requires OGMAKE_API_KEY.

Every secret (OGMAKE_API_KEY, OGMAKE_SIGNING_SECRET) stays local: it is read from the environment once at startup and is never echoed back in a tool result, error message, or log line.

Environment variables

VariableRequired for
OGMAKE_API_KEYauthenticated render_image, render_html, create_batch, get_batch, get_usage
OGMAKE_BASE_URLoptional — override the API origin (defaults to https://ogmake.com)
OGMAKE_SIGNING_SECRETlocal signing in build_image_url (base64url)
OGMAKE_SIGNING_KEY_IDlocal signing in build_image_url (paired with the secret above)
OGMAKE_PUBLIC_KEY_IDunsigned /p URLs in build_image_url

Install

Claude Code
claude mcp add ogmake --env OGMAKE_API_KEY=og_live_... -- npx -y ogmake-mcp

Or add to .mcp.json (project scope) / ~/.claude.json (user scope); Cursor takes the same block in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "ogmake": {
      "command": "npx",
      "args": ["-y", "ogmake-mcp"],
      "env": { "OGMAKE_API_KEY": "og_live_..." }
    }
  }
}

Without OGMAKE_API_KEY only list_templates, watermarked free render_image, build_image_url and og_snippet work.

Support: support@ogmake.com · License: MIT

Development

pnpm --filter ogmake-mcp run test        # unit tests, 100% coverage
pnpm --filter ogmake-mcp run test:e2e    # spawns the packed CLI over stdio against a local wrangler dev
pnpm --filter ogmake-mcp run build       # tsup bundle -> dist/index.js
pnpm --filter ogmake-mcp run pack        # build + npm pack -> pack-out/*.tgz

Development

vendor/ holds the SDK and request-signing helper this server bundles, so the repository builds standalone: npm install && npm run build && npm test.

Questions fréquentes

Qu'est-ce que com.ogmake/mcp ?

Generate og:image social cards and signed ogmake.com image URLs from your AI assistant.

Comment installer com.ogmake/mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add com-ogmake-mcp -e 'OGMAKE_API_KEY=<your ogmake_api_key>' -- npx -y ogmake-mcp@0.1.2. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour com.ogmake/mcp ?

Oui. Il attend OGMAKE_API_KEY, à renseigner dans sa configuration.

com.ogmake/mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient com.ogmake/mcp ?

Il est publié par ogmake. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.