Framer MCP Server
Provides tools to interact with Framer projects, including CMS content management, design via DSL, code component management, preview, and publishing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Framer MCP ServerShow me the homepage structure"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Framer MCP Server
An MCP server that connects Claude Code, Cursor, or any MCP client to your Framer project. Read your site, edit CMS content, design pages with a canvas DSL, manage code components, and preview changes locally -- all from your editor.
Setup
1. Get your Framer API key
Open your project in Framer
Go to Site Settings > General
Scroll to API and create a new key
Copy the project URL from your browser (e.g.
https://framer.com/projects/MyProject--abc123)
2. Configure MCP
Add to your .mcp.json (Claude Code) or MCP settings (Cursor):
{
"mcpServers": {
"framer": {
"command": "npx",
"args": ["-y", "framer-mcp-server"],
"env": {
"FRAMER_PROJECT_URL": "https://framer.com/projects/YourProject--abc123",
"FRAMER_API_KEY": "fr_your_api_key_here"
}
}
}
}Or install globally:
npm install -g framer-mcp-serverRelated MCP server: figma-ui-mcp
Tools
Project
Tool | Description |
| Returns project name, URLs, and connection status |
CMS
Tool | Description |
| Lists all CMS collections with item/field counts |
| Returns field names, types, and IDs for a collection |
| Lists items in a collection (title, slug, draft status) |
| Returns full field data for a single item |
| Adds or updates items (upsert). Returns previous state for undo |
| Deletes items by ID. Returns previous state for undo |
Design
Tool | Description |
| Returns DSL command docs + project fonts, components, tokens |
| Queries page structure (site-map, node-by-id, components) |
| Pushes visual changes to the Framer canvas via DSL commands |
| Lists code component files in the project |
| Creates or updates a code component file |
Preview & Publish
Tool | Description |
| Generates a local HTML preview and opens it in the browser |
| Creates a deployment and returns the preview URL |
Usage Examples
Browse your site
"What pages does my site have?"
→ Uses framer_mcp_read_page with site-map query
"Show me the homepage structure"
→ Uses framer_mcp_get_page_context + framer_mcp_read_page with node-by-idEdit CMS content
"Update the title of my AI project to 'AI Sommelier v2'"
→ Uses framer_mcp_get_collection_items to find the item
→ Uses framer_mcp_add_collection_items to update itDesign changes
"Make the hero section full-screen with centered text"
→ Uses framer_mcp_get_page_context for DSL docs
→ Uses framer_mcp_read_page to get current hero node
→ Uses framer_mcp_apply_changes with DSL commands
→ Uses framer_mcp_preview to generate local previewPreview before pushing
"Preview the homepage"
→ Uses framer_mcp_preview to generate HTML and open in browser
"Publish to staging"
→ Uses framer_mcp_publish to deploy and return the preview URLHow It Works
The server connects to your Framer project via the Framer Server API using a WebSocket connection. It translates MCP tool calls into Framer API operations:
CMS tools use collection/item CRUD methods
Design tools use the Framer agent DSL (
applyAgentChanges,readProjectForAgent) for canvas manipulationPreview reads the full page node tree and converts it to styled HTML
Code tools use
createCodeFile/setFileContentfor React components
All write operations (CMS add/remove, design changes) include undo support by snapshotting previous state.
Development
git clone https://github.com/ericpjtsai/framer-mcp-server.git
cd framer-mcp-server
npm install
cp .env.example .env # Add your credentials
npm run devLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and write shared BitsWeave context, projects, tasks, and work sessions through MCP.
1An MCP server that provides access to Agility CMS. See https://mcp.agilitycms.com for more details.
- AuroraOAuthbuild.aurora
Create, edit, preview, and deploy full-stack web apps to a live URL from any MCP client.
Create, edit, preview, publish, and manage web pages from MCP-capable AI clients.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables programmatic interaction with Framer canvas via a local MCP server and companion plugin, allowing automation of page generation, content updates, and component manipulation.1-
- AlicenseAqualityBmaintenanceEnables MCP clients to read design structure, take screenshots, create nodes, and edit UI directly on Figma canvas via a bridge between MCP and Figma Desktop.10409 npmMIT
- AlicenseAqualityBmaintenanceEnables Codex and other MCP clients to read design context from Figma Desktop via a local bridge, providing design tokens, component trees, and screenshots without an API token.7MIT
- FlicenseNot gradedqualityBmaintenancePrivate remote MCP gateway connecting ChatGPT to one configured Framer project. Exposes read, controlled write, and separate publishing tools over /mcp, with authentication and environment-based security controls.-