Skip to content
← All install options

Install Better Design MCP in Autohand Code

Setup

  1. 1

    Install Autohand Code

    Skip this if you have it. Otherwise run npm install -g autohand-cli.
  2. 2

    Open the config file

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

    Paste the block

    Merge the Config block below under mcp and save.
  4. 4

    Check the connection

    Run autohand doctor, or type /mcp list in a session.

Need more detail? Read the official Autohand Code MCP documentation.

Config
json
{
  "mcp": {
    "enabled": true,
    "servers": [
      {
        "name": "better-design",
        "transport": "http",
        "url": "https://better-design.com/api/mcp",
        "headers": {
          "Authorization": "Bearer <YOUR_API_KEY>",
          "X-Better-Design-Client": "autohand"
        },
        "autoConnect": true
      }
    ]
  }
}

Add the rule

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