Jian/ Docs

Sanity

Let your agents work with the documents, schemas and datasets in your Sanity projects: query content, edit documents and evolve a schema.

Try asking

List the five latest "post" documents in the production dataset.

Add a "subtitle" string field to the post schema.

Find documents that reference the author Ana Costa.

Connect

  1. Open Plugins, choose Connectors, and search for Sanity or find it under its category.
  2. Open the Sanity page and press Connect. Jian saves the MCP server and opens Sanity's own sign-in. If the account still needs it, a Sign in button shows on its row.
  3. The account appears named after who signed in, for example sanity_ana. Until the service says who, it is named by the app id. The page then lists the tools.
  4. For another account, press Add account. The sign-in uses whichever Sanity account your browser is logged into, so switch account first or use a private window.

Each account is its own server. Agents pick one by name, and should ask you when it is not clear which you mean.

What it can do

  • Work with documents, schemas and datasets.
  • Prepare uploads of images and files up to 50 MiB, to a Media Library or a dataset.

For the exact list, see Sanity's own documentation: Sanity MCP server docs. Once connected, the connector page in Jian lists every tool the account offers.

Good to know

  • Schema edits need an MCP-managed or Studio-deployed schema descriptor; Sanity says legacy-only schemas have to be migrated first.
  • A content write lands in a real dataset. Check the dataset name before you approve it.
  • Approvals. A tool that is not marked read-only is an action on a connected service and follows the conversation's protection: on Ask first it waits for you. Read-only tools never ask. See conversation protection.
  • Remove an account with Remove on its row. Jian asks first, and the sign-in is deleted from the gateway. To revoke access on Sanity's side too, do it in Sanity.
  • The tools are listed on the page without switches; to choose tools one by one, add the server as a custom connector.

On this page