# API and MCP recipes

> Three tested recipes for Cuelark Render: pull an OG image in n8n, connect Cursor to the MCP server, and set Next.js metadata to a 1200×630 /v1/og URL.

URL: https://render.cuelark.com/recipes

## n8n

GET https://render.cuelark.com/v1/og with the blog template fields, response as a file (1200×630 PNG). POST /v1/chart for a chart PNG.

## Cursor MCP

Add { "mcpServers": { "cuelark-render": { "url": "https://render.cuelark.com/mcp" } } } to .cursor/mcp.json, then call social_card.

## Next.js

Use generateMetadata and set openGraph.images to the /v1/og URL (width 1200, height 630). The URL is the image; no API key needed for cards.

Last tested: 2026-11-15.
