Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.21 KB

File metadata and controls

58 lines (41 loc) · 2.21 KB

@primer/brand-mcp

0.72.0

Patch Changes

  • #1400 29cf9f0 Thanks @rezrah! - Improves guidance and examples delivered through the Primer Brand MCP tools:

    • Improves guidance delivered through the primer_brand_review tool.
    • Cleaner output from the primer_brand_examples tool.
    • Add new page design guidance advising that River descriptions are limited to 160 characters and the default 50:50 image-to-text ratio is preferred.
    • Improved guidance on imagery used in Hero and River components

0.71.0

Patch Changes

  • #1395 42b27ee Thanks @rezrah! - Expanded the primer_brand_page_design guidance with clearer instructions on:

    • containing content within the gridline column
    • preserving typographic hierarchy
    • respecting icon color rules

0.70.0

Minor Changes

  • #1384 d117f36 Thanks @rezrah! - Added @primer/brand-mcp, a Model Context Protocol (MCP) server that helps AI agents use Primer Brand correctly when building GitHub marketing and landing pages.

    It exposes version-aware tools like:

    • primer_brand_setup
    • primer_brand_page_design
    • primer_brand_component
    • primer_brand_examples
    • primer_brand_tokens
    • primer_brand_asset
    • primer_brand_docs
    • primer_brand_review

    These tools read the @primer/react-brand package that you already have installed and validates JSX and CSS against Primer design system conventions during agentic development.

    Add it to your MCP client using npx @primer/brand-mcp.

    For Copilot CLI, add the following to your ~/.copilot/mcp-config.json:

    {
      "mcpServers": {
        "primer-brand": {
          "type": "local",
          "command": "npx",
          "args": ["@primer/brand-mcp@latest"],
          "tools": ["*"]
        }
      }
    }