What permissions does the API token need?
For basic read operations, a `viewer` role is sufficient. For content management, `editor` or `developer` is recommended; advanced operations like managing datasets may require an `administrator` role.
@MCP-Mirror
基本信息
Mirror of
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"sanity-io_sanity-mcp-server": {
"command": "npx",
"args": [
"sanity",
"schema",
"deploy"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Sanity MCP Server implements the Model Context Protocol to connect your Sanity projects with AI tools such as Claude, Cursor, and VS Code. It enables AI models to understand your content structure and perform operations like creating, updating, and managing content through natural language instructions.
First, deploy your schema manifest using npx sanity schema deploy (requires Sanity CLI ≥3.88.1) and obtain your project ID, dataset name, and an API token. Then add the server configuration to your MCP‑compatible application’s settings, specifying the required environment variables (SANITY_PROJECT_ID, SANITY_DATASET, SANITY_API_TOKEN, MCP_USER_ROLE). If you use a Node version manager, ensure Node.js is accessible by creating symlinks (see README for OS‑specific steps).
For basic read operations, a `viewer` role is sufficient. For content management, `editor` or `developer` is recommended; advanced operations like managing datasets may require an `administrator` role.
If the token has write access, the AI can perform destructive actions (create, update, delete). Use a read‑only token or test on a development/staging dataset first.
Yes, the MCP server needs access to your content structure. Run `npx sanity schema deploy` from your Studio directory before using the server.
It works with any MCP‑compatible application, including Claude Desktop, Cursor IDE, VS Code (with appropriate extensions), and custom MCP apps.
Add a JSON block to your application’s MCP settings with `command: "npx"`, `args: ["-y", "@sanity/mcp-server@latest"]`, and the required environment variables listed in the README.

Model Context Protocol Servers
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
评论