gritPreparing studio
gritOpen studio ↗
GRIT MCP / LOCAL SETUP

Your tools.
A little Grit.

Connect your AI client to Grit’s design engine. Explore styles, make precise changes, and export editable artwork on your machine.

No account needed. Install once and connect locally.
  • Grit MCP starts its own local engine
  • MCP clients supporting local stdio
  • Your design files stay on your machine
  • Choose your model in your AI client
  1. 01

    Install Grit locally.

    Install Node 20 or newer, then use your existing Grit checkout or clone the Grit repository ↗. Run these commands inside that folder.

    Install dependencies
    npm install
    npx playwright install chromium

    Chromium runs Grit’s own graphics engine in the background. Install it once. This is the source setup; a published installer is still pending.

  2. 02

    Add Grit to your AI client.

    Paste this into the MCP settings of a client that supports local stdio. Replace the example path with your checkout’s absolute path.

    MCP configuration
    {
      "mcpServers": {
        "grit": {
          "command": "node",
          "args": [
            "C:/dev/dither-lab/scripts/grit-mcp.cjs"
          ]
        }
      }
    }

    If Node is unavailable in your client, use its absolute executable path for command. Restart the client after saving.

  3. 03

    Let Grit start the engine.

    Your AI client launches Grit MCP and its renderer automatically. You do not need npm run dev, an open studio, or another terminal.

    Ask your agent to discover Grit’s styles, create a design, preview it, and export a native project or React component. Rendering stays on your machine.