Thanks to visit codestin.com
Credit goes to www.typeui.sh

Use TypeUI with GitHub Copilot

Connect GitHub Copilot to TypeUI so Agent Mode can use design systems, UI prompts, and layout variations.

Open GitHub Copilot

Open your project in Visual Studio Code with GitHub Copilot enabled.

Add TypeUI to GitHub Copilot

Click the button below to install TypeUI for GitHub Copilot in VS Code:

Install for GitHub Copilot

If the button does not open VS Code, run this command from your terminal:

Run in terminal
code --add-mcp '{"name":"typeui","type":"http","url":"https://mcp.typeui.sh/mcp"}'

You can also add TypeUI directly to your workspace by creating .vscode/mcp.json:

Plain text
{
  "servers": {
    "typeui": {
      "type": "http",
      "url": "https://mcp.typeui.sh/mcp"
    }
  }
}

Sign in with TypeUI if GitHub Copilot asks you to authorize the connection.

Create a draft

Review the markdown

Open View markdown source files and review them before publishing.

Files to review

The main entry file. It tells AI tools how to use this design system and where to look next.Logo and brand asset guidance. Colors, typography, and spacing stay in their own files.Color tokens and usage guidance for brand, surfaces, text, borders, and states.Font families, sizes, weights, line heights, headings, labels, and body text rules.Spacing, grids, containers, responsive behavior, and layout structure rules.Button sizes, variants, states, icon spacing, focus behavior, and accessibility rules.+14 more

Edit the source files

Adjust the markdown when you need clearer rules, stronger component guidance, or product-specific language. After publishing, TypeUI MCP uses your saved edits when it helps your AI tool build UI.

Publish for MCP

Publish when ready so your MCP-connected AI tool can use it.

Start building UI

Use TypeUI to help me build a landing page.

Tell GitHub Copilot what to build. TypeUI helps it choose the right style and layout.

Review and refine

Run your app and review the changes. Ask GitHub Copilot for targeted improvements:

I don't like this pricing section, give me more variations.

TypeUI will now create three pricing variations so you can compare different layouts before choosing one.

Three pricing cards prompt preview
TypeUITypeUIPro

After you choose a direction, tell GitHub Copilot which one to use:

I like the comparison one. Let's use it.

Once GitHub Copilot is connected to TypeUI, you can keep working in the same flow: choose a design system, ask for the interface you need, review the generated variations, and tell Copilot which direction to continue with.