Labsco
TimKJones logo

Webflow

from TimKJones

An MCP server for interacting with the Webflow API to manage sites and content.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

Webflow MCP Server

smithery badge

This MCP server enables Claude to interact with Webflow's APIs.

Webflow Server MCP server

Available Tools

The server currently provides the following tools:

get_sites

Retrieves a list of all Webflow sites accessible to the authenticated user. Returns detailed information including:

  • Site Display Name and Short Name
  • Site ID and Workspace ID
  • Creation, Last Updated, and Last Published Dates
  • Preview URL
  • Time Zone settings
  • Custom Domains configuration
  • Localization settings (primary and secondary locales)
  • Data collection preferences

get_site

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.

get_collections

Retrieves a list of all collections for a specific Webflow site. Requires a siteId parameter and returns detailed information about each collection including:

  • Collection Name and ID
  • Creation and Last Updated Dates
  • Item Count
  • Collection Slug
  • Collection Settings and Configuration

Type Definitions

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;
}

interface WebflowCollection {
    _id: string;
    lastUpdated: string;
    createdOn: string;
    name: string;
    slug: string;
    singularName: string;
    itemCount: number;
}

interface WebflowCollectionsResponse {
    collections: WebflowCollection[];
}

Error Handling

The server handles various error scenarios:

Environment Errors

  • Missing WEBFLOW_API_TOKEN
  • Invalid API token

Security Considerations

  • Keep your API token secure
  • Don't commit credentials to version control
  • Use environment variables for sensitive data
  • Regularly rotate API tokens
  • Monitor API usage in Webflow
  • Use minimum required permissions for API token

Support

If you encounter any issues:

  • Check the troubleshooting section above
  • Review Claude Desktop logs
  • Examine the server's error output
  • Check Webflow's API documentation