MCP / Docs and productivity

Sanity MCP

Sanity CMS: GROQ query, mutate documents, datasets, assets. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

Your own API key6 actionsDocs and productivity
Ask your agent
Read datasets in the Sanity project I select and show up to 10 names and reported access modes.

Paste it into an assistant connected to FlyMy.AI. The agent picks the actions.

What Sanity MCP can do

6 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

ActionWhat it does
sanity_assets_listList assets (images / files) - runs a GROQ query for asset documents on the dataset.
sanity_datasets_listList datasets in the project (project-management API).
sanity_document_getGet a document by id
sanity_mutateApply mutations
sanity_queryRun a GROQ query
sanity_requestGeneric Sanity request to ANY endpoint - full API coverage.

Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

“Read datasets in the Sanity project I select and show up to 10 names and reported access modes.”uses sanity_datasets_list
“Read this Sanity document in my selected project and dataset, then summarize its returned fields in five bullets.”uses sanity_document_get
“Show up to 10 Sanity documents of the type I select, with their IDs and titles.”uses sanity_query

Connect Sanity in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

  1. 01

    Add FlyMy.AI

    Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.

  2. 02

    Add your Sanity credentials

    Paste them into the Sanity connection settings once; they stay with FlyMy.AI, never in a prompt or a chat.

    • Sanity API token - sanity.io/manage - your project - API - Tokens. Create a token with the access you need. Manage project ->
    • Sanity project ID - The short project ID shown in sanity.io/manage (and in sanity.config.ts).
  3. 03

    Ask

    Paste a request from this page. Every run shows what it cost.

Claude Code
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp

Then run /mcp in Claude Code and sign in.

Codex
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop
https://mcp-agents.flymy.ai/mcp

Settings, Connectors, Add custom connector: paste this URL.

Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Sanity account, under its plan and limits. No seats and no minimum.

Go to the source

From the FlyMy.AI platform catalog of 2026-10-31: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.