Builder local MCP
Enterprise plans
Connect your AI coding assistant to Builder's MCP to bring Builder prototypes into your repo, push local branches for visual collaboration, and generate code grounded in your design system
Note: For details on the Publish MCP, visit Builder CMS MCP Server.
Key features
The Builder MCP server connects your AI coding assistant to your branches and design system documentation in Builder. This enables AI-powered code generation that follows your design system's components, patterns, and tokens, and allows you to move code and context seamlessly between Builder and your IDE.
With the Builder MCP, your AI assistant can:
- Access component usage guidelines and code examples
- Import Figma designs into your IDE using Builder's Figma Plugin
- Implement code using your design system
- Translate Builder prototypes to code locally
- Sync content between your local environment and Builder
Install the Builder MCP
Setting up the Builder MCP only takes a few steps:
- Confirm all prerequisites are met.
- Authenticate with Builder on the command line.
- Configure your IDE.
Check prerequisites
To use the Builder MCP, you must have a Builder account. Additionally, make sure Node.js v20 or later is installed.
Authenticate with Builder
Run this command and follow the prompts to sign in:
This stores your credentials locally for future use.
Configure your IDE
Depending on your local setup, follow the instructions below to configure your AI agent to work with Builder's MCP.
Claude Code
Add the following to your global config at ~/.claude/settings.local.json or to your .mcp.json file within your application's root.
You can also use the command line, running the following command:
Cursor
Add the following to your global config at ~/.cursor/mcp.json or to your .cursor/mcp.json file within your application's root.
After adding the configuration, restart Cursor or open the Command Palette and run MCP: Restart Servers.
VS Code with GitHub Copilot
Add the following to your .vscode/mcp.json file within your application's root.
After adding the above:
- Open Command Palette (Cmd/Ctrl + Shift + P).
- Run MCP: List Servers.
- Click Start to initialize the server.
Builder MCP features
The Builder MCP server provides several tools to your AI assistant.
List design systems and docs
Request a list of all design systems from your AI assistant:
Example Prompt
You can also request documentation for components, tokens, icons, or agents:
Example Prompt
Get specific documentation
Request documentation for a specific design system item, providing an ID:
Example Prompt
Create implementation plan with your design system
The Builder MCP can analyze a prompt and develop a plan using your design system.
Example Prompt
Implement code with your design system
Builder MCP can directly implement UI code in your project using your design system.
Example Prompt
When combined with a Figma design, the AI assistant:
- Analyzes your design system's available components and tokens
- Generates implementation code following your project's patterns
- Writes files directly to your project
- Returns a summary of files changed with line counts
Note: A 5-minute timeout is in place to prevent runaway operations.
Implement Builder prototypes
Implement Builder prototypes directly in your local project by providing a Project URL.
Example Prompt
You can also provide specific instructions:
Example Prompt
Usage examples
Once configured, query your AI assistant with prompts like the following:
- "What button components are available in my design system?"
- "Show me how to use the Card component with an image and action buttons."
- "Create a user profile page with an avatar, name, bio, and recent activity list."
- "Implement this design using my design system:
vcp-123abc."
Convert Figma designs to code
The Builder MCP can read Figma designs exported from the Builder Figma plugin. This allows your AI assistant to understand the visual design and implement it using your design system.
Get a quick copy ID from Figma
To access the quick copy ID from Figma:
- Open your design in Figma.
- Select the frame or component you want to export.
- Open the Builder Figma Plugin plugin.
- Click Smart Export or Export to Code.
- Wait for the export to complete.
- Copy the Quick Copy ID displayed in the plugin. The code should look something like
vcp-abc123def456.
Use the quick copy ID with your AI assistant
Once you have the Quick Copy ID, you can reference it in prompts to your AI assistant:
Example Prompt
In response to this prompt, your AI assistant:
- Reads the exported Figma design data.
- Analyzes your design system's available components.
- Creates an implementation plan that matches the design while using your existing components.
For more details on the Figma plugin workflow, see Generate Code with Builder CLI.