MCP tools: remote-sanity-setup
remote-sanity-setup
Registered when: see MCP tools.
sanity_destination_operation
Reconcile the original setup operation after a lost response; retain that operation identity.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | |
operationId | string | yes |
Example call:
{"name":"sanity_destination_operation","arguments":{"projectId":"<projectId>","operationId":"<operationId>"}}
Related: sanity_destination_setup, sanity_destination_read.
sanity_destination_read
Read current destination configuration, revision, revocation and activation state without credentials.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | |
destinationId | string | yes |
Example call:
{"name":"sanity_destination_read","arguments":{"projectId":"<projectId>","destinationId":"<destinationId>"}}
Related: sanity_destination_setup, sanity_destination_operation.
sanity_destination_setup
Configure/update/revoke a draft-only Sanity destination using an EXISTING scoped vault reference. Current CMS edit and vault management required. Keep operationId and destinationId stable. On uncertain response read original operation; never retry under another identity. This does not activate drafts or provision credentials.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | |
operationId | string | yes | |
destinationId | string | yes | |
expectedRevision | integer | yes | |
action | "configure" \ | "revoke" | yes |
config | object | no |
Example call:
{"name":"sanity_destination_setup","arguments":{"projectId":"<projectId>","operationId":"<operationId>","destinationId":"<destinationId>","expectedRevision":1,"action":"configure"}}
Related: sanity_destination_read, sanity_destination_operation.