YourImageShare
Officialyourimageshare-mcp
MCP (Model Context Protocol) server for YourImageShare. Built for AI coding agents (Claude Code, Cursor, and other MCP-compatible tools) - paste a screenshot into a bug report, a PR description, or a support thread as a real URL instead of a base64 blob or a manual upload step. Works the same way with Claude Desktop and any other MCP client.
Get an API key: sign in and open the API tab at yourimageshare.com/my-account.
Full HTTP reference: yourimageshare.com/about/api.
OpenAPI 3.1 spec: yourimageshare.com/openapi.json, if your tooling prefers that to this README.
Install / run
No install needed - run directly with npx:
npx yourimageshare-mcpAlso listed on Smithery, if your MCP client installs from there instead.
Claude Desktop / Claude Code config
Add to your MCP client's config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"yourimageshare": {
"command": "npx",
"args": ["-y", "yourimageshare-mcp"],
"env": {
"YIS_API_KEY": "YOUR_API_KEY"
}
}
}
}Related MCP server: uploadthing-mcp
Environment variables
Variable | Required | Purpose |
| yes | Your YourImageShare API key. |
| no | Override the API base URL (default |
Tools
upload_image
Upload a file (up to 200 MB - files over 90 MB are sent in pieces automatically). Provide exactly one of:
path- a local file path this server process can read,base64+filename- inline file contents, for MCP clients with no local filesystem access, orurl- a public http(s) link the YourImageShare server downloads itself.
Optional expiresIn (seconds, 60 to 2,592,000 = 30 days) auto-deletes the
upload later. If the account already uploaded this exact file, the existing
upload is returned with duplicate: true; set allowDuplicate to store a
new copy. Returns id, type, path, src, direct, thumb (280 px
WebP thumbnail), width, height, size, locked, expires_at and
duplicate - store src, since path can change after conversion.
Also optional: visibility (unlisted by default - file and page for
anyone with the link; private - file only, no page for others; public -
listed), title (90 characters) and description (500). New uploads return
a one-time delete_url.
get_upload
Requires id. Returns that upload's links, thumbnail, size, visibility,
title and description.
update_upload
Requires id, plus any of visibility, title, description. Only what
you pass changes; an empty string clears a title or description.
list_uploads
Optional page (defaults to 1, 50 per page). Returns your uploads newest
first.
delete_upload
Requires id (from upload_image/list_uploads). Permanently deletes the
upload.
Notes
This server only ever acts as the account tied to
YIS_API_KEY- there's no way for a connected agent to act as any other account.Errors from the API (bad key, rate limit, file rejected by moderation, etc.) come back as a tool error result with the API's own message, not a crashed tool call.
Built as a small, self-contained client rather than depending on the separate
yourimagesharenpm package, so this server's releases aren't coupled to that package's.
License
MIT
Support
Available Tools
3 toolsdelete_uploadDelete an uploadADestructiveIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The upload id to delete (the `id` field returned by upload_image/list_uploads). |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | |
| deleted | Yes |
list_uploadsList your uploadsARead-onlyIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. Defaults to 1. |
Output Schema
| Name | Required | Description |
|---|---|---|
| data | Yes | |
| meta | Yes |
upload_imageUpload an image or videoAInspect
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 video, 100KB-200MB. Provide path for a file on disk this server can read, or base64 + filename for in-memory content (e.g. no local filesystem access) - never both. Returns three different URLs for the same upload (see output fields): a raw storage link, a direct embeddable link, and a shareable page link - pick whichever fits where it's going. Errors (oversized/unsupported file, bad API key, rate limit) come back as a normal tool error, not a thrown exception.
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local file path to upload. | |
| base64 | No | Base64-encoded file contents. Requires `filename`. | |
| filename | No | Filename to use. Required with `base64`; inferred from `path` otherwise. | |
| expiresIn | No | Auto-delete after this many seconds (60 to 2,592,000 = 30 days). Omit for a permanent upload. |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Unique identifier for this upload. Pass to delete_upload to remove it. |
| src | Yes | Direct/embeddable file URL - use this for <img>/<video> src attributes. |
| path | Yes | Raw storage URL - the literal file, e.g. i.yourimageshare.com/xxx.webp. |
| type | Yes | |
| direct | Yes | The shareable page URL (title, description, comments, share buttons). Despite the field name, this is NOT a direct file link - use `src` for that. |
| expires_at | Yes | ISO 8601 auto-delete timestamp, or null if the upload never expires. |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.6- First observed
delete_upload - First observed
list_uploads - First observed
upload_image
TDQS
Scored across 3 tools
The three tools have clearly distinct operations: upload creates a shareable upload, list enumerates existing uploads, and delete removes one by ID. There is no overlap or ambiguity in their purposes.
All tools follow the same verb_noun pattern: upload_image, list_uploads, delete_upload. The minor singular/plural difference is not confusing and the naming style is consistent across the set.
Three tools is well-scoped for a simple image-sharing server. Each tool covers a necessary core operation and no redundant tools are present.
The tool set covers the full lifecycle of a hosted upload: create via upload_image, read/search via list_uploads, and delete via delete_upload. There are no dead ends or missing core operations for this domain.
Maintenance
Related MCP Connectors
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Your AI makes the file, you get a public link. Host PDFs, images and files from any MCP client.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
File uploads for AI agents. Upload, list, and manage files. No signup required.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for uploading images to ImgBB from Claude-compatible clients.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for UploadThing that lets AI assistants upload, list, and delete files on UploadThing's CDN via natural language. Runs as a Cloudflare Worker for always-on serverless access.4 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents and users to upload and download files via MCP, generating shareable links and identifier codes. Files are automatically deleted after 24 hours.9MIT
- AlicenseBqualityDmaintenanceLets any MCP-compatible agent analyze, describe, OCR, compare, locate, upload, and manage images through DeepSeek's vision model.81MIT