MCP CLI command reference
Reference documentation for the Sanity CLI mcp command.
New to the Sanity MCP server?
This is reference documentation for the CLI's MCP command. If you're new to the Sanity MCP server, see the Sanity MCP server overview.
npx sanity mcp --helppnpm dlx sanity mcp --helpyarn dlx sanity mcp --helpbunx sanity mcp --helpCommands
configure
USAGE
$ sanity mcp configure
DESCRIPTION
Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)
EXAMPLES
Configure Sanity MCP server for detected AI editors
$ sanity mcp configureWas this page helpful?
Feedback submitted, thanks for helping us improve the docs. Have you tried these alternatives?