$ timeahead.in
/ servers/npm/@primer/mcp
npm

@primer/mcp

An MCP server that connects AI tools to the Primer Design System

4k stars6k/wkupdated 0d agogithub ↗
82good
▣ Overview

What it does

An MCP server that integrates the Primer Design System with AI assistants. It reads design documentation and tokens from the filesystem, makes network requests to fetch current design specifications, and can write generated React components or design artifacts to disk. The server acts as a bridge between AI tools and Primer's component library, enabling code generation, component validation, and design consistency checks aligned with GitHub's design standards.

Who it's for

React developers and teams building applications with the Primer Design System who want AI assistance for component generation, design validation, documentation queries, and maintaining consistency with Primer patterns across a project.

Common use cases

  • Generate Primer-compliant React components from natural language descriptions or design specs
  • Reference and query Primer design tokens, spacing systems, and component APIs while coding
  • Validate component implementations against Primer design guidelines
  • Access design system documentation and best practices through AI queries

Setup pitfalls

  • A secret was detected in the codebase—review and rotate it if it was exposed in version control history
  • Requires filesystem read and write permissions for accessing design files and writing generated component output
  • Requires network connectivity to retrieve Primer design specifications and documentation
  • Documentation is limited for this MCP server; test expected capabilities and integration patterns early
1 credential detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
80
28.0
Freshness
25%
100
25.0
Adoption
20%
81
16.2
Quality
10%
80
8.0
Trust
10%
50
5.0
Total
82.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "primermcp": {
      "command": "npx",
      "args": [
        "-y",
        "@primer/mcp"
      ]
    }
  }
}
📈 Score historylast 40 snapshots
5/10/20266/21/2026 · 40 snapshots
⚙ Maintenance health
76/ 100 · is this project alive?
contributors (1y)46
top contributor share15%
releases (1y)71
last release2d ago
median issue response1431.2d
ci✓ passing
⛁ Raw data
weekly downloads6k
github stars4k
forks667
open issues79
license✓ present
readme length2321 chars
last publish0d ago
last commit0d ago
last updated5d ago
install verified✗ fail · 44d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points