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 分