import
Import an existing design system into Subframe by discovering files on disk, building a manifest, and uploading via the CLI.
Availability: The design system import feature is currently only available for select teams. If the CLI returns an error like
"Design system import is not enabled for this team", this means the feature has not been enabled for the user's team. Direct the user to request access here. Do not retry or troubleshoot further — this is an access gate, not a bug.
Goal state: All design system files are uploaded to Subframe for processing.
Credentials
The CLI needs an auth token and project ID. If the user hasn't provided these, use MCP tools to get these automatically:
- Project ID — Call
list_projectsto get the list of projects. Each project includes aprojectId,name,teamId, andteamName.- One project: Use it automatically.
- Multiple projects: Always ask the user which project to use. Present each project with its
teamNameto disambiguate. If the user already mentioned a specific team or project name, match it against theteamNameandnamefields — but still confirm before proceeding. Never silently pick a project when multiple exist.
- Auth token — Call
generate_auth_tokenwith theteamIdfrom the user's selected project. Do not use ateamIdfrom a different project.
The project ID is also visible in any Subframe URL: app.subframe.com/<PROJECT_ID>/...
Fallback: If the MCP tools are not available, direct the user to https://app.subframe.com/cli/auth to get their auth token and project ID.
More from subframeapp/subframe
design
Design UI pages in Subframe. Use when building new UI, iterating on existing UI, exploring design options, or to get a visual starting point to refine in the Subframe design tool. Don't write UI code directly - design first, then implement with /subframe:develop.
482setup
Initialize Subframe in a new or existing project. Sets up the CLI, syncs components, configures Tailwind and fonts.
474develop
Implement Subframe designs with business logic. Use after designing with /subframe:design or when given a Subframe URL/page ID.
473