Set a guest upload key
Turn on guest uploading for a gallery and get the link to share.
MCP tool smugmug_write → set_guest_upload_key
write Confirm
Sets the Guest Uploading field under Security & Sharing and returns the upload link. Anyone with the link can upload into this gallery and only this gallery. Guests still need the viewing password for a password gallery, and an invitation for a People I Choose gallery, to see photos. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| gallery_id string required | string | Gallery ID from list_galleries. |
| key string required | string | Letters and digits only. Guests can see it in the link. An empty value removes the key. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "smugmug_write",
"arguments": {
"operation": "set_guest_upload_key",
"arguments": {
"gallery_id": "gallery_8c41d2",
"key": "key"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"gallery_id": "Zb6nTa",
"guest_upload_key_set": true,
"upload_url": "https://studio.smugmug.com/Events-2026/Mia-and-Leo-party?upload=mialeo2026"
},
"isError": false
}