Before you start

  • A PlatformDTC account with access to the store whose theme you want to build.
  • Cursor installed.

1. Add the server

Create .cursor/mcp.json in your project — or ~/.cursor/mcp.json to use it in every project:
No client ID or secret is needed. PlatformDTC supports dynamic client registration, so Cursor registers itself the first time it connects.

2. Authorize

Open Cursor’s MCP settings. platformdtc-theme asks you to sign in; start the sign-in and your browser opens PlatformDTC:
1

Sign in to PlatformDTC

Sign in with your PlatformDTC account if you are not already.
2

Choose a store and permissions

Pick the store this connection is for and the permissions to grant. Leave publish_themes unticked if the agent should never publish.
3

Approve

You return to Cursor, and the server’s theme tools are listed.

3. Build

In Cursor’s agent chat:
Cursor’s agent creates the development theme, reads the manifest and templates, writes the change — or a custom React section when nothing existing fits — runs check_theme, and returns a preview URL.
To edit files locally in Cursor with full type checking, pull the theme with the CLI: dtc theme pull, edit, dtc theme check, dtc theme push.

4. Publish

Ask the agent to publish. With the default store setting it returns pending_approval until you approve it in Settings → Developer → Build with your agent. See Scopes and approvals.