Sanity Docs

website·Indexed 19 days ago

https://beta.sanity.io/docs

Documentation for Sanity, covering getting started guides and interfaces for working with content.

Tokens
349
Snippets
0
Records
3
Agent score
50%

What's inside Sanity

  1. Sanity Platform Component Overview

    Sanity consists of several core components for managing structured content:

    • Content Lake: A real-time database for structured content.
    • Sanity Studio: A customizable, multiplayer CMS for content authoring.
    • Canvas: An AI-powered, distraction-free writing environment.
    • Media Library: Centralized asset management for organizations.
    • Dashboard: A unified interface to run Sanity apps.
    • Content Agent: A tool for bulk edits, content audits, and gap analysis via conversation.
    • App SDK: A toolkit for building custom content operations applications.
  2. Enable AI agents to interact with Sanity via MCP

    The Sanity MCP server allows AI agents to interact with a Sanity workspace using the Model Context Protocol (MCP). This is complemented by Sanity Context, which enables agents to read and query content in a schema-aware manner, allowing them to query specific fields, follow references, and perform semantic searches.
  3. Developer Reference Resources for Sanity

    Developers can access the following technical references to build with Sanity:

    • Schema: Defines document and field types for the Sanity Studio.
    • HTTP API: Interactive reference for all HTTP endpoints.
    • Library Reference: Typedoc documentation for JS-based libraries and SDKs (available at reference.sanity.io).
    • CLI: Command Line Interface for local development tasks.
    • GROQ: A query language for the Content Lake (refer to the GROQ Cheat sheet for common patterns).