mcp-sanity-images

v0.3.7
io.github.pijusz/mcp-sanity-images Checked 9 hours ago Published 8 months ago

MCP server for uploading local images to Sanity CMS

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

upload_image

Upload a local image file to Sanity as an image asset

ParameterTypeDescription
filePath *string
altstring
datasetstring
projectIdstring

upload_and_set

Upload an image and patch it onto a Sanity document field in one call

ParameterTypeDescription
documentId *string
fieldPath *string
filePath *string
altstring
datasetstring
projectIdstring

batch_upload

Upload all images from a folder as Sanity assets (no document patching)

ParameterTypeDescription
directory *string
datasetstring
projectIdstring
recursiveboolean

list_images

List image files in a directory so you can see what's available to upload

ParameterTypeDescription
directory *string
recursiveboolean

groq_query

Run a GROQ query against the Sanity dataset (useful to find document IDs before attaching images)

ParameterTypeDescription
query *string
datasetstring
projectIdstring