Documentation Index Fetch the complete documentation index at: https://subframe-59800133-gtmbot-restructure-dark-mode-docs-v2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Agent skills are structured instructions that teach AI assistants how to use tools correctly. While the MCP server gives your AI the ability to access Subframe, skills give it the knowledge of how to use it well.
Skills are an open standard ↗ and becoming widely adopted throughout the industry.
Installation
Claude Code
Claude Desktop
Cursor
Codex
Other clients
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.
Enable auto-update (recommended)
Keep the Subframe plugin up to date automatically:
Run /plugin to open the plugin manager
Select the Marketplaces tab
Choose the subframe marketplace
Select Enable auto-update
Verify installation
Run /mcp to check that the Subframe MCP server is connected, then try asking Claude Code to use Subframe.
Add the Subframe connector
Go to Customize > Connectors
Click and select Add custom connector
Set the name to Subframe
For Remote MCP Server URL , paste the following URL:
https://mcp.subframe.com/mcp
Click Add
Authenticate
Find the Subframe connector in your connectors list and click Connect . Follow the instructions on the Subframe website to complete authentication.
Install MCP servers
Add the Subframe MCP servers to Cursor. You’ll be prompted to authenticate via OAuth.
Troubleshooting: Manual installation
If the install links don’t work, make the following changes to ~/.cursor/mcp.json. {
"mcpServers" : {
"subframe" : {
"url" : "https://mcp.subframe.com/mcp"
},
"subframe-docs" : {
"url" : "https://docs.subframe.com/mcp"
}
}
}
Cursor will handle OAuth authentication automatically when you first connect.
Install agent skills
Agent skills are guided workflows that teach Cursor how to best use Subframe. Install them with: npx skills add https://github.com/SubframeApp/subframe --skill '*' -g --agent cursor --yes
Verify installation
Check that the Subframe MCP server has successfully connected in Cursor Settings > MCP , then try asking Cursor to use Subframe.
Install MCP servers
Run the following commands to add the Subframe MCP servers and authenticate: codex mcp add subframe --url https://mcp.subframe.com/mcp && codex mcp add subframe-docs --url https://docs.subframe.com/mcp && codex mcp login subframe
Troubleshooting: Manual installation
If the commands above don’t work, add the following to ~/.codex/config.toml: [ mcp_servers . subframe ]
url = "https://mcp.subframe.com/mcp"
[ mcp_servers . subframe-docs ]
url = "https://docs.subframe.com/mcp"
Then authenticate:
Install agent skills
Agent skills are guided workflows that teach Codex how to best use Subframe. Install them with: npx skills add https://github.com/SubframeApp/subframe --skill '*' -g --agent codex --yes
Verify installation
Run /mcp in Codex to check that the Subframe MCP server is connected, then try asking Codex to use Subframe.
Configure the Subframe MCP Server
Configure your MCP client to connect to the Subframe MCP server:
URL: https://mcp.subframe.com/mcp
Transport: HTTP
Authentication: OAuth (your client will handle the authentication flow)
Configure the Subframe Docs MCP Server (optional)
Optionally add the Subframe Docs MCP server for documentation access:
URL: https://docs.subframe.com/mcp
Transport: HTTP
Authentication: None required
Install agent skills (optional)
If your client supports the Agent Skills standard, install the Subframe skills with: npx skills add https://github.com/SubframeApp/subframe --skill '*' --agent '*' --yes
Verify installation
Restart your MCP client, then check that the Subframe MCP server has successfully connected and try asking your AI assistant to use Subframe.
Client doesn’t support OAuth? Some clients (e.g. Antigravity) do not support OAuth for custom MCP servers. Instead, authenticate using a Subframe token passed as a header:
Create a token at Settings > Access Tokens
Use the following MCP server configuration:
{
"mcpServers" : {
"subframe" : {
"url" : "https://mcp.subframe.com/mcp" ,
"headers" : {
"Authorization" : "Bearer <YOUR_SUBFRAME_TOKEN>"
}
},
"subframe-docs" : {
"url" : "https://docs.subframe.com/mcp"
}
}
}
You may need to restart your client or start a new conversation for it to pick up the configuration.
Available skills
/subframe:design — Designs UI pages in Subframe. Use when you want to build new UI, iterate on existing UI, explore design options, or get a visual starting point to refine. Gathers context from your codebase, generates variations, and returns a review URL to preview and select.
/subframe:develop — Implements designs with business logic. Fetches the design via get_page_info, syncs components if needed, places the page in your codebase, and wires up data fetching, forms, event handlers, and loading/error states.
/subframe:setup — Initializes Subframe in a new or existing project. Detects the framework, runs the CLI, configures Tailwind and fonts, and syncs components.
Next steps
See these skills in action in the Working with AI agents guide, which walks through the full design-to-code workflow.
Keep skills up to date
Claude Code
The Subframe plugin for Claude Code bundles the MCP server and skills together. To enable auto-updates:
Run /plugin to open the plugin manager
Select the Marketplaces tab
Choose the subframe marketplace
Select Enable auto-update
Manually update the plugin
Reload the plugin to pick up the latest version:
If that doesn’t work, reinstall the plugin:
claude plugin uninstall subframe@subframe && claude plugin install subframe@subframe
Cursor, Codex, and other clients
Check for available skill updates:
Update all skills to the latest versions:
Or re-run the original install command to get the latest version.
Enable for your team
If you use Claude Code, you can add Subframe to your project settings so team members are automatically prompted to install the plugin when they open the project.
Add the following to .claude/settings.json in your repository root:
{
"enabledPlugins" : {
"subframe@subframe" : true
},
"extraKnownMarketplaces" : {
"subframe" : {
"source" : {
"source" : "github" ,
"repo" : "SubframeApp/subframe"
}
}
}
}
Commit this file to your repository. When a team member opens the project in Claude Code, they’ll be prompted to install the Subframe marketplace and plugin.
FAQ
A skill can't be found or doesn't work as expected
Skills depend on the MCP server being properly connected. Check these:
Make sure the MCP server is running and connected
Update to the latest version — see Keep skills up to date