Sanity logo
ConnectorSanity

Sanity integration for Claude and Codex

Create a Sanity connection, then control which Spaces can use its approved tools and data without pasting credentials into prompts or threads.

Use Sanity from Claude

Add the Sanity connection to a Space that runs Claude, then use it from every channel in that Space.

Use Sanity from Codex

Add the Sanity connection to a Space that runs Codex, then use it from every channel in that Space.

Use Sanity from Sidekick

Connect your own OpenClaw to Sidekick while type.com provides the conversations, permissions, connections, skills, and automations.

Developer Tools & IT

What the Sanity connector can do

Sanity is a headless CMS that stores structured content and exposes it through flexible APIs for custom front ends. In a type.com Space, the agent can assign a default role to users, define a custom attribute for content records, or send a one-shot prompt to Sanity's content agent, keeping admin and content tasks in the same thread as the rest of the project.

One connection, many Spaces

Connect Sanity once, then decide which Spaces can use it in threads, skills, automations, and coding work.

What teams do with Sanity in type.com

Standardize new user permissions

Ask the agent to apply the organization default role to everyone at once after an access review changes how roles are assigned.

Try asking
Apply our Sanity organization default role to all users after today's access review.

Define a new content attribute

Have the agent create an attribute definition so content records can carry a structured field like customer tier or status.

Try asking
Create a Sanity attribute definition called content-tier so we can tag entries by subscription level.

Test a content prompt quickly

Get the agent to send a one-shot prompt to the Sanity content agent for a fast draft without managing a full session.

Try asking
Send a one-shot Sanity content agent prompt asking for three headline options for our new landing page.

Representative actions

  • Add Default Role to Users

    Applies the organization's default role to every existing user in one action.

  • Create Attribute Definition

    Defines a new custom attribute that can be attached to resources in Sanity.

  • Create Prompt Post

    Sends a single stateless prompt to the Sanity content agent and returns a response.

  • Delete User Attribute Definition

    Removes a previously created attribute definition so it no longer applies within an org or project.

  • Delete User Attributes

    Removes specific custom attribute values from a Sanity user's account.

Connection

API and auth details

Sanity provides structured-content APIs for headless CMS workflows. Integrations can query GROQ, mutate documents, manage assets, datasets, projects, webhooks, releases, perspectives, and content lake data using API tokens with scoped permissions.

FAQ

Questions people ask before connecting Sanity

Can Claude manage Sanity content from type.com?

Yes. Once a Sanity connection is shared with a Space, the agent can manage user roles, attribute definitions, and content prompts in any thread, with results visible to the team.

How does type.com authenticate with Sanity?

Sanity uses an API token with scoped permissions. An admin adds the token once to the connection and chooses which Spaces can use it.

Can Sanity admin tasks run automatically?

Yes. A Sanity prompt can be set up as a type.com automation, for example a recurring role audit, and the agent posts the outcome to a channel.

Is this the same as a Sanity MCP server?

Not exactly. type.com uses connectors and connections to give selected Spaces access to approved app tools and data. Some connectors use hosted MCP, while others use OAuth, API keys, service accounts, or custom APIs.

More developer tools & it connectors

All Developer Tools & IT integrations