Skip to content
← All install options

Install Better Design MCP in Grok Build

Setup

  1. 1

    Install Grok Build

    Skip this if you have it. Otherwise run curl -fsSL https://x.ai/cli/install.sh | bash.
  2. 2

    Open the config file

    Use ~/.grok/config.toml for every project. .grok/config.toml covers one project, but it holds your key, so keep it out of git.
  3. 3

    Paste the block

    Add the Config block below to the end of the file and save. Or run grok mcp add --transport http better-design https://better-design.com/api/mcp --header "Authorization: Bearer <YOUR_API_KEY>" with your key in place of <YOUR_API_KEY>.
  4. 4

    Check the connection

    Run grok mcp doctor better-design, or type /mcps in a session.

Need more detail? Read the official Grok Build MCP documentation.

Config
toml
[mcp_servers.better-design]
url = "https://better-design.com/api/mcp"
headers = { Authorization = "Bearer <YOUR_API_KEY>", X-Better-Design-Client = "grok-build" }

Add the rule

Optional: paste this into your agent's instructions so it uses Better Design on every edit.