How to make brand graphics with Claude over MCP

Create a Programmable API key with only the scopes you need, add https://programmable.digital/api/mcp to your client with the key as a bearer header, and ask for what you want in plain words. Graphics, decks and logos come back in the same call; animations come back as a job your assistant checks until the film is ready.

By the Programmable team · Updated · 9 min read

This guide covers the clients that can send an API key to a remote MCP server today: Claude on the web and desktop, Claude Code, Cursor, and your own agent on the Claude API. ChatGPT is covered too, with the reason it can't connect yet.

What MCP is, in two sentences

The Model Context Protocol is an open standard that lets an AI assistant discover a server's tools and call them on your behalf. A design tool that speaks MCP can be driven from a chat window or a coding agent, so "make three launch graphics in our brand" becomes a tool call instead of a trip to another app.

What you need first

  • A Programmable account. The trial needs no card and includes 120 credits once your email is verified, enough for about one film. Create an account if you don't have one.
  • A saved brand profile. Graphics and decks are made in the saved colours, so set it before you ask for anything. You can do this from the assistant itself (see "Keep everything on brand" below) or in the studio's brand kit.
  • An MCP client that can send a custom Authorization header. Programmable authenticates with a pgm_ key sent as Authorization: Bearer pgm_…. It doesn't offer an OAuth sign-in for MCP.

Create a key with only the scopes it needs

Go to Developers › API keys in the studio, name the key, tick what it may do, and copy it. It is shown only once, and you can have up to 10 active keys. The assistant only sees the tools its key allows, so the scopes are your first safety control. See API keys for the full steps.

You want the assistant toTick these scopes
Read your brand and list what you've madebrand:read, graphics:read, decks:read, logos:read, animations:read
Make graphics in your brandgraphics:write, brand:read
Make decks or logosdecks:write or logos:write, plus brand:read
Make an animation and check on itanimations:write
Render the finished MP4 or GIFexports:write
Change your brand profilebrand:write

Leave out animations:share unless you want the assistant to publish public links. Making something and making it public are separate permissions.

Connect your client

ClientCan it send the key?Where it goes
Claude (web and desktop)YesCustom connector, Request headers
Claude CodeYesclaude mcp add with --header, or .mcp.json
CursorYesheaders in mcp.json
Your own agent on the Claude APIYesauthorization_token on the MCP connector
ChatGPTNot todayIts custom MCP servers offer OAuth or no authentication

Claude on the web and desktop

Anthropic's help centre describes custom connectors on every plan, with one custom connector on Free. Remote connectors are configured on your Claude account, so one set-up covers claude.ai and Claude Desktop. The claude_desktop_config.json file is for local servers, not this.

  1. Go to Customize › Connectors, choose + Add, then Add custom connector.
  2. Name it "Programmable" and paste https://programmable.digital/api/mcp as the URL.
  3. Under Authentication, choose No sign in, because the key does the authenticating.
  4. Under Request headers, add Authorization with the value Bearer pgm_… (your key).
  5. Choose Add, then turn the connector on for a chat from the tools menu.

On Team and Enterprise plans an owner adds the connector for the organisation. Anthropic notes that a shared credential such as an API key gives everyone who uses the connector that key's access, so every member's requests spend the same workspace's credits.

Claude Code

One command, from Anthropic's Claude Code docs:

claude mcp add --transport http programmable https://programmable.digital/api/mcp --header "Authorization: Bearer pgm_…"

To share the set-up with a team without committing the key, put this in .mcp.json at the project root and let each person set PROGRAMMABLE_API_KEY in their own environment:

{"mcpServers": {"programmable": {"type": "http", "url": "https://programmable.digital/api/mcp", "headers": {"Authorization": "Bearer ${PROGRAMMABLE_API_KEY}"}}}}

Claude Code asks for approval before it uses a project-scoped server. claude mcp list shows what's connected and /mcp shows its status inside a session.

Cursor

Add the server to .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project. Cursor reads environment variables with its own ${env:NAME} syntax:

{"mcpServers": {"programmable": {"url": "https://programmable.digital/api/mcp", "headers": {"Authorization": "Bearer ${env:PROGRAMMABLE_API_KEY}"}}}}

By default Cursor asks before it runs an MCP tool, and shows the arguments it will send.

Your own agent on the Claude API

The Messages API's MCP connector calls a remote server without an MCP client of your own. Add the server to mcp_servers with "type": "url", the URL, a name and your key as authorization_token, add a matching {"type": "mcp_toolset", "mcp_server_name": "programmable"} to tools, and send the beta header the docs name. Anthropic describes authorization_token as an OAuth bearer token; it is sent as a bearer header, which is what this server reads. Only tool calls are supported, which is all this server offers.

ChatGPT

OpenAI's developer mode docs list three ways for a custom MCP server to authenticate: OAuth, no authentication, or a mix of the two. None takes a fixed API key, and this server needs one, so ChatGPT can't connect to it today. If that changes we'll update this page.

Check the connection

Ask: "Which Programmable tools can you use?" The answer should list only the tools your key's scopes allow. If it lists none, the header is missing or misspelled. If a call comes back with "This key lacks the graphics:write scope", the key is valid but needs that scope ticked; make a new key, as scopes are fixed when a key is created.

The tools and what they cost

Making something is charged in credits exactly as the studio charges it: a hold when the run starts, settled to what the AI actually cost, with any unused hold released. Reading and rendering use no credits.

