snapgen-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@snapgen-mcp generate an image of a neon cyberpunk city at night"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
snapgen-mcp
Unofficial Model Context Protocol server for snapgen.ai. It talks only to the snapgen API with your own key. No Higgsfield account, no extra subscription in this repo.
Not affiliated with snapgen.ai. API behavior follows docs.snapgen.ai. Premium is required on the snapgen side for API access.
Setup
Create a key at https://snapgen.ai/profile/integration/api-keys
Node.js 18+
git clone https://github.com/rmryv/snapgen-mcp.git
cd snapgen-mcp
npm installClaude Desktop / Cursor / Claude Code config:
{
"mcpServers": {
"snapgen": {
"command": "node",
"args": ["/absolute/path/to/snapgen-mcp/src/index.js"],
"env": {
"SNAPGEN_API_KEY": "your-key"
}
}
}
}Related MCP server: media-gen-mcp
Tools
Tool | Endpoint |
|
|
|
|
|
|
| Veo, Seedance, and family paths under |
|
|
|
|
| Polls history until status 2 or 3 |
| Any |
Auth header is x-api-key. Jobs are async. Status 1 is processing, 2 completed, 3 failed. Download media URLs; snapgen expires results.
Video family paths for minimax, grok, flux, kling, and vela follow the documented /uapi/v1/video-gen/{family} pattern. If a family 404s, use snapgen_request with the path from the matching docs page.
Available Tools
8 toolsgenerate_gpt_imageC
Generate an image with GPT Image 2. POST /uapi/v1/imagen/gpt-image-2. Premium plan required by snapgen.
Inputs: prompt (required), mode, file_urls, background, +3 more.
generate_grok_imageC
Generate an image with Grok. POST /uapi/v1/imagen/grok.
Inputs: prompt (required), mode, file_urls, num_result, +2 more.
generate_imageB
Generate an image with snapgen nano-banana models. POST /uapi/v1/generate_image. Returns a job; poll with get_generation.
Inputs: prompt (required), model, style, file_urls, +3 more.
generate_videoC
Submit a video job. family selects the documented path. Returns a uuid to poll with get_generation.
Inputs: model (required), prompt (required), mode, family, +4 more.
get_generationB
Fetch one generation by uuid. GET /uapi/v1/history/{uuid}. status 1 processing, 2 completed, 3 failed.
Inputs: uuid (required).
list_generationsC
List recent generations. GET /uapi/v1/histories.
Inputs: page, filter_by, items_per_page.
snapgen_requestC
Call any snapgen path under /uapi. Use when a model ships before this server is updated. path must start with /uapi/.
Inputs: path (required), query, fields, method.
wait_for_generationB
Poll a generation until it completes, fails, or the timeout is hit. Does not resubmit the job.
Inputs: uuid (required), timeout_seconds, interval_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
The three image generators are distinguished by model (nano-banana vs GPT vs Grok), though the generic name 'generate_image' for nano-banana is slightly misleading next to 'generate_gpt_image'/'generate_grok_image'. get_generation vs wait_for_generation are separable (fetch once vs poll to completion), and snapgen_request is a documented escape hatch, but it technically overlaps with every other tool.
Strong verb_noun pattern throughout (generate_*, get_generation, list_generations, wait_for_generation). The only deviation is snapgen_request, which breaks the verb_noun convention but is still readable and clearly scoped as a fallback.
Eight tools is well within the sweet spot, with generation, polling, retrieval, listing, and a documented catch-all each earning a distinct slot. No redundancy that would justify trimming.
Full lifecycle is covered: submit (generate_image/video), poll (wait_for_generation), fetch (get_generation), and list (list_generations). No delete/cancel operation exists, but snapgen_request provides an escape hatch for uncovered endpoints like cancellation.
Maintenance
Related MCP Connectors
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
Image and video AI tools and your own pipelines, run from any AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides tools to interact with RunwayML and Luma AI APIs for video and image generation, including text-to-video, image-to-video, prompt enhancement, and management of generations.18ISC
- AlicenseAqualityDmaintenanceEnables AI image and video generation using Google Nano Banana and Veo 3.1 via a LiteLLM gateway, providing tools for synchronous image generation and asynchronous video generation with polling, returning public URLs.4MIT
- AlicenseAqualityDmaintenanceEnables MCP-compatible agents to access KaiRouter's video generation API, providing tools to list available video models, generate videos (text-to-video or image-to-video) asynchronously, check job status, and list recent jobs.4MIT
- AlicenseAqualityCmaintenanceEnables AI agents to interact with a Stable Diffusion REST API for image generation, inpainting, model management, and merging.18GPL 3.0