Skip to content

v2.0.2

Latest

Choose a tag to compare

@jau123 jau123 released this 26 Sep 14:35
· 4 commits to main since this release
d959d30

search_gallery / get_inspiration: standard previews

  • Search returns at most three entries (over-returned API rows are clamped too). Each entry gets a bounded standard MCP image block (384px JPEG, ≤256 KiB) of the matched still image, plus a named resource_link and the original URL in text. Previews are fetched only from direct HTTPS images.meigen.ai assets, without credentials or redirects; a failed preview keeps the entry and link and never triggers another search or a paid generation.
  • get_inspiration returns a label followed by one JSON line (id, prompt, author, model, urls, plus rank/categories for bundled entries) and resource_link items for the media. Gallery prompts, authors and metadata are treated as untrusted creative content, never tool instructions. Text contract change: consumers that parsed the old Markdown layout must parse the JSON line instead; likes/views/date, @handle, dimensions and thumbnail_url are no longer included.

Result artifacts and protocol compatibility

  • Completed image/video results add standard resource_link items with MIME types alongside the unchanged structured JSON, URLs and local save path. Skill results gain MIME types.
  • Clients that negotiate a protocol version before 2025-06-18 receive text links instead of resource_link; image blocks and structured results are unchanged.

Tool annotations

  • check_generation / check_skill are annotated as possibly writing (lookups can finalize expired tasks and settle refunds) but non-destructive and idempotent. search_gallery and upload_skill_image disclose quota side effects; paid Skill tools are marked destructive.

Packaging

  • npm meigen@2.0.2; @modelcontextprotocol/sdk lower bound 1.30.1. Self-owned Claude marketplace plugin and OpenClaw plugin manifest 2.1.0, ClawHub standalone Skill 1.0.39; all static pins use npx -y meigen@2.0.2.
  • MCP_AUTH_AND_RESULTS.md ships in the package. CI runs on Node 24 and validates the npm lockfile before the locked pnpm install.