• ASSET FINDING
  • PERMISSION CHECKS
  • DATA SUMMARY
  • HUMAN REVIEW

How to audit media and access with your AI

Connect Sanity to your AI client to scan your image library and check user permissions. Your agent handles the heavy lifting of searching through assets and verifying who has access to specific projects.

Ask AI about this page

Short answer

How can I audit media and access with my AI?

Your AI client uses Sanity tools to pull lists of image assets and user memberships. You can then ask it to find specific files or confirm if a person belongs to a project. This gives you a clear view of your library and permission levels.

Audit outcomes

Where your audit data lands

The AI organizes Sanity data into these specific results.

ASSET FINDING

Locate specific images

The AI scans your library to find files based on your descriptions. You get a direct list of matching assets without manual scrolling.

PERMISSION CHECKS

Verify user access

Your agent checks project membership to see who is authorized for specific tasks. This confirms if a user has the right permissions.

DATA SUMMARY

Get library overviews

The AI aggregates asset counts and user lists into a readable format. You can quickly see the scale of your media or your user base.

HUMAN REVIEW

Flag access issues

The AI identifies discrepancies between expected and actual permissions. You then decide if you need to revoke or grant access manually.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your chat interface and your Sanity data.

  1. Scan the library

    The AI pulls a complete list of all images stored in your Sanity environment.

    list_image_assets
  2. Identify users

    The agent retrieves a list of all registered users to check against your requirements.

    list_users
  3. Filter and match

    The AI compares the asset list and user list against your specific search criteria.

    list_image_assetslist_users
  4. Report findings

    The agent presents the filtered results, showing which images exist and which users have access.

    list_image_assets

Try it

Copy these to start.

Use these prompts to trigger the audit immediately.

Starting points

These are opening lines. Swap out the specific image names or user emails with your actual data.

Sanity Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Sanity capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "sanity-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ACkKs6jzV4svPUkN2nvh7GZdikEWKwiWbOMvDihL/mcp"
    }
  }
}
Copy into chat04
  • Find all images in Sanity that are tagged with 'summer-campaign'.

  • Check if user 'alex.smith@company.com' is a member of the current project.

  • List all image assets in the library so I can see what we have.

  • Show me a list of all users in Sanity to verify our team roster.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Sanity once, then ask.

Click the link to connect your account. Your credentials stay encrypted and secure, and you can start chatting with your data immediately.

Connect Sanity to your AI

FAQ

How this task behaves

  • 01

    Can the AI delete images from my Sanity library?

    No. The AI can only list assets and users. It cannot delete, move, or modify any content in Sanity.

  • 02

    Can the AI change user permissions?

    No. The AI can check who is in a project, but it cannot add or remove users. You must do that in Sanity manually.

  • 03

    Does the AI see all my files?

    Yes, the AI uses the list tools to see the assets and users you have authorized it to access.

  • 04

    Can I use this with Claude?

    Yes, as long as you are using an MCP-compatible client like Claude Desktop.

  • 05

    How does the AI know which user is which?

    It uses the user list provided by Sanity to match names or emails to project memberships.

  • More questions about Sanity? See everything the Sanity Connector can do

Connect Sanity to Claude, Cursor, ChatGPT & more