Truepane

io.github.antonkarliner由 GitHub 帳號 antonkarliner 發布v0.2.1更新於 Oct 25, 2026

Local MCP server generating complete App Store & Google Play screenshot sets.

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

概覽

AI 產生的概覽

本機 MCP 伺服器,把原始應用程式截圖製作成可直接上架的 App Store 與 Google Play 截圖組,包含裝置外框、背景、排版與多語系在地化。

可以做什麼
建立與編輯專案內容:投影片文案、截圖與在地化文案,涵蓋 iPhone、iPad、Android 手機與平板目標,批次匯入截圖前先預覽且不會默默覆寫。設定樣式與構圖:排版、配色、背景、正規化座標定位、縮放、旋轉、配色建議,以及橫跨兩張投影片的連動裝置。設定背景圖:可依單張、全部投影片或整條長背景,也能用形狀參數化產生背景。設定輸出為商店原生尺寸、Google Play 特色圖或自訂尺寸,算繪全解析度 PNG 並回傳內嵌預覽。發佈安全檢查:驗證專案、儲存基準、比較新增/變更/移除素材並只算繪變更項目。匯出與載入專案 JSON,與網頁編輯器往返交接。
適用情境
當你已有模擬器或實機原始截圖,希望由助理直接產出完整、多語系的 App Store 與 Google Play 截圖組而不使用設計軟體時使用。適合多平台、多語系的發佈流程,以及需要在版本之間重新產生或比對素材的情境。
執行需求
以 stdio 在本機執行,通常用 npx -y truepane-mcp 啟動;需要 Node 18 或更新版本。不需要 API 金鑰或設定。截圖從本機檔案路徑讀取,PNG 寫入本機路徑。Google Fonts 會視需要下載並快取,Inter 已內建,因此可離線算繪。
安裝前請注意
算繪會寫入你指定路徑的 PNG 檔案,專案匯出/匯入會讀寫專案 JSON。除非使用內建字型,否則會視需要從網路下載 Google Fonts。樣式與翻譯由助理自行判斷,發佈前應檢查算繪結果。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

truepane-mcp

A local MCP server for Truepane. It lets an AI agent (Claude Code, Codex, …) take raw app screenshots — e.g. captured from a simulator — and turn them into store-ready App Store / Google Play slides: procedural device frames at exact store resolutions, generated backgrounds, typography, and per-language localization.

Everything runs locally. It renders with a native canvas (@napi-rs/canvas): screenshots are read from local file paths and PNGs are written to local file paths — nothing is uploaded anywhere. No configuration or API keys are needed. The agent is itself the language model, so styling and translation are its own judgment calls.

What agents can do

  • Build one project for iPhone, iPad, Android phone, and Android tablet, with target- and locale-specific screenshots.
  • Preview and apply a screenshot directory deterministically with import_screenshots; conflicts never overwrite silently.
  • Place text and devices with normalized coordinates, resize mockups, align copy, rotate devices from −20° to +20°, and tilt the text block from −12° to +12°.
  • Set a custom background image per slide, across every slide, or as one long backdrop sliced across the whole strip, with set_background_image. Tune opacity, scrim, and fit afterwards; a scrim keeps titles readable over a photo. A backdrop can also be derived from the slide's own screenshot, which costs no storage at all.
  • Compose backgrounds parametrically with the custom shape family: six primitives (ring, disc, arc, triangle, bar, blob) across five arrangements (scatter, grid, row, radial, wave), with size, jitter, rotation, spacing, phase, stroke, and an opacity ramp. It is data, not code — deterministic from a seed, safe to share in a project file, and laid out in strip-space so a multi-slide background flows continuously.
  • Span one synchronized device across two adjacent slides. Both clipped halves keep their screenshot, position, scale, and rotation linked.
  • Save and apply portable brand kits without carrying screenshots or project data.
  • Render native store sizes, the 1024×500 Google Play feature graphic, or bounded custom dimensions. Custom width and height are validated together and rejected rather than silently replaced or clamped.
  • Run the same advisory release preflight as the browser editor.
  • Save a release baseline, compare added/changed/unchanged/removed assets, and render only changed assets.
  • Round-trip editable project JSON with the Truepane web editor.

