4,000+ servers built on MCP Fusion
Vinkius
CursorIDE
Why use Sanity MCP Server with Cursor?

Bring Groq Queries
to Cursor

Create your Vinkius account to connect Sanity to Cursor and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Count Entity NodesCreate Cms DocumentGet Document DetailsList Media AssetsList Typed DocumentsList Unique Schema TypesPatch Cms DocumentRun Groq QueryRun Raw MutationWipe Cms Document
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Sanity

What is the Sanity MCP Server?

Connect your Sanity project to any AI agent and take full control of your Content Lake through natural conversation.

What you can do

  • GROQ Queries — Execute powerful Graph-Relational Object Queries to fetch exactly the content you need
  • Document Management — Create, read, update, patch, and delete documents of any schema type
  • Schema Insights — List unique schema types and count entity nodes dynamically
  • Media Assets — Browse and manage images and file assets uploaded to your project
  • Bulk Operations — Run raw Sanity mutations for complex, multi-document transactions

How it works

  1. Subscribe to this server
  2. Enter your Sanity Project ID, Dataset, API Version, and API Token
  3. Start managing your content from Claude, Cursor, or any MCP-compatible client

Your AI agent becomes a headless CMS power-user, perfectly capable of navigating references and transforming content on the fly.

Who is this for?

  • Developers — prototype GROQ queries, audit schema types, and run quick data migrations
  • Content Editors — bulk edit fields, update taxonomy, and manage assets without leaving your chat
  • Product Managers — query content stats and generate instant reports on published vs. draft documents

Built-in capabilities (10)

count_entity_nodes

Counts the number of documents of a specific type

create_cms_document

Specify the type and provide attributes as a JSON object. Creates a new document in the CMS

get_document_details

Retrieves full details for a specific document by ID

list_media_assets

Lists all image and file assets uploaded to Sanity

list_typed_documents

g., "post", "author"). Lists all documents of a specific type

list_unique_schema_types

Retrieves a list of all unique document types present in the dataset

patch_cms_document

Provide a JSON object of fields to set. Updates specific fields of an existing document

run_groq_query

Executes a GROQ (Graph-Relational Object Queries) query

run_raw_mutation

Provide a JSON array of mutation objects. Executes a raw Sanity mutation

wipe_cms_document

This action is irreversible. Permanently deletes a document from the CMS

Why Cursor?

Cursor's Agent mode turns Sanity into an in-editor superpower. Ask Cursor to generate code using live data from Sanity and it fetches, processes, and writes. all in a single agentic loop. 10 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.

  • Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context

  • Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards

  • MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment

  • VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools

See it in action

Sanity in Cursor

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Sanity with Vinkius?

The Sanity connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

Sanity
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Sanity using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Sanity and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Sanity to Cursor through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Sanity for Cursor

Every request between Cursor and Sanity is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can my AI agent write complex GROQ queries for me?

Yes. If you know what data you want but aren't totally familiar with GROQ syntax, you can simply ask your agent: 'Write and execute a GROQ query to find all author documents where the name starts with John and return just their ID and bio.' The agent will draft the query, execute it via the run_groq_query tool, and return the filtered JSON.

02

How do I perform a bulk update on my documents?

You can ask your agent to first fetch the documents (e.g., 'List all posts missing a category'), calculate the changes needed, and then use the run_raw_mutation tool or patch_cms_document iteratively to apply the updates. This acts as a conversational migration script, updating dozens of documents safely and quickly.

03

Can the agent check if media assets are missing from my posts?

Yes. The agent can use the document querying tools combined with list_media_assets to analyze your content. For instance, you can ask it to generate a report of all products that do not have an associated image reference, giving you an exact list of items to fix in the Studio.

04

What is Agent mode and why does it matter for MCP?

Agent mode is Cursor's autonomous execution mode where the AI can perform multi-step tasks: reading files, editing code, running terminal commands, and calling MCP tools. Without Agent mode, Cursor operates in a simpler ask-and-answer mode that doesn't support tool calling. Always ensure you're in Agent mode when working with MCP servers.

05

Where does Cursor store MCP configuration?

Cursor looks for MCP server configurations in a mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.

06

Can Cursor use MCP tools in inline edits?

No. MCP tools are only available in Agent mode through the chat panel. Inline completions and Tab suggestions do not trigger MCP tool calls. This is by design. tool calls require user visibility and approval.

07

How do I verify MCP tools are loaded?

Open Settings → Features → MCP and look for your server name. A green indicator means the server is connected. You can also check Agent mode's available tools by clicking the tools dropdown in the chat panel.

08

Tools not appearing in Cursor

Ensure you are in Agent mode (not Ask mode). MCP tools only work in Agent mode.

09

Server shows as disconnected

Check Settings → Features → MCP and verify the server status. Try clicking the refresh button.

Explore More MCP Servers

View all →