Skip to content

Commit ca01e12

Browse files
authored
Merge pull request #64 from webflow/local-installation
Local Installation Documentation
2 parents 45503cf + 190435f commit ca01e12

File tree

1 file changed

+107
-1
lines changed

1 file changed

+107
-1
lines changed

README.md

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Get started by installing Webflow's remote MCP server. The remote server uses OA
3333
{
3434
"mcpServers": {
3535
"webflow": {
36-
"command": "npx mcp-remote https://mcp.webflow.com/sse"
36+
"url": "https://mcp.webflow.com/sse"
3737
}
3838
}
3939
}
@@ -122,6 +122,112 @@ Find older blog posts that mention similar topics and add internal links to my l
122122
Create a hero section card on my home page with a CTA button and responsive design
123123
```
124124

125+
### Reset your OAuth token
126+
127+
To reset your OAuth token, run the following command in your terminal.
128+
129+
```bash
130+
rm -rf ~/.mcp-auth
131+
```
132+
133+
### Node.js compatibility
134+
135+
Please see the Node.js [compatibility guidance on Webflow's developer docs.](https://developers.webflow.com/data/v2.0.0/docs/ai-tools#nodejs-compatibility)
136+
137+
---
138+
139+
140+
## Local Installation
141+
142+
You can also configure the MCP server to run locally. This requires:
143+
144+
- Creating and registering your own MCP Bridge App in a Webflow workspace with Admin permissions
145+
- Configuring your AI client to start the local MCP server with a Webflow API token
146+
147+
### 1. Create and publish the MCP bridge app
148+
149+
Before connecting the local MCP server to your AI client, you must create and publish the **Webflow MCP Bridge App** in your workspace.
150+
151+
### Steps
152+
153+
1. **Register a Webflow App**
154+
- Go to your Webflow Workspace and register a new app.
155+
- Follow the official guide: [Register an App](https://developers.webflow.com/data/v2.0.0/docs/register-an-app).
156+
157+
2. **Get the MCP Bridge App code**
158+
- Option A: Download the latest `bundle.zip` from the [releases page](https://github.com/virat21/webflow-mcp-bridge-app/releases).
159+
- Option B: Clone the repository and build it:
160+
```bash
161+
git clone https://github.com/virat21/webflow-mcp-bridge-app
162+
cd webflow-mcp-bridge-app
163+
```
164+
- Then build the project following the repository instructions.
165+
166+
3. **Publish the Designer Extension**
167+
- Go to **Webflow Dashboard → Workspace settings → Apps & Integrations → Develop → Your App**.
168+
- Click **“Publish Extension Version”**.
169+
- Upload your built `bundle.zip` file.
170+
171+
4. **Open the App in Designer**
172+
- Once published, open the MCP Bridge App from the **Designer → Apps panel** in a site within your workspace.
173+
174+
### 2. Configure your AI client
175+
176+
#### Cursor
177+
178+
Add to `.cursor/mcp.json`:
179+
180+
```json
181+
{
182+
"mcpServers": {
183+
"webflow": {
184+
"command": "npx",
185+
"args": ["-y", "webflow-mcp-server@latest"],
186+
"env": {
187+
"WEBFLOW_TOKEN": "<YOUR_WEBFLOW_TOKEN>"
188+
}
189+
}
190+
}
191+
}
192+
```
193+
194+
#### Claude desktop
195+
196+
Add to `claude_desktop_config.json`:
197+
198+
```json
199+
{
200+
"mcpServers": {
201+
"webflow": {
202+
"command": "npx",
203+
"args": ["-y", "webflow-mcp-server@latest"],
204+
"env": {
205+
"WEBFLOW_TOKEN": "<YOUR_WEBFLOW_TOKEN>"
206+
}
207+
}
208+
}
209+
}
210+
```
211+
212+
### 3. Use the MCP server with the Webflow Designer
213+
214+
- Open your site in the Webflow Designer.
215+
- Open the Apps panel (press `E`) and launch your published “Webflow MCP Bridge App”.
216+
- Wait for the app to connect to the MCP server, then use tools from your AI client.
217+
- If the Bridge App prompts for a local connection URL, call the `get_designer_app_connection_info` tool from your AI client and paste the returned `http://localhost:<port>` URL.
218+
219+
### Optional: Run locally via shell
220+
221+
```bash
222+
WEBFLOW_TOKEN="<YOUR_WEBFLOW_TOKEN>" npx -y webflow-mcp-server@latest
223+
```
224+
225+
```powershell
226+
# PowerShell
227+
$env:WEBFLOW_TOKEN="<YOUR_WEBFLOW_TOKEN>"
228+
npx -y webflow-mcp-server@latest
229+
```
230+
125231
### Reset your OAuth Token
126232

127233
To reset your OAuth token, run the following command in your terminal.

0 commit comments

Comments
 (0)