Sanity
ConnectionMCPQuery and edit Sanity content, inspect schemas, and manage releases.
Install
Add the connection from eve's registry. This writes the initial definition under agent/connections/ and installs its authentication dependency when needed:
Quick start
Create agent/connections/sanity.ts:
Sanity requires the initialize handshake, so keep protocolVersionDiscovery: false. See MCP protocol discovery.
Each authenticated user authorizes their Sanity account in the browser before the first tool call.
Configure
Link your project, register the MCP connector, and pull OIDC locally:
The MCP method registers the OAuth client automatically. Sign in with a Sanity account that has access to the projects and datasets your agent needs, and copy the returned connector UID into connect().
The MCP server can edit and publish content; use tool filters and approval gates to control these actions.