Skip to main content

bit-graphics

Social-media image generation and style analysis, powered by the same provider stack as the bit-graphics studio app. Being hosted, generated images come back as inline MCP image blocks — Claude Desktop renders them directly in the conversation.

Tools

generate_social_image

Generate social-media-ready images. 2 variants by default, returned fastest-first.

ParamTypeNotes
promptstring, requiredWhat to depict, including style guidance
formatenumPreset controlling aspect ratio — see list_formats. Default ig-square
providergemini | openaiNano Banana (default) or gpt-image
count1–4Variants; default 2

Formats: ig-square 1:1 · ig-portrait 4:5 · ig-story 9:16 · li-square 1:1 · li-landscape 16:9 · li-story 9:16 · custom-square/portrait/story/landscape/widescreen

analyze_image_style

Send an image (base64), get structured style JSON back: a short label, a long reusable prompt describing the visual language, a hex palette, typography notes, and the design era. Feed the returned prompt into generate_social_image to produce new imagery in the same style.

ParamTypeNotes
image_base64string, requiredRaw base64, no data: prefix
mime_typeenumimage/png (default), jpeg, webp, gif

list_formats

No parameters — returns the format preset table.

Notes

  • Generation takes 20–90s depending on variant count; clients should allow long tool timeouts.
  • Model selection is server-side via env (GEMINI_IMAGE_MODEL, OPENAI_IMAGE_MODEL, GEMINI_TEXT_MODEL).
  • The local stdio twin of this server lives in the bit-graphics repo (scripts/mcp-server.mjs) — it writes files to disk instead of returning inline images, and its analysis uses the studio app's exact preset vocabulary.