S

sanity.io

Sanity is a content platform built around its Content Lake datastore and customizable Studio. It provides APIs and tooling for querying, updating, and managing content, plus AI-oriented products such as a hosted MCP server and Content Agent integrations.

5 integrations · MCP · REST · GraphQL · CLI

Sanity exposes a tenant-scoped HTTP API, a deployed GraphQL API, a hosted MCP server at https://mcp.sanity.io, a CLI, and a separate Content Agent API; authentication is primarily via Sanity API tokens, CLI login sessions, and MCP OAuth.

discovered 1d ago
MCP servers1
REST · OpenAPI2
GraphQL1
CLI1
Credentials
Sanity project API tokenbearerGet token

In Sanity Manage, open your project, then go to APITokens and create a project-level token. Choose the minimum role needed; for example, the Content Agent API docs require an Editor role or above for write operations.

Sanity CLI logged-in sessionoauth2$ sanity login

Acquired by the CLI — running sanity login opens the auth flow and stores the credential.

OAuth 2.0oauth2
OAuth 2.0 — self-onboarding

Point your MCP client at the server URL and approve access in the browser. The server supports OAuth Dynamic Client Registration (RFC 7591), so the client registers itself automatically — no developer-portal app, client_id, or client_secret to create.

Sanity organization IDcompoundGet key

For Content Agent integrations, get your organization ID from your Sanity project settings; the docs say it is visible in your project settings. Use it together with a project API token when configuring the content-agent provider.

conventions · 3/8 published

Publish these signals → /publishing