Connect an AI agent to Wavegrain.

Wavegrain has an MCP server. MCP, the Model Context Protocol, is the open standard that AI agents use to call tools. With it, Claude Code, Codex, Cursor or any MCP client that supports remote servers can read your Wavegrain work, change it, and make new slideshows with your credits.

The server is available to every account. Create an account, then make an access key in Settings under Connect an AI agent.

Server address

https://wavegrain.com/api/mcp

The server uses the Streamable HTTP transport and answers POST requests only. Every request carries your access key in an Authorization: Bearer header. A key in the address is never read.

Sign in with an access key

  • In Wavegrain, open Settings and find Connect an AI agent.
  • Name the key, tick the permissions it may use, and pick when it expires: 7, 30, 90 or 365 days.
  • Set its daily credit limit. It starts at 50 credits a day, and you can change it later.
  • Copy the key. It starts with wg_pat_ and is shown only once. Save it in an environment variable named WAVEGRAIN_MCP_TOKEN, so it is not written into a shared config file.

Hosted apps such as claude.ai cannot send a key. They sign in with OAuth instead: add the server address as a custom connector, sign in to Wavegrain, and choose the permissions and the daily credit limit on the consent page. This sign-in path is built, but we have not yet tested it with hosted apps.

Set up your client

Claude Code

Run in a terminal.

claude mcp add --transport http wavegrain https://wavegrain.com/api/mcp --header "Authorization: Bearer $WAVEGRAIN_MCP_TOKEN"

Codex

Add to ~/.codex/config.toml.

[mcp_servers.wavegrain]
url = "https://wavegrain.com/api/mcp"
bearer_token_env_var = "WAVEGRAIN_MCP_TOKEN"

Cursor

Add to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "wavegrain": {
      "url": "https://wavegrain.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:WAVEGRAIN_MCP_TOKEN}"
      }
    }
  }
}

Permissions and tools

Each key holds up to three permissions. A tool that needs a permission the key does not hold is refused before it runs.

read

Look at your brands and each brand's brief, formats, slideshows, Calendar, image collections, credits and tailored styles. Reading is free.

  • list_brandsList brands
  • get_brandGet a brand
  • get_brand_briefGet a brand brief
  • list_formatsList slideshow formats
  • get_formatGet a slideshow format
  • list_slideshowsList slideshows
  • get_slideshowGet a slideshow
  • list_calendarList the calendar
  • list_collectionsList image collections
  • list_collection_imagesList a collection's images
  • get_creditsGet credits
  • list_stylesList tailored styles
  • get_styleGet a tailored style
  • list_fontsList fonts
  • fetch_referenceFetch a reference post
  • search_imagesSearch images
  • get_tailored_slideshowGet a tailored slideshow
  • list_tailored_versionsList tailored versions

write

Change saved work without spending credits: slide text, photos and order, styles, uploads, Calendar slots and exports.

  • schedule_slideshowSchedule a slideshow
  • unschedule_slideshowUnschedule a slideshow
  • update_slide_textChange slide text
  • choose_hookChoose the opening hook
  • set_slide_imageSwap a slide's photo
  • reorder_slidesReorder slides
  • export_slideshowExport a slideshow
  • create_styleCreate a tailored style
  • edit_styleEdit a tailored style
  • copy_styleCopy a tailored style
  • pin_stylePin a style to a brand
  • unpin_styleUnpin a style from a brand
  • create_uploadUpload an image
  • import_imageImport an image from a URL
  • edit_tailored_slideshowEdit a tailored slideshow
  • restore_tailored_versionRestore a tailored version

generate

Spend your normal credits to make brands, slideshows and images, within the limit each call names and the key's daily limit.

  • estimate_costEstimate credits
  • generate_slideshowMake a slideshow
  • create_brand_from_websiteMake a brand from a website
  • create_tailored_slideshowMake a tailored slideshow
  • remove_backgroundCut out a photo
  • generate_imageMake an AI image

What the agent knows about your brand

  • The agent starts with your brand brief (get_brand_brief): one short page with your positioning, voice, audience, colours, fonts, CTA cards, image collections, saved formats and pinned styles.
  • The brief also says what your own slideshows show: which ones you approved, exported or posted, which headlines you rewrote and which slides you marked not interested. Wavegrain uses the same learnings when it writes a script for that brand, in the app too.
  • A key reads only your own brands. The more you fill in on the brand page, the better the agent writes.

Credits and limits

  • An agent spends the same credits you spend in the app. There is no separate MCP price.
  • Every paid call names the most it may spend. If the cost could be higher, or above your balance or the key's daily limit, the call is refused and nothing is spent.
  • Each new tailored slideshow costs 1 credit, and changes to it are free. Real photos are free. An AI image costs 1 to 3 credits, and your AI asks you first.
  • Each key may send 120 requests a minute, and one account 240 across all its keys.
  • Scheduling only puts a slideshow on your Wavegrain Calendar. The agent cannot post to a social network.

Example prompts

  • Make a 6-slide carousel about morning routines for my active brand. Spend at most 10 credits.
  • Copy the structure of this TikTok slideshow in my own style: <link>
  • Plan a week of posts for my brand and put them on my Wavegrain Calendar.
  • Change the headline on slide 2 of my latest slideshow, then export it.

Clients that show MCP prompts also offer four starters: copy_slideshow, make_post_in_style, replicate_inspiration and plan_a_week.

Keep your account safe

  • Wavegrain stores only a fingerprint of each key, so a lost key cannot be shown again. Make a new one instead.
  • Revoke a key or a connected app in Settings at any time. It stops working at once.
  • Give a key only the permissions it needs. Leave out generate if the agent should not spend credits.

Help

Questions or problems: email [email protected]. How Wavegrain handles your data is in the privacy notice.