1. Conduid
  2. Content
  3. MCP
MCP server · Content

MCP

An implementation of GitHub's Primer Design System using React

87Strong

Scored 20 hours ago · breakdown

About MCP

MCP is an MCP server published by primer in the Content category: an implementation of GitHub's Primer Design System using React. Conduid read 20 tools from its source: find_tokens, get_color_usage, get_component, get_component_accessibility_guidelines, get_component_batch, get_component_examples and 14 more. It is published to npm as @primer/mcp and starts with npx.

The repository has 3.9K stars and 737 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is @primer/react@38.47.0 (23 Nov 2026): Minor Changes 8688 92a1fca Thanks @rickyzhangca. It follows @primer/react@38.46.0 (13 Nov 2026), and the 5 most recent releases go back to @primer/mcp@1.1.2 (23 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include component-library, design-system, primer and react.

Install

Claude Code
claude mcp add mcp-7cf3 -- npx -y @primer/mcp
npx
npx -y @primer/mcp
From source
git clone https://github.com/primer/react

Tools (20)

find_tokensSearch for specific tokens. Tip: If you only provide a 'group' and leave 'query' empty, it returns all tokens in that category. Avoid property-by-property searching. COLOR RESOLUTION: If a user asks for "pink" or "blue", do not search for the color name. Use the semantic intent: blue->accent, red->danger, green->success. Always check both "emphasis" and "muted" variants for background colors. After identifying tokens and writing CSS, you MUST validate the result using lint_css.
ParameterTypeDescription
groupstringFilter by group (e.g., "fgColor", "border")
limitnumberMaximum results to return to stay within context limits
querystringSearch keywords (e.g., "danger border", "success background")
get_color_usageGet the guidelines for how to apply color to a user interface
get_componentRetrieve official documentation and usage details for exactly one React component from the @primer/react package. Use get_component_batch for 2 to 10 components.
ParameterTypeDescription
name *stringThe name of the component to retrieve
get_component_accessibility_guidelinesRetrieve accessibility guidelines and best practices for a specific component from the @primer/react package by its name. Use this tool to get official accessibility recommendations, usage tips, and requirements to ensure your UI components are inclusive and meet accessibility standards.
ParameterTypeDescription
name *stringThe name of the component to retrieve
get_component_batchRetrieve official documentation and usage details for 2 to 10 React components from the @primer/react package in one call. Use get_component for exactly one component.
ParameterTypeDescription
names *arrayComponent names to retrieve (e.g. ["ActionMenu", "Button", "Pagination"])
get_component_examplesGet examples for how to use a component from Primer React
ParameterTypeDescription
name *stringThe name of the component to retrieve
get_component_usage_guidelinesGet usage information for how to use a component from Primer
ParameterTypeDescription
name *stringThe name of the component to retrieve
get_design_token_specsCRITICAL: CALL THIS FIRST. Provides the logic matrix and the list of valid group names. You cannot search accurately without this map.
get_iconGet a specific icon (octicon) by name from Primer
ParameterTypeDescription
name *stringThe name of the icon to retrieve
sizestringThe size of the icon to retrieve, e.g. "16"
get_patternGet a specific pattern by name. Scenario patterns describe specific user tasks. Prefer a scenario pattern when one fits the task, and fall back to the more generic UI patterns otherwise.
ParameterTypeDescription
name *stringThe name of the pattern to retrieve
get_token_group_bundlePREFERRED FOR COMPONENTS. Fetch all tokens for complex UI (e.g., Dialogs, Cards) in one call by providing an array of groups like ['overlay', 'shadow']. Use this instead of multiple find_tokens calls to save context.
ParameterTypeDescription
groups *arrayArray of group names (e.g., ["overlay", "shadow", "focus"])
get_token_usage_patternsProvides "Golden Example" CSS for core patterns: Button (Interactions) and Stack (Layout). Use this to understand how to apply the Logic Matrix, Motion, and Spacing scales.
get_typography_usageGet the guidelines for how to apply typography to a user interface
initSetup or create a project that includes Primer React
lint_cssREQUIRED FINAL STEP. Use this to validate your CSS. You cannot complete a task involving CSS without a successful run of this tool.
ParameterTypeDescription
css *string
list_componentsList all of the components available from Primer React
list_iconsList all of the icons (octicons) available from Primer Octicons React
list_patternsList all of the patterns available from Primer React. Scenario patterns describe specific user tasks. Prefer a scenario pattern when one fits the task, and fall back to the more generic UI patterns otherwise.
primer_coding_guidelinesGet the guidelines when writing code that uses Primer or for UI code that you are creating
review_alt_textEvaluates image alt text against accessibility best practices and context relevance.
ParameterTypeDescription
alt *stringThe alt text of the image being evaluated
image *stringThe image URL or file path being evaluated
surroundingText *stringText surrounding the image, relevant to the image.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 224 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.

2 checks have not been run yet.

Releases

@primer/react@38.47.0@primer/react@38.47.0 · 23 Nov 2026Minor Changes 8688 `92a1fca` Thanks @rickyzhangca! - DataTable: Describe group selection checkboxes with the member count. Add count-label formatters for localizing checkbox and disclosure descriptions in DataTable and Table.Group. 8768…
@primer/react@38.46.0@primer/react@38.46.0 · 13 Nov 2026Minor Changes 8592 `0ae18d3` Thanks @liuliu-dev! - Card: Add optional shadows, regular (16px) and spacious (24px) padding in either layout, and heading links and buttons with opt-in full-card hit areas using fullCardHitArea. Existing…
@primer/react@38.45.0@primer/react@38.45.0 · 6 Nov 2026Permalink to documentation Minor Changes 8034 `f80b27c` Thanks @copilot-swe-agent! - Blankslate: Add compact-default sizing and default-sized primary actions behind the default-off `primer_react_blankslate_compact_default` feature flag.…
@primer/react@38.44.0@primer/react@38.44.0 · 3 Nov 2026Minor Changes 8533 `714cb96` Thanks @rickyzhangca! - DataTable, Table.Group: Add controlled and uncontrolled group expansion without changing row selection. Patch Changes 8533 `714cb96` Thanks @rickyzhangca! - Table.SelectionHeader:…
@primer/mcp@1.1.2@primer/mcp@1.1.2 · 23 Oct 2026Patch Changes 8582 `e0524db` Thanks @Pranay623! - Update component MCP tools to match on the slug of components for HTTP requests to primer.style Updated dependencies [`c29b6fe`, `6f52273`, `746d76a`, `746d76a`, `746d76a`, `c29b6fe`,…

README

The repository's README runs to about 224 words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About MCP

How do I install MCP?

In Claude Code, run claude mcp add mcp-7cf3 -- npx -y @primer/mcp. Other MCP clients take the command after "--" in their server configuration.

Is MCP safe to use with an AI agent?

Its trust score is 87 out of 100 (strong). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is MCP still maintained?

Yes — the latest release is @primer/react@38.47.0 (23 Nov 2026), and the last commit was 23 hours ago. The repository has 3.9K stars and 149 open issues.

What tools does MCP provide?

Conduid read 20 tools from the source: find_tokens, get_color_usage, get_component, get_component_accessibility_guidelines, get_component_batch, get_component_examples, get_component_usage_guidelines, get_design_token_specs and 12 more. 11 of them publish their parameters, listed under Tools above.

What license is MCP released under?

The repository declares the MIT license. That applies to the latest release, @primer/react@38.47.0, as well.