CRAFT for Claude
Plan, draft, submit, and track CRAFT Studio episodes from a Claude
conversation — no separate login, no length limits.
This repo is two things that work together:
- A Claude plugin (
plugins/craft) — six skills that teach Claude the
CRAFT workflow: discover (chat-first idea development), draft
(scripts in CRAFT's exact format),
submit (push idea → script → episode into the pipeline), polish
(fact-check, humanize, translate), track (stages, jobs, spend, gigs), and
estimate (cost from script length).
- A remote MCP server (
server/, published as
ghcr.io/mossworks-labs/craft-mcp) — the bridge that lets Claude act on
your CRAFT account. It validates your Keycloak login (OAuth 2.0 + PKCE) and
forwards your own token to the CRAFT API; it holds no credentials itself.
you ⇄ Claude (claude.ai / Claude Code)
│ skills: discover · draft · submit · polish · track · estimate
│ MCP over HTTPS (your OAuth token)
▼
craft-mcp ──► CRAFT studio API ──► production pipeline
(TTS, storyboard, assets, …)
Why
Developing an episode is a conversation before it is a document. This plugin
makes that conversation the front door: Claude researches with web search,
works the angle out with you, writes the script — at whatever length the
subject deserves — and submits it to the same pipeline the Studio UI uses, so
nothing is re-keyed and nothing is stranded in a chat log.
It also means the planning runs on your own Claude plan rather than the
studio's, which is why there is no length ceiling on what you draft here.
Setup
The two halves, and which one is the login
The plugin and the connector do different jobs, and only one of them signs you
in:
| What it is | What it gives you |
|---|
| Plugin (skills) | Instructions bundled into Claude | Claude knows the CRAFT workflow — script format, pacing, what a good hook looks like |
| Connector (MCP server) | An authenticated HTTPS endpoint | Claude can act on your account — read channels, submit scripts, start production |
The connector is the login. Adding it runs an OAuth sign-in against the
same Keycloak account you use for Studio, and the resulting token is what every
tool call carries. The plugin holds no credentials and cannot reach your
account on its own.
So: the connector alone is a working setup (Claude can do everything, it just
improvises the craft). The plugin alone is not — Claude will happily discuss
your video and then have no way to submit it. Install both; install the
connector first.
Before you start
- A CRAFT account you can sign into at preprod.mossworks.io.
- The channel you want to publish to already created in Studio. The connector
works against existing channels; it doesn't create them.
claude.ai (web and desktop)
1. Add the connector.
Settings → Connectors → Add custom connector, and paste:
https://preprod.mossworks.io/api/mcp
Claude discovers the rest on its own — it calls the endpoint, reads the
WWW-Authenticate challenge that comes back, follows it to the CRAFT identity
server, and starts the sign-in. You should land on the Mossworks login page
within a second or two.
Sign in with your normal CRAFT credentials and approve the access request. If
the connector's advanced settings ask for a client ID, use craft-mcp —
most of the time you won't be asked, because the endpoint advertises it.
The connector shows as connected when it's done. Nothing is stored on our side:
the server holds no credentials of its own and forwards your token to the CRAFT
API for the life of the request.
2. Add the plugin.
Install the craft plugin from this repo (Mossworks-Labs/craft-claude-plugin)
through the plugins UI. This is the part that teaches Claude the workflow; it
needs no separate sign-in.
Claude Code
/plugin marketplace add Mossworks-Labs/craft-claude-plugin
/plugin install craft@craft
One install covers both halves — the plugin bundles the connector endpoint in
plugins/craft/.mcp.json. The browser opens for
sign-in the first time Claude actually calls a tool, not at install time, so
don't be surprised when /plugin install finishes without asking for anything.
owner/repo shorthand clones over SSH. Without a GitHub SSH key in your
ssh-agent, use the HTTPS URL instead — /plugin marketplace add https://github.com/Mossworks-Labs/craft-claude-plugin — or set
CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1.
Check it worked
Ask Claude:
Who am I on CRAFT, and what channels do I have?
That calls whoami and list_channels. Getting your own username and your
real channel list back means the whole chain is working — token minted, token
accepted, API reachable. If Claude answers from thin air without naming your
actual channels, the connector isn't connected.