Sanity

v1.0.0Business Applicationsstable

Connect your Sanity content to AI agents. Create, update, and explore structured content using Claude, Cursor, and VS Code via the Model Context Protocol. Transform content operations from complex queries to simple conversations—giving your team supe

cmsmcpmcp-server
Share:
73
Stars
0
Downloads
0
Weekly
0/5

What is Sanity?

Sanity is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to connect your sanity content to ai agents. create, update, and explore structured content using claude, cursor, and vs code via the model context protocol. transform content operations from complex que...

Connect your Sanity content to AI agents. Create, update, and explore structured content using Claude, Cursor, and VS Code via the Model Context Protocol. Transform content operations from complex queries to simple conversations—giving your team supe

This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Connect your Sanity content to AI agents. Create, update, an

Use Cases

Manage Sanity CMS content
Query and update documents
Content operations via MCP
sanity-io

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMar 1, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx sanity-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Sanity

The Sanity MCP server connects AI agents to the Sanity headless CMS, enabling natural language creation, querying, and updating of structured content across your Sanity projects. It is available as a hosted remote server at mcp.sanity.io with OAuth authentication, requiring no local installation, and works with Claude, Cursor, VS Code, and other MCP-compatible clients to transform CMS operations from complex GROQ queries into simple conversations.

Prerequisites

  • A Sanity.io account and at least one Sanity project with content
  • An MCP-compatible client such as Claude Desktop, Cursor, or VS Code that supports HTTP MCP transport
  • Network access to mcp.sanity.io
1

Access the hosted Sanity MCP server

Sanity provides a fully managed remote MCP server at https://mcp.sanity.io. There is no local install needed—just configure your MCP client to point to this URL.

2

Add the Sanity MCP server to your client configuration

Open your MCP client configuration file and add the Sanity server using the HTTP transport type. This works for Claude Desktop, Cursor, and VS Code.

{
  "mcpServers": {
    "sanity": {
      "url": "https://mcp.sanity.io",
      "type": "http"
    }
  }
}
3

Authenticate with OAuth

On first use, your MCP client will initiate the Sanity OAuth flow in your browser. Log in with your Sanity account and authorize access to your projects. No API tokens need to be managed manually.

4

Select your Sanity project and dataset

Once authenticated, you can ask your AI client to list your projects and datasets. Specify the project ID and dataset name in your prompts to target the correct content.

5

Start managing content with natural language

You can now query, create, and update Sanity documents through your AI client using natural language. The server handles GROQ query generation and mutations automatically.

Sanity Examples

Client configuration

Remote HTTP MCP server configuration for Sanity. Paste this into your claude_desktop_config.json, mcp.json, or equivalent client config file.

{
  "mcpServers": {
    "sanity": {
      "url": "https://mcp.sanity.io",
      "type": "http"
    }
  }
}

Prompts to try

Natural language prompts to use with the Sanity MCP server after authentication.

- "List all my Sanity projects and their datasets"
- "Fetch the 10 most recent published blog posts from my 'production' dataset"
- "Create a new 'article' document with title 'Getting Started with Sanity' and set the status to draft"
- "Update the 'seo.description' field on document with ID abc123"
- "Show me all documents of type 'product' where the price is greater than 100"

Troubleshooting Sanity

Authentication fails or the OAuth flow does not redirect

Make sure you are logged into sanity.io in your browser and that your MCP client version supports HTTP transport and browser-based OAuth flows. Try opening https://mcp.sanity.io directly in your browser to confirm it is reachable.

Content queries return no results

Ensure you are specifying the correct Sanity project ID and dataset name in your prompt (e.g. 'production' or 'development'). If you have multiple projects, ask the AI to list all projects first to identify the right one.

MCP client does not support type: http transport

Update your MCP client to the latest version. Claude Desktop, Cursor, and VS Code with recent updates all support HTTP transport for remote MCP servers. Check the client's documentation for minimum version requirements.

Frequently Asked Questions about Sanity

What is Sanity?

Sanity is a Model Context Protocol (MCP) server that connect your sanity content to ai agents. create, update, and explore structured content using claude, cursor, and vs code via the model context protocol. transform content operations from complex queries to simple conversations—giving your team supe It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Sanity?

Follow the installation instructions on the Sanity GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Sanity?

Sanity works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Sanity free to use?

Yes, Sanity is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Sanity Alternatives — Similar Business Applications Servers

Looking for alternatives to Sanity? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.

n8n

189.1k

A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou

LobeHub

77.5k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

Jeecgboot

46.4k

AI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。

CowAgent

44.7k

CowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。

Minds Platform

39.2k

Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.

Astrbot

32.8k

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

Browse More Business Applications MCP Servers

Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "sanity-mcp-server": { "command": "npx", "args": ["-y", "sanity-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Sanity?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides