The Sanity remote Model Context Protocol (MCP) connector in Optimizely Opal lets you manage and automate your content lifecycle. An MCP connector is a server that lets Opal communicate directly with a third-party service, giving Opal agents access to that service's data and actions.
With the Sanity connector, interact with your datasets and project settings to streamline high-velocity tasks. For example, authorize Cross-Origin Resource Sharing (CORS) origins, restore archived drafts, and trigger asynchronous AI image generation. These tools reduce friction between your CMS and Opal workflows. Use them for semantic search, schema deployment, and document patching directly within the Opal interface.
First, an Opal administrator must connect the Sanity remote MCP to Opal. After adding the MCP server, individual Opal users and agent builders log in to Sanity to access their information from Opal. Administrators need to add the Sanity remote MCP only once.
Connect the Sanity remote MCP to Opal
To connect the Sanity remote MCP to Opal, complete the following steps as an Opal administrator:
- Go to Tools > Connectors in Opal.
-
Click Add Remote MCP.
- Click Sanity.
-
Click Next.
-
Click Connect to Sanity.
- Complete required access configuration in the pop-up window.
- Click Accept.
The Sanity tile is now available on the Connectors tab for users to authenticate with their personal accounts.
Authenticate with Sanity
After an administrator connects the Sanity remote MCP to Opal, each Opal user and agent builder must log in to Sanity individually. User-level authentication ensures you can access only your authorized Sanity data.
To authenticate, complete the following steps in Opal:
- Go to Tools > Connectors.
-
Click Connect for Sanity.
- Log in to Sanity.
After you connect to Sanity, the Sanity connector tools become available in Opal Chat, agents, and workflows.
Sanity connector tools
Sanity connector tools are available after an administrator connects the Sanity remote MCP to Opal and you log in to Sanity from Opal. For a full list of available tools and actions, see Sanity MCP server in the Sanity documentation.
If you use Opti ID, administrators can turn off generative AI in the Opti ID Admin Center. See Turn generative AI off across Optimizely applications.
Article is closed for comments.