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 --help

Commands

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 configure

Was this page helpful?

sanity.ioAll Systems Operational© Sanity 2026
Change site theme