by kapilduraphe
Webflow MCP Server enables Claude to interact with Webflow APIs, providing tools to manage Webflow sites programmatically.
Webflow MCP Server is a tool that allows the Claude Desktop App to interact with Webflow's APIs. It acts as a bridge, enabling Claude to programmatically manage and retrieve information about Webflow sites.
To use Webflow MCP Server, you need Node.js (v16+), the Claude Desktop App, a Webflow account, and a Webflow API Token. The setup involves:
npm install
..env
file with WEBFLOW_API_TOKEN=your-api-token
.claude_desktop_config.json
file to include the mcpServers
configuration, pointing to the server's build file and setting the WEBFLOW_API_TOKEN
.Alternatively, you can install it automatically via Smithery using npx -y @smithery/cli install @kapilduraphe/webflow-mcp-server --client claude
.
get_sites
: Retrieves a list of all accessible Webflow sites with detailed information (display name, ID, creation/update/publish dates, preview URL, time zone, custom domains, localization, data collection preferences).get_site
: Retrieves detailed information for a specific Webflow site by ID.Q: Tools not appearing in Claude?
A: Check Claude Desktop logs, verify WEBFLOW_API_TOKEN
is set correctly, and ensure the path to index.js
is absolute and correct.
Q: Authentication Errors? A: Verify your API token is valid, has necessary permissions, and hasn't expired.
Q: How to view server logs?
A: Use tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
for MacOS/Linux or Get-Content -Path "$env:AppData\Claude\Logs\mcp*.log" -Wait -Tail 20
for Windows.
Q: What are the security considerations? A: Keep your API token secure, don't commit credentials, use environment variables, regularly rotate API tokens, monitor API usage, and use minimum required permissions.
This MCP server enables Claude to interact with Webflow's APIs.
Alternatively, you can also generate an OAuth Access Token.
Install dependencies:
npm install
Create a .env
file for local development (don't commit this file):
WEBFLOW_API_TOKEN=your-api-token
Open your Claude Desktop configuration file:
For MacOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
For Windows:
code %AppData%\Claude\claude_desktop_config.json
Add or update the configuration:
{
"mcpServers": {
"webflow": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/YOUR/build/index.js"
],
"env": {
"WEBFLOW_API_TOKEN": "your-api-token"
}
}
}
}
Save the file and restart Claude Desktop.
To install Webflow MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kapilduraphe/webflow-mcp-server --client claude
The server currently provides the following tools:
Retrieves a list of all Webflow sites accessible to the authenticated user. Returns detailed information including:
Retrieves detailed information about a specific Webflow site by ID. Requires a siteId parameter and returns the same detailed information as get_sites for a single site.
interface WebflowApiError {
status?: number;
message: string;
code?: string;
}
interface WebflowCustomDomain {
id: string;
url: string;
lastPublished: string;
}
interface WebflowLocale {
id: string;
cmsLocaleId: string;
enabled: boolean;
displayName: string;
redirect: boolean;
subdirectory: string;
tag: string;
}
interface WebflowSite {
id: string;
workspaceId: string;
createdOn: string;
displayName: string;
shortName: string;
lastPublished: string;
lastUpdated: string;
previewUrl: string;
timeZone: string;
parentFolderId?: string;
customDomains: WebflowCustomDomain[];
locales: {
primary: WebflowLocale;
secondary: WebflowLocale[];
};
dataCollectionEnabled: boolean;
dataCollectionType: string;
}
The server handles various error scenarios:
To view server logs:
For MacOS/Linux:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
For Windows:
Get-Content -Path "$env:AppData\Claude\Logs\mcp*.log" -Wait -Tail 20
If you're getting environment variable errors, verify:
WEBFLOW_API_TOKEN
: Should be a valid API tokenIf you encounter any issues:
MIT License - See LICENSE file for details.
Please log in to share your review and rating for this MCP.