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

1

Install the Subframe plugin

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

When prompting we recommend using the MCP link found in the Code Inspect panel for a page.
To get the latest version of components in your project, run npx @subframe/cli@latest sync to sync components.

Example prompts

Troubleshooting

Most clients authenticate via OAuth. 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
If your client doesn’t support OAuth (e.g. Antigravity), authenticate using a Subframe token instead. Create a token at Settings > Access Tokens and pass it as a header in your MCP configuration. See the Other clients installation tab for details.
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 May 5, 2026