Install

It's a standard stdio MCP server — any MCP-capable client can launch it with npx -y truepane-mcp (no checkout required). Requires Node ≥ 18.

Claude Code

sh
claude mcp add --scope user truepane -- npx -y truepane-mcp

Codex CLI

sh
codex mcp add truepane -- npx -y truepane-mcp

Or configure Codex manually in ~/.codex/config.toml:

toml
[mcp_servers.truepane]command = "npx"args = ["-y", "truepane-mcp"]

Cursor, Windsurf, Claude Desktop, and other JSON-config clients — add to the client's mcpServers block:

json
{  "mcpServers": {    "truepane": { "command": "npx", "args": ["-y", "truepane-mcp"] }  }}

Restart the client, then confirm that the Truepane tools are available.

Recommended agent workflow

  1. Call list_options first. It returns the full capability map plus valid platforms, output surfaces, fonts, backgrounds, and composition presets.
  2. Use create_project for slide copy and optional screenshots. Pass targets for a multi-platform project.
  3. Attach target/locale media with set_screenshots, or preview a prepared directory with import_screenshots and explicitly apply the reviewed map.
  4. Use set_style for typography, colors, backgrounds, and composition. For a background photo or a strip-wide backdrop, call set_background_image with a local file first, then tune it via set_style background.image. With slide_index, composition is slide-specific; device position is normalized canvas space, scale is 0.4..1.6, and rotation is −20..20. suggest_palette_from_screenshot provides a local-math starting palette.
  5. Use span_device_across_slides when one linked device should cross an adjacent slide boundary.
  6. Add localized copy and optional localized screenshots with set_translations. Render language: "all" for locale subfolders.
  7. Call validate_project, then render and inspect its inline preview. Adjust and re-render until the set is ready.
  8. Use export_project / load_project for browser-editor handoff.

Tool map

GoalTools
Create and edit contentcreate_project, set_slides, set_screenshots, set_translations
Bulk and multi-target mediaimport_screenshots, set_screenshots
Style and compositionset_style, suggest_palette_from_screenshot, span_device_across_slides
Background imageryset_background_image, set_style with background.image
Reusable visual systemsexport_brand_kit, apply_brand_kit
Native, feature, and custom canvasesset_output, render
Release safetyvalidate_project, compare_release, set_release_baseline, render with changed_only
Web-editor handoffexport_project, load_project

render writes full-resolution PNGs and returns a compact inline preview. Use target: "all" and/or language: "all" for the full matrix. Use what: "strip" for a continuous horizontal strip.

Fonts

Google Fonts are fetched on demand and cached in ~/.cache/truepane/fonts (Inter is bundled, so offline rendering works out of the box). The -apple-system font renders as real San Francisco on macOS — from your own installed system font, never bundled or redistributed — and falls back to Inter on Linux/CI. SF is a variable font, so its full weight range resolves (including Heavy/Black via titleWeight/subtitleWeight), not just Regular/Bold. A curated set of Google fonts — Inter, Manrope, and Fraunces — is loaded as a single-file variable font too, so their full range resolves as well; other Google fonts use their static faces (up to ~700). Want another font's full range? Open an issue or PR adding it to VARIABLE_FONT_URLS in server/mcp/fonts.ts. For non-Latin target languages, pick a font that covers the script (Inter covers Cyrillic/Greek; Noto Sans JP/KR/SC for CJK; Noto Sans Arabic for Arabic, which is shaped and laid out right-to-left automatically) — unlike browsers, server-side rendering has no per-glyph system-font fallback, so glyphs a font lacks come out as boxes.

License

AGPL-3.0. Part of the Truepane project; see the main repository for the web app and full documentation.

來源:packages/truepane-mcp/README.md,提交 2cbdf69

工具

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

版本歷史

1
  1. v0.2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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