Skip to content
← All install options

Install Better Design MCP in Qwen Code

Setup

  1. 1

    Install Qwen Code

    Skip this if you have it. Otherwise run npm install -g @qwen-code/qwen-code@latest.
  2. 2

    Open the config file

    Use ~/.qwen/settings.json for every project. .qwen/settings.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 mcpServers and save. Or run qwen mcp add --scope user --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

    Restart Qwen Code, then type /mcp in a session.

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

Config
json
{
  "mcpServers": {
    "better-design": {
      "httpUrl": "https://better-design.com/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>",
        "X-Better-Design-Client": "qwen-code"
      }
    }
  }
}

Add the rule

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