Skip to main content
Glama

sites_list

Retrieve a list of all Webflow sites accessible to your account, including site IDs, names, and last published dates.

Instructions

List all sites accessible to the authenticated user. Returns basic site information including site ID, name, and last published date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The inline handler function for the 'sites_list' tool. It calls the WebflowClient.sites.list() method to fetch all accessible sites and formats the response or error.
    async () => { try { const response = await getClient().sites.list(requestOptions); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } }
  • Input schema for the 'sites_list' tool, which takes no parameters (empty object).
    inputSchema: z.object({}),
  • Registers the 'sites_list' tool on the MCP server within the registerSiteTools function, specifying name, metadata, input schema, and handler.
    server.registerTool( "sites_list", { title: "List Sites", description: "List all sites accessible to the authenticated user. Returns basic site information including site ID, name, and last published date.", inputSchema: z.object({}), }, async () => { try { const response = await getClient().sites.list(requestOptions); return formatResponse(response); } catch (error) { return formatErrorResponse(error); } } );
  • src/mcp.ts:53-53 (registration)
    Top-level call to registerSiteTools during MCP server tools registration, which includes the 'sites_list' tool.
    registerSiteTools(server, getClient);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/webflow/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server