Connect your Sanity content to AI agents. Create, update, and explore structured content using Claude, Cursor, and VS Code via the Model Context Protocol. Transform content operations from complex queries to simple conversations—giving your team superpowers without sacrificing structure.
Connect your Sanity content to AI agents. Create, update, and explore structured content using Claude, Cursor, and VS Code via the Model Context Protocol. Transform content operations from complex queries to simple conversations—giving your team superpowers without sacrificing structure.
npx -y @sanity/mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"sanity-io-sanity-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y @sanity/mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from sanity?"
API Key Required
This server requires an API key from sanity. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| SANITY_API_KEY | Yes | Your sanity API key |
"What resources are available in sanity?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in sanity"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in sanity with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.