https://glif.app/api/mcp
What you can do with it
Describe what you want in natural language and let your agent use Glif to bring the idea to life. Use it to:- Create marketing assets: hero images, landing-page graphics, blog headers, ad sets and launch materials
- Explore visual concepts: generate several logo, illustration or design directions
- Adapt existing designs: make variations, dark-mode versions and alternate formats for every placement
- Create motion: short animations and video concepts that explain products, features or user flows
- Work from your existing documents: if your agent can read your briefs, product sheets or brand docs, it can pass the details straight to Glif
- Run your brand Skills from anywhere: “Use our launch-ad-set skill on this product photo.”
How to get started
Using Glif MCP inside Claude or ChatGPT is included with the Pro plan and above; advanced automation via MCP/API is included with Pro L and above. See Credits and Payments.Option A: Agent-led setup
Give your agent these instructions: textOption B: Manual setup
1. Pick your client Common supported apps:- Claude
- ChatGPT
- Cursor
- VS Code
- LM Studio
- Kiro
- Replit
- Claude Code
- Codex
- Hermes
- OpenClaw
- Go to Customize → Connectors → + → Add custom connector.
- Paste this URL:
- Approve the Glif sign-in when Claude opens the OAuth flow.
https://glif.app/api/mcp in your app’s MCP settings, then complete the Glif sign-in. If your app can’t do the browser sign-in, use an API key instead (see Glif API).
Example prompts
Here are a few ideas to get you started:- “Make a hero banner image for my landing page — hand-drawn, on brand”
- “Generate header art for my blog post about our API launch”
- “Generate 4 logo concepts for my MCP server launch”
- “Make dark-mode variants of these graphics”
- “Make a quick animation about users going through this app”
- “Use Glif to make 3 static ad concepts for this product in 4:5 and 9:16, using our brand kit”
- “Continue the Glif project from earlier and add two more headline variations”
Costs
Work started from another app uses your Glif credits, the same as on glif.app. Your AI app should check with you before starting a job; there’s no approval step once a job is running. For big batches, ask for drafts first.Manage access
Review or revoke connected apps at glif.app/settings/api-tokens.More on glif.app
Agent Reference
Connection
Tools
Standard run for a campaign request
- Gather the brief: product, audience, channels and formats, quantity, copy, video length.
- Call
list_user_skillsto find a brand or production skill; plan to name it in the prompt. - Upload product photos, logos or guidelines with
upload_fileif they aren’t already Glif assets. - For large jobs, call
whoamiand estimate cost from typical per-output figures. - Confirm the plan and estimate with the user.
compose_projectcharges credits and has no approval step. - Call
compose_projectwith the whole set in one prompt. ShareprojectUrlright away. - Poll
get_job_statuswithjob_id, passing eachprogressCursorback asprogress_cursor. Share new assets once each as they arrive. - Report the final result or failure. On
input_required, ask the user rather than guessing. - For revisions, resizes and cutdowns, call
compose_projectwith the sameproject_id.
Rules
- Don’t call
compose_projectwhile a job is working. In the same project it errors; withoutproject_idit starts a separate billable job. - Never start another paid job automatically, including retries.
- Put a campaign set (concepts × formats × variations) in one prompt to keep it in one project.
- Reusing earlier media requires
project_idorasset_ids. - Prefer resizing an approved asset over regenerating it per placement.
- Don’t end with only a “started” message unless the user asked for background work. If polling can’t continue, say so and share the project link.
- Job records expire about 30 minutes after a job finishes. Saved media remains available via
get_project. - Share media URLs as plain links; some hosts show Markdown image embeds as broken.
https://glif.app/brand.mdis Glif’s own brand guide. Use it only for Glif-branded work, not for the user’s brand.
Example
jsonSupport
Bugs and feedback:#api-mcp on the Glif Discord, or contact@glif.xyz.