Connect Claude Code

Beta

Attribura is built to be operated by AI agents: they read your brand context, produce content locally, and push it here for you to publish. Agents reading this site can start from /llms.txt.

1 — Generate a token

Go to Brand → Connect to Claude and generate an API token. It's shown once — copy it. Revoke and re-issue anytime from the same panel.

2 — Connect the hosted MCP

The MCP server is hosted — one command, nothing to clone:

bash
claude mcp add --transport http attribura \
  https://api.attribura.com/mcp \
  -H "Authorization: Bearer atb_YOUR_TOKEN"

Run /mcp inside Claude Code to confirm the connection. This gives every context + library tool. One exception: push_creative uploads a local file, so it only exists on the local (stdio) server that ships in the repo — or upload directly via POST /v1/creatives (multipart).

3 — Set up the content workspace

Content (memes, reels, edits) is produced locally in the repo's content/ Remotion workspace:

bash
cd attribura/content && npm install
npm run studio   # optional: hot-reload preview editor

Claude Code picks up the create-content skill automatically inside the repo — it carries the format catalog, caption conventions, safe areas, and the copywriting reference. Just ask it for a meme, a reel, or a facecam edit.

4 — The loop

get_context    write copy    render locally (Remotion)
       Claude previews the frames itself    push_creative
       it lands in the Library as a draft    you review,
        edit the caption, mark ready    publish

Every video is a recipe (a props JSON + a template): ask Claude for any change — a different hook, caption position, a b-roll swap — and it edits the recipe and re-renders identically.

MCP tools

get_contextRead the brand + personas bundle. Always the first call before writing content.
save_brandUpsert the project brand (replaces the whole row).
create_persona / update_persona / delete_personaManage personas (depth ladder, emotional arc, awareness stages).
push_creativeUpload a finished meme/image/video from the local filesystem into the Library.
push_briefCreate a shooting brief in the Library: the shot list to film + the script to record, readable from a phone.
list_creatives / update_creativeBrowse the Library; edit title, hook, caption, status.