Yourimageshare

io.github.MediaShareORG由 GitHub 帳號 MediaShareORG 發布v1.0.6更新於 Oct 24, 2026

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

已驗證STDIO僅桌面檔案與儲存媒體與設計

概覽

AI 產生的概覽

YourImageShare 圖床 API 的 MCP 伺服器,讓助理上傳、列出、修改與刪除圖片並取得真實連結。

可以做什麼
  • 從本機路徑、內嵌 base64 加檔名或公開網址上傳圖片,可設定到期時間、可見性、標題與描述
  • 依 id 取得單一上傳的連結、縮圖、大小與中繼資料
  • 修改上傳項目的可見性、標題或描述
  • 依最新優先分頁列出帳號中的上傳項目,每頁 50 筆
  • 依 id 永久刪除某個上傳項目
適用情境
適合需要把截圖或圖片變成可分享連結的情境,例如撰寫錯誤回報、PR 說明或支援討論串,省去貼上 base64 或手動上傳。也可用來在對話中管理既有的 YourImageShare 圖庫。
執行需求
以 stdio 方式在本機執行,通常透過 npx 啟動,需要 Node.js,無需安裝。需要 YourImageShare 帳號,並以環境變數 YIS_API_KEY 提供 API 金鑰。選用的環境變數 YIS_BASE_URL 可覆寫 API 位址,僅供測試使用。需要能連線至 YourImageShare API 的網路。
安裝前請注意
YIS_API_KEY 中的 API 金鑰可完整控制所綁定的帳號,請勿放入共用設定。上傳預設為 unlisted,任何取得連結的人都能檢視檔案與頁面;也可選擇 private 或 public。上傳會把檔案內容或網址傳送給第三方服務,delete_upload 會永久刪除資料。新上傳會回傳一次性的刪除連結。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Yourimageshare,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

Install / run

No install needed - run directly with npx:

bash
npx yourimageshare-mcp

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):

json
{  "mcpServers": {    "yourimageshare": {      "command": "npx",      "args": ["-y", "yourimageshare-mcp"],      "env": {        "YIS_API_KEY": "YOUR_API_KEY"      }    }  }}

Environment variables

VariableRequiredPurpose
YIS_API_KEYyesYour YourImageShare API key.
YIS_BASE_URLnoOverride the API base URL (default https://yourimageshare.com/api). For testing only.

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, or
  • url - 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 yourimageshare npm package, so this server's releases aren't coupled to that package's.

License

MIT

Support

yourimageshare.com/contact

來源:mcp/README.md,提交 1cb0eb5

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.6最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分