Gene Library Courses Download Pricing Contact Sign in
subframe logo
design Official Website

Subframe MCP Server – AI UI Design and Components

Subframe's official MCP server gives AI coding assistants authenticated access to live Subframe projects. Use it to design, inspect, edit, and delete pages, components, snippets, and flows; write design documentation; manage themes; and retrieve generated React and Tailwind code.

#ui-design#design-systems#design-to-code

Overview

Subframe's official MCP server connects compatible AI coding assistants directly to Subframe projects. It lets an agent work with live design-system context, generated React and Tailwind code, design documents, flows, snippets, themes, pages, and components instead of relying only on screenshots or copied snippets.

What the MCP server enables

Subframe documents tools across several design and implementation categories. Depending on project access, an AI agent can:

  • List accessible projects and retrieve project metadata.
  • List, inspect, design, edit, and delete pages.
  • Generate one to four page variations as asynchronous jobs.
  • List, inspect, design, edit, and delete components.
  • Propagate component edits to pages that use those components.
  • Create and edit standalone UI snippets.
  • List and inspect user flows and delete flows when appropriate.
  • Write or update project-level and component-level design documents.
  • Retrieve generated React and Tailwind code for pages, components, and snippets.
  • Read and edit the project theme, including colors, fonts, corners, shadows, typography, and tokens.
  • Wait for asynchronous design jobs and retrieve their final results.

When to use it

Use Subframe MCP when an AI coding workflow needs direct access to a real UI design system. Typical uses include designing new application pages, creating reusable components, updating an existing design, generating implementation code, documenting component usage and accessibility guidance, reviewing available components, and migrating an existing interface to Subframe's design system.

It is especially useful when an agent must work with both the Subframe project and a local codebase in the same session.

Connection and authentication

The official hosted endpoint is https://mcp.subframe.com/mcp over HTTP. Compatible clients authenticate through OAuth, and the client handles the browser-based sign-in flow.

Subframe also provides a separate documentation MCP server at https://docs.subframe.com/mcp, but this YAML describes only the project-design server. Subframe access tokens are not accepted by the MCP server; use the documented OAuth flow instead.

Key considerations

Write and delete operations can affect live design-system resources. Page, component, and snippet deletions should be reviewed carefully, especially when references exist. Theme token deletion is destructive because existing references are replaced with concrete values. Some design operations run asynchronously and must be polled with the returned job ID before reading the final state. Access remains limited by the authenticated user's project permissions, and long-running jobs may be treated as stalled after approximately ten minutes.

Supported Transports

streamable_http

URL: https://mcp.subframe.com/mcp

Frequently Asked Questions

When should an AI agent use the Subframe MCP server?
Use it when a workflow needs live access to Subframe projects for designing pages or components, editing themes, managing snippets and flows, writing design documents, or retrieving generated React and Tailwind code.
What does the Subframe MCP server add to an AI agent's capabilities?
It gives the agent authenticated access to current Subframe project resources and design tools, allowing it to create, inspect, edit, and delete UI assets instead of relying only on screenshots or manually copied code.
What can an AI agent access or manage through Subframe MCP?
Depending on permissions, the agent can work with projects, pages, components, snippets, flows, design documents, themes, asynchronous design jobs, and generated React and Tailwind files.
How is authentication configured for the Subframe MCP server?
The hosted server uses OAuth through the MCP client. The user completes a browser-based Subframe sign-in and authorization flow. Subframe access tokens are not accepted by this MCP server.
Which transport should be used for the Subframe MCP server?
Use Streamable HTTP with https://mcp.subframe.com/mcp. Subframe documents this hosted OAuth endpoint for project access and does not require a local stdio or SSE connection for the main server.