Skip to content

Commit 2e06177

Browse files
authored
Merge pull request #48 from webflow/instructions-vs-code
README instructions for VS Code.
2 parents ea94653 + ec5e8de commit 2e06177

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,26 @@ A Node.js server implementing Model Context Protocol (MCP) for Webflow using the
6969

7070
4. Click `Save`, Windsurf will automatically open a new browser window showing an OAuth login page to authorize the Webflow sites you want the MCP server to have access to.
7171

72+
**For VS Code:**
73+
74+
1. Open `settings.json`
75+
2. Paste the following configuration (or add the `webflow` part to your existing configuration)
76+
77+
```json
78+
{
79+
"mcp": {
80+
"servers": {
81+
"webflow": {
82+
"command": "npx",
83+
"args": ["mcp-remote", "https://mcp.webflow.com/sse"]
84+
}
85+
}
86+
}
87+
}
88+
```
89+
90+
4. `Save` the file. You should see a `start` button appear over the "webflow" key which you can click to open and run the auth flow. Alternatively, restart VS Code and the auth flow should start automatically.
91+
7292
**Important note**
7393

7494
All these methods rely on the `mcp-remote` [npm package](https://www.npmjs.com/package/mcp-remote) which is still considered experimental as of 04/30/2025.
@@ -202,12 +222,13 @@ collections - items - update - items; // Update collection items (staged)
202222
collections - items - publish - items; // Publish collection items
203223
```
204224

205-
### Custom Code
225+
### Custom Code
226+
206227
```
207228
custom code - add - inline - site - script // Register an inline script for a site
208229
custom code - get - registered - site - script - list // List all scripts registered to a site
209230
custom code - get - applied - site - script - list //Get all scripts applied to a site
210-
custom code - delete site custom code // Remove scripts from a site
231+
custom code - delete site custom code // Remove scripts from a site
211232
```
212233

213234
# 🗣️ Prompts & Resources
@@ -247,4 +268,5 @@ npm start
247268
## ⚠️ Known Limitations
248269

249270
### Static Page Content Updates
271+
250272
The pages_update_static_content endpoint currently only supports updates to localized static pages in secondary locales. Updates to static content in the default locale are not supported and will result in errors.

0 commit comments

Comments
 (0)