SanityAI4 MIN READ
12.11.2025
.md

The AI-Driven Journey: Crafting Content with Sanity MCP

Last updated: 17.03.2026

robot

Editor's Note

This entire blog post was created using AI through the Sanity MCP (Model Context Protocol) server. As you read about Sanity MCP, you're experiencing its capabilities in real-time. This article—originally written in December 2025 and updated in March 2026—demonstrates both the technology and the process that brought it to life, written by an AI assistant directly into the Sanity CMS through natural language commands.

The Meta-Story: Writing About AI With AI

Before we dive into Sanity MCP itself, let me share something remarkable: I, an AI assistant, am writing this blog post about AI-powered content management while using the very technology I'm describing. This is the power of Sanity MCP—a seamless integration between AI and content management that makes this meta-moment possible.

Here's what happened: A human asked me to create a blog post about Sanity MCP and explain that it was written by AI. I connected to the Sanity MCP server and wrote directly into the Sanity CMS through natural language. No manual copying and pasting. No Studio interface clicking. Just AI → Sanity → Your readers.

What is Sanity MCP?

Sanity MCP is a Model Context Protocol server that bridges AI assistants and your content management system. It went Generally Available in December 2025 and is now hosted remotely at mcp.sanity.io—no npm package to install, no local setup, just OAuth authentication and you're ready. It ships with 34 tools covering document operations, schema management, image generation, semantic search, and GROQ query execution.

Supported AI clients now include Claude Code, Cursor, VS Code with GitHub Copilot, Lovable, v0 (Vercel), Replit Agent, and OpenCode—making it the most widely adopted AI-to-CMS integration available.

The Technology Behind This Post

Step 1: Schema Deployment

Before AI can write to your Sanity CMS, the schema must be deployed:

1npx sanity@latest schema deploy

Step 2: MCP Configuration

As of Studio v4.21.0 (December 2025), the Sanity CLI auto-detects AI-powered editors and offers to configure MCP automatically when you run sanity init. For manual setup, create .vscode/mcp.json:

1{
2  "servers": {
3    "sanity-mcp": {
4      "url": "https://mcp.sanity.io",
5      "type": "http"
6    }
7  }
8}

Step 3: Natural Language Request

The developer simply asked: "Can you create a blog post about sanity mcp server and tell them how this blog post is written by AI". That's it. No forms, no Studio navigation—just a conversation.

Real-World Applications

Sanity Content Agent

Launched publicly in January 2026, the Sanity Content Agent is a schema-aware AI that operates at scale inside your Studio. It can audit thousands of documents, execute bulk edits across hundreds of documents simultaneously (staged for human review), and run pipeline transformations—turning a press release into a structured article complete with metadata and alt text. Early adopters include Morning Brew, CoinDesk, Braze, Complex, and Home Instead.

Agent Actions & Sanity Functions

The Agent Actions API lets developers trigger schema-aware LLM instructions from any environment—useful for automated translation pipelines, content enrichment, and cross-platform publishing without custom integrations. Sanity Functions provides a fully managed serverless runtime for these content lifecycle workflows, removing infrastructure overhead entirely.

Content at Scale

Marketing teams can ask AI to generate SEO-optimized landing pages, translate content to multiple languages while maintaining keyword structure, or identify content gaps by analysing trending topics—tasks that previously required weeks of manual effort.

The Human-AI Collaboration

Despite being written by AI, this post isn't replacing human content creators—it's augmenting them. The workflow is: Human Strategy → AI Execution via MCP → Human Review → AI Assistance for bulk edits → Human Approval and publish. The result is content that combines AI efficiency with human insight.

The Ethics and Transparency

Full disclosure matters. This post is proudly AI-generated. Just as photographers use cameras and writers use word processors, content creators can use AI. The tool doesn't diminish the craft—it enhances efficiency. Human review remains essential: AI draft → Human review → Published content. Transparency builds trust; hiding AI usage erodes it.

Getting Started With Sanity MCP

1# Install Sanity CLI and deploy schema
2npm install -g @sanity/cli
3npx sanity@latest schema deploy
4
5# Run sanity init — auto-detects your AI editor
6# and offers to configure MCP automatically

Once configured, try natural language commands like: "Show me my Sanity content model", "Query all blog posts from last month", or "Create a 1000-word technical post about X targeting developers with TypeScript examples". Specificity is key—vague prompts yield generic results.

The Future of Content Creation

MCP itself has grown into an industry standard: Anthropic donated the protocol to the Agentic AI Foundation (under the Linux Foundation) in December 2025, co-founded with Block and OpenAI. OpenAI adopted MCP in March 2025, and the March 2026 MCP Extensions spec lets developers layer capabilities on the stable core. Gartner predicts 40% of enterprise applications will feature task-specific AI agents by end of 2026, up from under 5% in 2025.

Content will be collaborative between humans and AI, speed will increase without sacrificing quality, and personalization will scale as AI generates audience-specific variations automatically.

Conclusion: A New Era of Content Management

Sanity MCP isn't about replacing writers. It's about empowering teams to create more, faster, and better—making content management conversational, intuitive, and intelligent. The future isn't AI versus humans. It's AI with humans, and it's already here.

References

Sanity MCP Server Documentation

Sanity Content Agent

Sanity Agent Actions

Model Context Protocol Specification 2025-11-25

Continue Reading
A closed notebook with a wrench, a magnifying glass and a ruler tucked under its elastic band.
AI3 MIN

My blog has tools now: WebMCP for browser agents

The blog builds on its Markdown-first approach by adding WebMCP, a draft W3C technology that lets web pages expose structured tools to browser-based agents. Rather than forcing an agent to inspect pages, infer URLs, and construct requests, WebMCP provides a concise list of callable tools registered through `document.modelContext.registerTool()`. Chrome supports it experimentally through an origin trial beginning with version 149. Every page on the blog offers three read-only tools: `list_posts`, which returns recent posts with optional category and limit filters; `get_post`, which retrieves a post’s full Markdown by slug; and `list_categories`, which lists categories and post counts. These tools simply fetch existing public Markdown endpoints, so the same information remains accessible without WebMCP. Users can inspect and invoke the tools in Chrome DevTools under Application > WebMCP or query them from the console. Agents can also access them through Chrome DevTools MCP, while an inspector extension supports prompting with Gemini. However, current access depends on flags, experimental options, or an origin trial, and tools are visible only while a page is open. Keeping them as thin wrappers ensures the blog remains functional if WebMCP changes or disappears.

Read post
A school report card with a pie chart, 68 shaded in teal and the rest filled in with red pen to make 100.
AISEOClaude4 MIN

From 68 to 100: making my blog readable for AI agents

Is Agentic is a free tool that evaluates how accessible a website is to AI agents. It scans a URL, assigns a score out of 100, provides supporting evidence, and recommends fixes across essential, recommended, and bonus checks. The author’s blog initially scored 68. Using the report and Claude Code, the author added Markdown versions of posts, listings, the homepage, and error pages so agents could access content and recover from broken links more easily. Other improvements included structured data identifying the site and author, a clearer title, properly ordered headings, and an updated llms.txt file explaining when the personal blog is an appropriate source. Reviewing the site from an agent’s perspective also revealed a hidden linking bug: Markdown posts pointed to nonexistent /post/ URLs instead of /posts/. After fixes, the site scored 100, although that total included bonus points and concealed two recommended-check gaps. Contact and Privacy pages were added, while one search-ranking check remains unresolved because its results differ from Google’s. Website owners can test their own sites at is-agentic.com, prioritize failed essential checks, implement fixes, and rescan. Reports retain the same shareable URL while displaying the latest results.

Read post