You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+72-49Lines changed: 72 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Webflow MCP
2
2
3
-
A Node.js server implementing Model Context Protocol (MCP) for Webflow using the [Webflow JavaScript SDK](https://github.com/webflow/js-webflow-api). Enable AI Clients to interact with the [Webflow APIs](https://developers.webflow.com/data/reference) through the Model Context Protocol (MCP). Learn more about Webflow's APIs in the [developer documentation](https://developers.webflow.com/data/reference).
3
+
A Node.js server implementing Model Context Protocol (MCP) for Webflow using the [Webflow JavaScript SDK](https://github.com/webflow/js-webflow-api). Enable AI agents to interact with Webflow APIs. Learn more about Webflow's Data API in the [developer documentation](https://developers.webflow.com/data/reference).
@@ -15,42 +15,60 @@ A Node.js server implementing Model Context Protocol (MCP) for Webflow using the
15
15
16
16
1.**Get your Webflow API token**
17
17
18
-
- Go to [Webflow's API Playground](https://developers.webflow.com/data/reference/token/authorized-by)
19
-
- Log in and generate a token
20
-
- Copy the token from the Request Generator
21
-

18
+
- Go to [Webflow's API Playground](https://developers.webflow.com/data/reference/token/authorized-by)
19
+
- Log in and generate a token
20
+
- Copy the token from the Request Generator
21
+

22
22
23
23
2.**Add to your AI editor**
24
24
25
-
```json
26
-
{
27
-
"mcpServers": {
28
-
"webflow": {
29
-
"command": "npx",
30
-
"args": ["-y", "webflow-mcp-server@0.3.0"],
31
-
"env": {
32
-
"WEBFLOW_TOKEN": "YOUR_API_TOKEN"
33
-
}
34
-
}
35
-
}
36
-
}
37
-
```
38
-
39
-
**For Cursor:**
40
-
41
-
1. Go to Settings → Cursor Settings → MCP
42
-
2. Click `+ Add New Global MCP Server`
43
-
3. Paste configuration
44
-
4. Replace `YOUR_API_TOKEN` with the token you copied earlier
45
-
5. Save and **restart** Cursor
46
-
47
-
**For Claude Desktop:**
48
-
49
-
1. Open Settings → Developer
50
-
2. Click `Edit Config`
51
-
3. Open `claude_desktop_config.json` in a code editor and paste configuration
52
-
4. Replace `YOUR_API_TOKEN` with the token you copied earlier
53
-
5. Save and **restart** Claude
25
+
```json
26
+
{
27
+
"mcpServers": {
28
+
"webflow": {
29
+
"command": "npx",
30
+
"args": ["-y", "webflow-mcp-server@0.4.0"],
31
+
"env": {
32
+
"WEBFLOW_TOKEN": "<YOUR_WEBFLOW_TOKEN>"
33
+
}
34
+
}
35
+
}
36
+
}
37
+
```
38
+
39
+
Or if you'd like to connect to Webflow's official remote MCP server:
40
+
41
+
```json
42
+
{
43
+
"mcpServers": {
44
+
"webflow-remote": {
45
+
"command": "npx",
46
+
"args": [
47
+
"-y",
48
+
"mcp-remote",
49
+
"<URL>/sse",
50
+
"--header",
51
+
"Authorization: Bearer <YOUR_WEBFLOW_TOKEN>"
52
+
]
53
+
}
54
+
}
55
+
}
56
+
```
57
+
58
+
**For Cursor:**
59
+
60
+
1. Go to Settings → Cursor Settings → MCP
61
+
2. Click `+ Add New Global MCP Server`
62
+
3. Paste configuration
63
+
4. Replace `YOUR_WEBFLOW_TOKEN` with the token you copied earlier
64
+
5. Save and **restart** Cursor
65
+
66
+
**For Claude Desktop:**
67
+
68
+
1. Open Settings → Developer
69
+
2. Click `Edit Config`
70
+
3. Open `claude_desktop_config.json` in a code editor and paste configuration
71
+
4. Replace `YOUR_WEBFLOW_TOKEN` with the token you copied earlier 5. Save and **restart** Claude
54
72
55
73
## ❓ Troubleshooting
56
74
@@ -59,7 +77,7 @@ If you are having issues starting the server in your MCP client e.g. Cursor or C
59
77
### Ensure you have a valid Webflow API token
60
78
61
79
1. Go to [Webflow's API Playground](https://developers.webflow.com/data/reference/token/authorized-by), log in and generate a token, then copy the token from the Request Generator
62
-
2. Replace `YOUR_API_TOKEN` in your MCP client configuration with the token you copied
80
+
2. Replace `YOUR_WEBFLOW_TOKEN` in your MCP client configuration with the token you copied
63
81
3. Save and **restart** your MCP client
64
82
65
83
### Ensure you have the Node and NPM installed
@@ -120,35 +138,40 @@ collection - fields - create - reference; // Create a reference field
120
138
collection - fields - update; // Update a custom field
This implementation **does not** include prompts and resources. However, this may change in the future.
149
+
This implementation **does not** include `prompts` or `resources` from the MCP specification. However, this may change in the future when there is broader support across popular MCP clients.
128
150
129
151
# 🚧 Development mode
130
152
131
153
If you want to run the server in development mode, you can install dependencies and run the server using the following command:
132
154
133
155
1. Clone and install:
134
156
135
-
```shell
136
-
git clone git@github.com:webflow/mcp-server.git
137
-
cd mcp-server
138
-
npm install
139
-
```
157
+
```shell
158
+
git clone git@github.com:webflow/mcp-server.git
159
+
cd mcp-server
160
+
npm install
161
+
```
140
162
141
-
2. Add your token:
163
+
2. Add your token to a `.env` file at the root of the project:
0 commit comments