Framer MCP Server
Connects MCP clients to Framer projects for reading sites, editing CMS content, designing pages with a DSL, managing code components, and previewing changes locally.
README
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-server
Tools
Project
| Tool | Description |
|---|---|
framer_mcp_get_project_info |
Returns project name, URLs, and connection status |
CMS
| Tool | Description |
|---|---|
framer_mcp_list_collections |
Lists all CMS collections with item/field counts |
framer_mcp_get_collection_fields |
Returns field names, types, and IDs for a collection |
framer_mcp_get_collection_items |
Lists items in a collection (title, slug, draft status) |
framer_mcp_get_collection_item |
Returns full field data for a single item |
framer_mcp_add_collection_items |
Adds or updates items (upsert). Returns previous state for undo |
framer_mcp_remove_collection_items |
Deletes items by ID. Returns previous state for undo |
Design
| Tool | Description |
|---|---|
framer_mcp_get_page_context |
Returns DSL command docs + project fonts, components, tokens |
framer_mcp_read_page |
Queries page structure (site-map, node-by-id, components) |
framer_mcp_apply_changes |
Pushes visual changes to the Framer canvas via DSL commands |
framer_mcp_get_code_files |
Lists code component files in the project |
framer_mcp_set_code_file |
Creates or updates a code component file |
Preview & Publish
| Tool | Description |
|---|---|
framer_mcp_preview |
Generates a local HTML preview and opens it in the browser |
framer_mcp_publish |
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-id
Edit 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 it
Design 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 preview
Preview 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 URL
How 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 manipulation - Preview 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 dev
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。