Skip to main content
Our MCP server lets AI coding assistants like Claude Code, Cursor, and Codex access your Subframe designs directly. Instead of copying code manually, AI can fetch components, pages, and themes from your projects automatically. We also have a separate Subframe Docs MCP server that provides access to Subframe documentation (this site).

Installation

The Subframe plugin for Claude Code sets up the MCP server and agent skills in one install.
1

Install the Subframe plugin

claude plugin marketplace add https://github.com/SubframeApp/subframe && claude plugin install subframe@subframe
The Subframe plugin for Claude Code sets up the MCP server and agent skills in one install.
2

Enable auto-update (recommended)

Keep the Subframe plugin up to date automatically:
  1. Run /plugin to open the plugin manager
  2. Select the Marketplaces tab
  3. Choose the subframe marketplace
  4. Select Enable auto-update
3

Verify installation

Run /mcp to check that the Subframe MCP server is connected, then try asking Claude Code to use Subframe.
4

Create your first design

Follow the Working with AI agents guide to design and implement your first page.

Using the MCP server

Once configured, your AI assistant can access Subframe automatically when you prompt or paste an MCP link to a page from the Code panel. You can get the MCP link for any design by either:
  • Copying the link from the browser address bar
  • Copying the link under Code > Inspect in Subframe
Copy MCP link from Subframe

Available tools

ToolDescriptionInput ParametersReturns
list_componentsLists all components in your projectprojectId (optional)Array of components with id, name, url
list_pagesLists all pages in your projectprojectId (optional)Array of pages with id, name, url
get_component_infoGets the code and metadata for a componentid, name, or url
projectId (optional)
id, name, files
get_page_infoGets the code for a pageid, name, or url
projectId (optional)
id, name, files
get_themeGenerates the Tailwind theme for the projectprojectId (optional)
cssType (optional)
theme config
edit_themeUpdates the Tailwind theme for the projectid, name, or url
projectId (optional)
editUrl
design_pageDesigns UI pages in Subframe. Use to build new UI, iterate on existing UI, explore options, or get a visual starting point to refine.description, variations (1, 2, or 4 strings), flowName
projectId (optional), codeContext (optional), additionalPages (optional)
pageId, reviewUrl
edit_pageEdits an existing Subframe page. Use for targeted changes to an existing page. Describe the changes you want, optionally including code snippets for precision.id, name, or url
description
projectId (optional)
editUrl
get_variationsGets the status and generated code for variations from a design_page call. Use to retrieve variation code for iterating on designs.pageIdstatus, currentPageCode (string or null), variations (array of name, state, code)
If projectId is not specified, the tool will use the first project you have access to. When prompting we recommend using the MCP link found in the Code Inspect panel for a page.
Implement the design at https://app.subframe.com/design/...
To get the latest version of components in your project, run npx @subframe/cli@latest sync to sync components.

Example prompts

Create a new page using the Subframe page at
https://app.subframe.com/PROJECT_ID/design/DESIGN_ID/edit as reference.

Wire up relevant app logic (API calls, hooks, routing) where applicable.
Keep it consistent with existing project conventions.
Update the existing page to match the Subframe design at
https://app.subframe.com/PROJECT_ID/design/DESIGN_ID/edit.

Preserve all existing functionality unless the new design requires a change.
Review the Subframe design at
https://app.subframe.com/PROJECT_ID/design/DESIGN_ID/edit and add proper
accessibility attributes to the existing page.

Add ARIA labels, roles, and descriptions, and proper semantic HTML throughout.
Migrate the components on the existing page to use Subframe components instead
of the old components.

Get all components in my Subframe project and preserve all existing
functionality unless the new design requires a change.
Get the Button component from Subframe and use it in this file
Show me all components in my Subframe project
Get my Subframe theme configuration

Troubleshooting

The MCP server uses OAuth for authentication. If you’re seeing authentication errors:
  • Try re-authenticating by reconnecting to the MCP server in your client
  • Check that you have the correct permissions for the project you’re trying to access
  • Make sure your browser session is active when authenticating
Make sure your AI tool:
  • Has MCP support enabled
  • Has the Subframe server in its MCP configuration
  • Has been restarted after adding the configuration
Check your tool’s logs for MCP-related errors.
Use list_components or list_pages to see what’s available.Verify:
  • The component/page exists in your Subframe project
  • The name or URL matches exactly
  • You have access to the project
If the MCP server is unreachable:
  • Check your internet connection
  • Verify the URL is https://mcp.subframe.com/mcp
  • Reach out to the Subframe team for support
Last modified on February 13, 2026