ToolWhat it doesCredits
digital_askRoutes a plain-language brief to the right maker belowOnly what the maker it picks uses
digital_make_graphicOne to four concepts, laid out for each size you nameOne design round, at its measured cost
digital_make_deckAn outlined, designed deck of 3 to 40 slidesOne outline round, at its measured cost
digital_make_logoA first round of logo concepts for a nameOne design round, at its measured cost
digital_make_animationA 4 to 60 second film; answers with a jobHolds 15 for a draft, 100 for a directed film
digital_get_jobChecks an animation jobNone
digital_start_export, digital_get_exportRenders an MP4 or GIF and checks itNone
digital_list_*, digital_get_*Lists or reads animations, graphics, decks, logosNone
digital_get_brand, digital_update_brand, digital_read_brand_from_urlReads, changes or reads in the brand profileNone

A typical directed film settles at about 63 credits, and a draft usually under 15. A design round holds 1 credit and settles to its real cost, which varies with the brief, so check Settings › Usage after your first few. Current plan prices are on the pricing page.

Worked example: launch graphics in five sizes

You type: "Read our brand, then make three concepts announcing CSV import for the og, blog-hero, email-header, li-landscape and x-post sizes. Keep the headline under eight words."

What happens:

  1. The assistant calls digital_get_brand and gets your name, colours, fonts, logo and voice. No credits.
  2. It calls digital_make_graphic with {"prompt": "…", "formats": ["og", "blog-hero", "email-header", "li-landscape", "x-post"], "count": 3}.
  3. The call stays open until the graphic is saved, then answers with a record: object, id, title, version and a studio_url.
  4. Open the studio link to compare the concepts, fix a word, and download PNG, JPG, WebP, PDF or SVG.

The answer is a record with a link, not the image files themselves, so the assistant can't paste the pictures into the chat. Format names come from the list in the API documentation; if you leave formats out you get the social set (Instagram square, portrait and story, LinkedIn, X and Facebook link sizes). For which sizes a launch needs, see launch image sizes.

Worked example: a demo animation, checked to the end

You type: "Make a 20-second vertical draft about our new usage dashboard. Company name Acme. Primary colour #1f6feb."

  1. The assistant calls digital_make_animation with {"prompt": "…", "duration_seconds": 20, "aspect": "portrait", "company_name": "Acme", "draft": true}.
  2. It answers at once with a job: {"job": {"object": "job", "status": "running", "animation_id": null, …}}.
  3. A draft takes about five minutes and a directed film 15 to 30. Ask "check the job" after that; the assistant calls digital_get_job. Most chat assistants won't wait minutes on their own, so expect to ask.
  4. When status is succeeded, the job carries animation_id. Ask for an MP4 and it calls digital_start_export, then digital_get_export until there's a download_url.

The download address needs the same key, so it won't open in a browser tab. Fetch it with curl -H "Authorization: Bearer $PROGRAMMABLE_API_KEY" -o demo.mp4 followed by the address, or export from the studio. A render is kept for a day.

Images can't be attached over MCP, so a film made this way redraws your interface as illustrative UI. For a demo built on your real screens, upload them in the studio; see product demos from your screenshots.

Worked example: a brief that names two things

You type: "A logo and a launch video for Fernway, a trail-running app." digital_ask routes by the words in the brief, not by AI, so asking costs nothing. Here "logo" and "video" tie, so it makes nothing and answers with "needs": "kind" and the options your key allows. The assistant then asks you which, or calls again with kind set. Name one thing per request and this never comes up.

Keep everything on brand

  • Read it in once. digital_read_brand_from_url reads the name, colours, fonts, logo and site style from your public site. Call it without save to review what it found, then again with "save": true to make it the profile. Your saved voice is kept.
  • Correct it. digital_update_brand changes any of the name, the three colours (as #rrggbb), the heading and body fonts, and the voice: tone, sample lines and words to avoid. What you leave out stays as it is.
  • Know what uses it. Graphics use the saved colours and logo, decks the colours and fonts, and both follow the saved voice. Logos use your colours only when asked with "colors": "brand". An animation started over MCP takes company_name but not the saved colours, so put the hex values in the prompt, as in the example above.

Safety: scopes, approvals and revoking

  • One key per client. If Cursor and Claude each have their own key, you can revoke one without breaking the other.
  • Read-only first. A key with only read scopes can't spend credits or change anything.
  • Keep the approval prompts on for the make tools. Read tools are marked read-only to the client; makers aren't.
  • Keep keys out of git. Use the environment variable forms above.
  • Revoke at once from Developers › API keys if a key may have leaked. It stops working immediately.

A key can't change account settings, billing or your team.

Limits worth knowing

LimitValue
Requests per key120 a minute
Animations started6 a minute
Graphics, decks or logos started6 a minute of each kind
Brand reads from a site8 a minute
Credit spendingA daily cap: 1,000 credits once you've paid, 120 before
Film length4 to 60 seconds
Prompt3 to 4,000 characters

Over a limit you get a "Try again in a minute" message, or "Not enough credits" when the balance runs out. MCP here is tools only: no prompts, resources or streamed progress.

Common questions

Does the assistant use my own Claude or OpenAI subscription to make the graphics?

No. Your assistant decides which tool to call, but the design work runs on Programmable and is paid from your workspace's credits. Own AI keys set up in the studio aren't used for calls over the API or MCP.

Can I use the same key in Claude and in a script?

Yes, the MCP server and the REST API accept the same keys and scopes, described in the API documentation. Separate keys are easier to revoke one at a time.

Can the assistant post the graphics to social media for me?

Not over MCP. It can make them and, with the animations:share scope, publish an animation's share link. Posting happens from the studio, or through your own automation using webhooks.

Why did my assistant make nothing when I asked for a video and slides?

digital_ask picks the maker from the words in your brief. When two kinds score the same it asks instead of guessing. Ask for one thing per message, or name the kind.

Sources