putty
MCPBrandBrand

brand_apply

Apply a saved brand kit to one of the caller's projects. Writes the brand seam — `src/brand/tokens.css` (the --brand-* CSS variables), `src/brand/brand.json` (name, tagline, voice, logo paths), `src/brand/fonts.css` (the allowlisted Google Fonts import), and the logo files under `public/brand/` — and nothing else. This is the only tool that may write those paths, and the project's component files are never touched, so applying a different kit restyles the project with zero diff outside the brand seam. Requires a project with a running sandbox; a project that has never run has no workspace to write into.

Apply a saved brand kit to one of the caller's projects. Writes the brand seam — src/brand/tokens.css (the --brand-* CSS variables), src/brand/brand.json (name, tagline, voice, logo paths), src/brand/fonts.css (the allowlisted Google Fonts import), and the logo files under…

Input

The tool takes a single JSON object. Every field, its type, and an example are on the generated reference at GET /mcp/tools, under this tool's name.

Calling it

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": { "name": "brand_apply", "arguments": {} }
}

Put your arguments in place of the empty object. A call that fails comes back as a normal result carrying isError: true and a message naming what went wrong, not as a JSON-RPC protocol error.

The full request and response shape, and a live playground, live on the generated reference at GET /mcp/tools.

On this page