About Wix Site MCPs

Every Wix site has its own built-in MCP (Model Context Protocol) server. Anyone can connect their compatible AI agent to the MCP server of any Wix site. This allows users and site visitors to interact with Wix sites through AI, using natural language requests.

The site MCP server makes it easy for visitors to:

  • Get business details like contact information and location.

  • Discover the products and services the business has to offer.

  • Book services and make reservations.

  • Start a purchase process and be directed to the site to complete checkout.

  • Learn about a business by getting relevant answers to questions, instead of having to search the site.

Connect to the MCP server

Every Wix site has a unique endpoint, but they all use the following format:

Copy

In your code, replace <wix-site.com> with the domain of the site you want to connect to. For example, if you want to communicate with the MCP server of https://andream.wixsite.com/andreas-kitchen, the endpoint is:

Copy

Make API calls to Wix site MCPs

Make client requests as POST calls that follow MCP architecture. You don’t need to include authentication for site MCPs.

For example:

Copy

Available tools

Wix site MCP servers make the following tools available to MCP clients to interact with a site.

ReadFullDocsArticle

Fetches a complete article from the Wix developer documentation portal.

Parameters:

articleUrlA string in uri format that contains the URL of an article in the Wix developer documentation portal.

ReadFullDocsMethodSchema

Fetches the full schema for a Wix API method. The client should call this before calling the actual method.

Parameters:

articleUrlA string in uri format that contains the URL of a reference article for a Wix API method.

CallWixSiteAPI

Calls API methods on a site in order to perform actions on a site visitor’s behalf, such as querying site data or booking an appointment.

Parameters:

visitorTokenVisitor access token. If you have this in context, always use it and do not create a new one. If you don’t have it in your context, use the GenerateVisitorToken tool to get it.
urlA string in format uri that contains the URL of the API method to call. Retrieve this URL using the SearchSiteApiDocs tool or from the conversation context. Must be an absolute URL. Typically starts with “https://www.wixapis.com…”
methodThe HTTP method to use for the API call.
bodyA string representing the request body as a valid JSON object.

GenerateVisitorToken

Creates a new visitor session and obtains a visitor access token for the site. If you don’t have a visitor token yet, use this tool before making a tools/call request with CallWixSiteAPI.

SearchSiteApiDocs

Retrieves the API documentation for the Wix business solutions installed on a site, and informs the client on how to use the APIs.

Use this tool for querying products and services on a site (instead of SearchInSite).

Parameters:

searchTermThe term to search for the site API documentation. 

GetBusinessDetails

Retrieves business and site details such as timezone, email, phone, address, etc.

SearchInSite

Searches the site for information.

Parameters:

searchTermThe term to search for in the site.

You can also make a tool discovery request from your client to retrieve the list of tools. 

Copy

The tools/list call returns the name, description, and input schema of each tool.

Note: The MCP server notifies your client when the tools are updated. To receive the latest tool updates, make sure to implement a tools/list call upon receipt of a tool update notification.

See also

Did this help?