list_sanity_rules
/ getsanityrules — load agent rules on demand
How to use it
Project documentation lists list_sanity_rules for the Agent Toolkit MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Agent Toolkit
npx sanity@latest mcp configureOther tools in Agent Toolkit (13)
create draft documents from structured content, or version documents when a release ID is provided
/ listreleases — create and inspect Content Releases
create version documents for releases
/ getschema — deploy MCP-managed schemas and inspect deployed schemas
deploy a hosted Studio bound to an MCP-managed schema
/ transformimage — AI image generation and editing
list Studio applications linked to a project
report MCP tool errors, missing capabilities, confusing output, or documentation issues
surgical edits to existing documents; published documents are edited by creating or updating drafts
/ unpublishdocuments — manage document lifecycle
run GROQ queries directly
/ readdocs — search and read Sanity documentation
verify the authenticated Sanity user