Sanity MCP
Sanity
Sanity
Sanity's hosted MCP server lets an AI client query GROQ, inspect schemas and manage Sanity content, projects, datasets, releases and assets within the authenticated user's permissions.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
dataset_assets_upload_from_web_chatgptUpload an attachment from ChatGPT web to a Content Lake dataset.
dataset_assets_upload_from_urlStart an image or file upload from a public URL to a dataset.
media_library_upload_from_urlStart an image, video or file upload from a public URL to a Media Library.
media_assets_upload_from_urlDeprecated: use media_library_upload_from_url instead.
assets_upload_statusCheck the status of one or more asset uploads.
media_library_upload_from_filePrepare an upload URL for a local or private file in a Media Library.
dataset_assets_upload_from_filePrepare an upload URL for a local or private file in a dataset.
get_schemaFetch the deployed schema for a project and dataset.
list_workspace_schemasList deployed schema sources and IDs for a workspace.
deploy_schemaDeploy schema types to the cloud.
deploy_studioDeploy a managed Sanity Studio.
create_documentsCreate draft documents or release versions.
create_versionCreate a version document for a release.
patch_documentsPatch draft or release-version documents.
query_documentsQuery Sanity documents using GROQ.
generate_imageStart asynchronous AI image generation for a document field.
transform_imageStart asynchronous AI transformation of an image.
get_documentFetch one document by exact ID.
documents_validateValidate documents against the deployed schema.
publish_documentsPublish one or more drafts.
unpublish_documentsMove published documents back to drafts.
discard_draftsDiscard drafts while leaving published documents intact.
version_discardDiscard document versions from a release.
list_organizationsList organizations accessible to the authenticated user.
list_projectsList projects accessible to the authenticated user.
get_project_studiosList Studio applications linked to a project.
create_projectCreate a Sanity project with a dataset and API tokens.
cors_origins_listList CORS origins configured for a project.
add_cors_originAdd allowed CORS origins to a project.
cors_origins_deleteRemove a CORS origin from a project.
whoamiReturn the authenticated Sanity account.
list_datasetsList datasets in a project.
create_datasetCreate a dataset with specified access settings.
update_datasetUpdate a dataset name or access settings.
create_releaseCreate a release for grouping content changes.
list_releasesList releases in a dataset.
list_embeddings_indicesList embeddings indices for a dataset.
semantic_searchRun semantic search against an embeddings index.
media_library_listList Media Libraries available in an organization.
media_library_get_schemaFetch Media Library document types or field definitions.
media_library_query_documentsQuery documents in a Media Library using GROQ.
media_library_get_documentFetch a Media Library document by exact ID.
media_library_create_documentsCreate supported documents in a Media Library.
media_library_patch_documentsEdit supported Media Library metadata or collection membership.
media_library_publish_documentsPublish Media Library asset drafts.
media_library_discard_draftsDiscard Media Library asset drafts.
media_library_list_asset_referencesList documents referencing a Media Library asset.
media_library_link_assetsLink Media Library assets into project documents.
run_sanity_cliRun a limited set of Sanity CLI commands.
search_docsSearch Sanity documentation.
read_docsFetch a Sanity documentation article.
list_sanity_rulesList available Sanity best-practice rules.
get_sanity_rulesLoad selected Sanity best-practice rules.
give_sanity_feedbackSubmit feedback about Sanity MCP or its documentation.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
Documentation checked 2026-10-28T14:15:00.000Z. Connection has not been runtime tested.
Sanity
Sanity's hosted MCP server lets an AI client query GROQ, inspect schemas and manage Sanity content, projects, datasets, releases and assets within the authenticated user's permissions.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
dataset_assets_upload_from_web_chatgptUpload an attachment from ChatGPT web to a Content Lake dataset.
dataset_assets_upload_from_urlStart an image or file upload from a public URL to a dataset.
media_library_upload_from_urlStart an image, video or file upload from a public URL to a Media Library.
media_assets_upload_from_urlDeprecated: use media_library_upload_from_url instead.
assets_upload_statusCheck the status of one or more asset uploads.
media_library_upload_from_filePrepare an upload URL for a local or private file in a Media Library.
dataset_assets_upload_from_filePrepare an upload URL for a local or private file in a dataset.
get_schemaFetch the deployed schema for a project and dataset.
list_workspace_schemasList deployed schema sources and IDs for a workspace.
deploy_schemaDeploy schema types to the cloud.
deploy_studioDeploy a managed Sanity Studio.
create_documentsCreate draft documents or release versions.
create_versionCreate a version document for a release.
patch_documentsPatch draft or release-version documents.
query_documentsQuery Sanity documents using GROQ.
generate_imageStart asynchronous AI image generation for a document field.
transform_imageStart asynchronous AI transformation of an image.
get_documentFetch one document by exact ID.
documents_validateValidate documents against the deployed schema.
publish_documentsPublish one or more drafts.
unpublish_documentsMove published documents back to drafts.
discard_draftsDiscard drafts while leaving published documents intact.
version_discardDiscard document versions from a release.
list_organizationsList organizations accessible to the authenticated user.
list_projectsList projects accessible to the authenticated user.
get_project_studiosList Studio applications linked to a project.
create_projectCreate a Sanity project with a dataset and API tokens.
cors_origins_listList CORS origins configured for a project.
add_cors_originAdd allowed CORS origins to a project.
cors_origins_deleteRemove a CORS origin from a project.
whoamiReturn the authenticated Sanity account.
list_datasetsList datasets in a project.
create_datasetCreate a dataset with specified access settings.
update_datasetUpdate a dataset name or access settings.
create_releaseCreate a release for grouping content changes.
list_releasesList releases in a dataset.
list_embeddings_indicesList embeddings indices for a dataset.
semantic_searchRun semantic search against an embeddings index.
media_library_listList Media Libraries available in an organization.
media_library_get_schemaFetch Media Library document types or field definitions.
media_library_query_documentsQuery documents in a Media Library using GROQ.
media_library_get_documentFetch a Media Library document by exact ID.
media_library_create_documentsCreate supported documents in a Media Library.
media_library_patch_documentsEdit supported Media Library metadata or collection membership.
media_library_publish_documentsPublish Media Library asset drafts.
media_library_discard_draftsDiscard Media Library asset drafts.
media_library_list_asset_referencesList documents referencing a Media Library asset.
media_library_link_assetsLink Media Library assets into project documents.
run_sanity_cliRun a limited set of Sanity CLI commands.
search_docsSearch Sanity documentation.
read_docsFetch a Sanity documentation article.
list_sanity_rulesList available Sanity best-practice rules.
get_sanity_rulesLoad selected Sanity best-practice rules.
give_sanity_feedbackSubmit feedback about Sanity MCP or its documentation.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
The current Sanity reference now enumerates 53 tools. Replaced the older 37-name sample with the complete current list, including schema deployment, dataset upload variants, validation, and Media Library operations; media_assets_upload_from_url remains documented as deprecated. Effective availability can depend on account permissions and server updates.
Documentation checked 2026-10-28T14:15:00.000Z. Connection has not been runtime tested.