All topics

Generate OG images over MCP, without leaving your editor, terminal or coding app

Model Context Protocol lets an AI client call external tools directly, whether that client is an editor, a terminal agent, or a desktop chat app. OGImagen ships an MCP server, so the assistant already writing your page can also produce its social card, host it, and hand back the meta tags. No dashboard, no upload step, no context switch.

One click to connect, no API key to paste

The server speaks OAuth 2.1. Your client registers itself, a browser tab opens once for approval, and tokens are issued per client. Cursor and VS Code install from a deeplink, Claude.ai adds it as a custom connector, and Claude Code takes it as a single terminal command. Static API keys still work when you want a non-interactive setup for CI.

Stateless and headless by design

Every request carries its own context and can be served by any instance, which is what the 2026-07-28 MCP revision moved the protocol toward. There is no session to keep alive between calls, so the server runs the same whether it sits behind a serverless function or a long-lived process.

The tools an agent actually needs

generate_og_image creates the card, get_generation polls a long render, get_snippet returns the meta tags for Next.js, Astro or plain HTML, list_generations reads your history, and estimate_cost checks the credit cost before spending anything. Brand kits apply automatically, so images stay on brand without the agent asking.

Where headless generation pays off

Ask for a card while writing the post and paste the snippet in the same edit. Have an agent backfill images across an archive. Wire the REST API into a CMS publish hook when no human is in the loop at all. Every URL is permanent on Cloudflare CDN, so nothing has to be regenerated later.

Generate your OG image in seconds

Paste a title, pick a brand color, and get production-ready social cards for every platform. Try the AI generator free, no signup, or start from a free template.