Before you start
- A PlatformDTC account with access to the store whose theme you want to build.
- Claude Code installed.
1. Add the server
--scope user to make it available in
every project, or --scope project to share it with your team through the project’s .mcp.json.
2. Sign in
Start Claude Code and run:platformdtc-theme and choose to authenticate. Your browser opens PlatformDTC:
1
Sign in to PlatformDTC
If you are not signed in already, sign in with your PlatformDTC account.
2
Review the request
The consent screen shows the client that is asking (Claude Code), where it will return you, and
the permissions it requests:
read_themes, write_themes and, if requested, publish_themes.3
Choose a store and permissions
Pick the store this connection is for. You can untick any permission you do not want to grant —
for example leave
publish_themes off, and your agent can build and preview but never publish.4
Approve
You return to Claude Code, which now lists the theme tools.
3. Build
Ask for what you want in plain language. For example:- call
create_dev_themeandget_theme_manifestto see the files and section types, - read
templates/index.jsonwithread_theme_files, - write the change with
write_theme_files, or a custom section when no existing section fits, - run
check_themeand fix what it reports, - return a
preview_themelink you can open.
4. Publish
When you are happy with the preview, ask the agent to publish. With the default store setting the publish waits for your approval and the tool returnspending_approval; approve it in Settings → Developer → Build with your agent and
the theme goes live. See Scopes and approvals.
Troubleshooting
- The tools do not appear — run
/mcpand check thatplatformdtc-themeis connected and authenticated. - A write is refused — see Troubleshooting for
PLATFORM_OWNED,CONFLICTandCHECK_FAILED.