/ Directory / Playground / Sanity Agent Toolkit
● Official sanity-io ⚡ Instant

Sanity Agent Toolkit

by sanity-io · sanity-io/agent-toolkit

Sanity skills for content modeling, GROQ query optimization, and Studio customization.

Sanity Agent Toolkit is a Claude Code/agent skill by sanity-io. Sanity skills for content modeling, GROQ query optimization, and Studio customization. See the source repo for setup, supported clients, and configuration details.

Why use it

Key features

Live Demo

What it looks like in practice

sanity-agent-toolkit.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "sanity-agent-toolkit": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sanity-io/agent-toolkit",
        "~/.claude/skills/sanity-agent-toolkit"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "sanity-agent-toolkit": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sanity-io/agent-toolkit",
        "~/.claude/skills/sanity-agent-toolkit"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "sanity-agent-toolkit": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sanity-io/agent-toolkit",
        "~/.claude/skills/sanity-agent-toolkit"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "sanity-agent-toolkit": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sanity-io/agent-toolkit",
        "~/.claude/skills/sanity-agent-toolkit"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "sanity-agent-toolkit",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/sanity-io/agent-toolkit",
        "~/.claude/skills/sanity-agent-toolkit"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "sanity-agent-toolkit": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/sanity-io/agent-toolkit",
          "~/.claude/skills/sanity-agent-toolkit"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add sanity-agent-toolkit -- git clone https://github.com/sanity-io/agent-toolkit ~/.claude/skills/sanity-agent-toolkit

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use Sanity Agent Toolkit

Use Sanity Agent Toolkit for its primary workflow

👤 Developers using AI coding agents ⏱ ~10 min beginner

When to use: You need the capability: Sanity skills for content modeling, GROQ query optimization, and Studio customization.

Prerequisites
  • Skill installed — git clone https://github.com/sanity-io/agent-toolkit ~/.claude/skills/sanity-agent-toolkit
Flow
  1. Install
    Install Sanity Agent Toolkit following the README at https://github.com/sanity-io/agent-toolkit✓ Copied
    → Skill appears in your client's available tools/skills
  2. Invoke
    Use Sanity Agent Toolkit to complete the task described in its docs.✓ Copied
    → Agent calls the relevant tool/skill and returns a result

Outcome: Working integration with the capabilities advertised by the project.

Pitfalls
  • README is the source of truth; details here may lag upstream — Check https://github.com/sanity-io/agent-toolkit for the latest setup steps and tool list

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills