yourimageshare

v1.1.1
io.github.yourimageshare/yourimageshare Checked 1 day ago Published 1 month ago

MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.

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

upload_image Upload an image or video

Upload an image or video to YourImageShare and get back a shareable link. Accepts JPG, PNG, GIF, WEBP, AVIF, BMP, TIFF, HEIC/HEIF images and MP4, WEBM, AVI, MOV, M4V, MKV, MPEG, WMV, FLV, 3GP video, up to 200MB (large files are sent in pieces automatically). Provide exactly one of: `path` for a file on disk this server can read, `base64` + `filename` for in-memory content, or `url` for a public link the server downloads itself. Uploading a file your account already uploaded returns that upload with `duplicate: true`. Returns three different URLs for the same upload (see output fields): a raw s…

ParameterTypeDescription
allowDuplicatebooleanStore a new copy even if this account already uploaded the exact same file.
base64stringBase64-encoded file contents. Requires `filename`.
descriptionstringDescription (up to 500 characters).
expiresInintegerAuto-delete after this many seconds (60 to 2,592,000 = 30 days). Omit for a permanent upload.
filenamestringFilename to use. Required with `base64`; inferred from `path` otherwise.
pathstringLocal file path to upload.
titlestringTitle shown on the upload page (up to 90 characters).
urlstringPublic http(s) link to an image or video; the server downloads it (up to 200MB).
visibilitystringunlisted (default): file and page work for anyone with the link, not listed. private: file only - the page link sends everyone but the owner to the file. public: listed on the site and indexable.

list_uploads List your uploads

List your YourImageShare uploads, newest first, 50 per page - use this to find an upload's `id` (needed by `delete_upload`) when you only have its URL or remember it by content, since there's no lookup-by-URL endpoint. Each result includes the same three link fields `upload_image` returns, plus `title` and `created_at`. An out-of-range page number returns an empty `data` array, not an error.

ParameterTypeDescription
pageintegerPage number. Defaults to 1.

get_upload Get one upload

Look up one of your uploads by `id`: its links, thumbnail, size, visibility, title and description.

ParameterTypeDescription
id *stringThe upload id (from upload_image or list_uploads).

update_upload Change an upload

Change the visibility, title or description of one of your uploads. Only the fields you pass change; an empty string clears a title or description. Making an upload public lists it on the site.

ParameterTypeDescription
id *stringThe upload id (from upload_image or list_uploads).
descriptionstringNew description (up to 500 characters); empty string clears it.
titlestringNew title (up to 90 characters); empty string clears it.
visibilitystringunlisted (default): file and page work for anyone with the link, not listed. private: file only - the page link sends everyone but the owner to the file. public: listed on the site and indexable.

delete_upload Delete an upload

Permanently delete one of your YourImageShare uploads by `id` - irreversible, the file and its links stop working immediately. Get the `id` from upload_image's response right after uploading, or from list_uploads if you no longer have it. Errors (not found, already deleted, wrong owner) come back as a normal tool error.

ParameterTypeDescription
id *stringThe upload id to delete (the `id` field returned by upload_image/list_uploads).