
Yourimageshare
io.github.yourimagesharev1.1.0更新於 Oct 8, 2026
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
概覽
讓助手在 YourImageShare 帳號上上傳、列出、更新與刪除圖片,並回傳可分享的連結。
- 功能
- 把 YourImageShare 上傳 API 包裝成 MCP 工具:upload_image 支援本機路徑、帶檔名的內嵌 base64,或公開的 http(s) 連結,並回傳連結、縮圖、尺寸與大小。get_upload、update_upload、list_uploads 與 delete_upload 可讀取、修改可見性/標題/描述、分頁瀏覽並永久刪除上傳內容。上傳時可設定到期時間,到期後自動刪除。
- 適用情境
- 適合助手需要把截圖或圖片變成真實 URL,用於錯誤報告、拉取請求或支援討論串,而不是貼上 base64 的情境。也方便列出與管理帳號中既有的圖片。
- 執行需求
- 透過 stdio 在本機執行,通常使用 npx yourimageshare-mcp,因此需要 Node.js 與網路存取。需要 YourImageShare 帳號與 API 金鑰,透過環境變數 YIS_API_KEY 提供。選用變數 YIS_BASE_URL 可覆寫 API 基礎網址,僅供測試。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Yourimageshare,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
yourimageshare-mcp
[npm version] [npm downloads] [smithery badge] [yourimageshare MCP server]
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:
Also 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):
Environment variables
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
來源:mcp/README.md,提交 608456d
工具
0版本歷史
1- v1.1.0最新Oct 8, 2026

