fragments/mcp

Discover components, generate UI structures, and validate governance via Fragments MCP server tools.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/fragments-sdk/skills --skill fragments-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fragments/mcp
Source: https://github.com/fragments-sdk/skills/tree/main/skills/mcp
Command: npx skills add https://github.com/fragments-sdk/skills --skill fragments-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you use the Fragments MCP server tools to discover components, generate UI structures, and validate them against governance policies without leaving your agent workflow.

Core Features & Use Cases

  • Component discovery & inspection: Find components by use case or category, then inspect props, examples, and accessibility guidance to implement accurately.
  • UI generation & implementation: Generate a UI element tree from a natural-language prompt or get a one-shot implementation plan with matched components and tokens.
  • Governance validation & design intelligence: Validate a UI spec for policy, token compliance, brand conformance, and accessibility, plus query tokens and component relationship graphs.

Quick Start

Configure the MCP server in .claude/settings.json and then ask your agent to use the tool that discovers components for your target feature.

Frequently Asked Questions about fragments/mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover UI components and query design tokens directly within my agent workflow?

Component discovery and design token querying within agent workflows is enabled by invoking Fragments MCP server tools, allowing you to find components by category and inspect their props, examples, and accessibility guidance.

Can I generate a UI structure from a natural-language prompt and validate it against governance policies?

UI generation from natural-language prompts produces a UI element tree with matched components, which you can then validate for governance, design token compliance, brand conformance, and accessibility within the same workflow.

What is the best way to analyze component relationship graphs and performance metrics for a design system?

Analyzing component relationship graphs and assessing bundle-size performance is done by querying the component graph through the Fragments MCP server, providing direct component intelligence and dependency mapping results.

Do I need to configure an MCP server to use agent-driven UI generation and governance validation?

Configuring the MCP server in .claude/settings.json is required to enable agent-driven UI generation and governance validation, connecting your agent environment to the Fragments design system ecosystem.

Does Fragments MCP work for rapid UI prototyping and one-shot implementation plans?

Rapid UI prototyping with Fragments MCP provides a one-shot implementation plan that matches required components and design tokens, directly validating the generated UI spec against accessibility and brand governance policies.