Imagor MCP

io.github.cshum由 GitHub 帳號 cshum 發布v0.7.9更新於 Oct 24, 2026

An MCP server and a skill for imagor, compiling agent-written image layouts into one URL.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

一個 MCP 伺服器與技能,把代理撰寫的圖片版型(如 OG 卡片、商品格狀排列)編譯成一個由你自架 imagor 渲染的 URL。

可以做什麼
依描述編排圖片版型,例如 OG 卡片、商品格狀排列、引言或推薦語,並編譯成一個 imagor URL。透過工具建構 imagor 路徑,不必手寫路徑語法,無法運作的路徑會被拒絕。經由你執行的 imagor 實例渲染版型,並在回傳 URL 前檢視結果。提供現成配方與提示詞,涵蓋常見版型。
適用情境
當你已經執行 imagor,並希望助理設計與渲染分享卡片、商品格狀排列或引言圖片並以 URL 形式回傳,而不必學習 imagor 的路徑語法時使用。也適合在公開之前先在本機試排版型。
執行需求
以本機程序執行,可透過 Homebrew、mcpb 套件、容器映像或 Windows 二進位檔安裝,並需要一個正在執行的 imagor 實例。將 IMAGOR_BASE_URL 設為 imagor 的位址(預設 IMAGOR_UNSAFE 為 1 或提供 IMAGOR_SECRET,否則伺服器無法啟動;IMAGOR_SIGNER_TYPE 與 IMAGOR_SIGNER_TRUNCATE 必須與 imagor 伺服器設定一致。
安裝前請注意
IMAGOR_SECRET 是簽章密鑰,須保密;不安全模式僅供試用,正式環境應使用密鑰。簽章類型與截斷設定必須與 imagor 伺服器一致,否則產生的 URL 無法通過驗證。公開任何內容前請閱讀專案的安全說明。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Imagor MCP

[Test Status] [Docs] [Imagor MCP rated A on Glama]

An MCP server and a skill that add a template layer to imagor.

An agent writes a layout: OG cards, product grids, quotes, testimonials. It compiles to one imagor URL, rendered by the imagor you already run.

[Cards, each one a single imagor URL]

See the recipes »

Quick start

1. Run an imagor.

sh
docker run --rm -p 8000:8000 shumc/imagor -imagor-unsafe

Leave it running, and use a second terminal for the rest.

Unsafe mode is for trying things out. Production runs on IMAGOR_SECRET. See imagor's security docs.

2. Install the MCP server.

sh
brew trust cshum/tap && brew install imagor-mcp

3. Point a client at it.

your clientwhat to do
VS Codeadd it from here — one click
Claude Desktopopen imagor-mcp.mcpb — one click
Cursor, Claude Code, Windsurfadd the block below to its config file
Codexthe same values in TOML, at ~/.codex/config.toml
json
{  "mcpServers": {    "imagor": {      "command": "imagor-mcp",      "env": { "IMAGOR_UNSAFE": "1", "IMAGOR_BASE_URL": "http://localhost:8000" }    }  }}

Those two settings have to match what you started in step 1: IMAGOR_UNSAFE puts this server in the same mode, and IMAGOR_BASE_URL is where imagor is.

VS Code keys its servers under servers and Codex reads TOML, so the block above fits neither. Every client's config file is in Setup.

4. Ask it for something. See the recipes — each one carries a prompt to paste, or describe the image you want. The agent composes through the tools: it writes the layout, renders it, looks at the result, and hands you back the url. Neither of you needs imagor's path syntax: the tools build the path, and refuse one that cannot work.

That is the whole install. It is also in the official MCP Registry as io.github.cshum/imagor-mcp, which some clients install by name, and as ghcr.io/cshum/imagor-mcp in a container, which needs a different base URL, in Setup. Windows binaries are on the releases page.

Before anything is public, read Security: what this server is trusted with, and what it refuses.

Going deeper

  • Setup — every setting, the config file each client reads, and what to do before it is public.
  • Reference — every tool the server serves, the layout format, and the skill.
  • Cookbook — the ready-made layouts, and the url each one resolves to.
  • Contributing — building, testing, and the CLI.

Licence

MIT

來源:README.md,提交 4aec47e

工具

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

版本歷史

6
  1. v0.7.9最新Oct 15, 2026
  2. v0.7.7Oct 15, 2026
  3. v0.7.5Oct 15, 2026
  4. v0.7.2Oct 14, 2026
  5. v0.6.1Oct 14, 2026
  6. v0.6.0Oct 14, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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