Skip to main content
Glama

image-gen-mcp

npm CI license Node

Generate and edit images from your coding agent, with your own API keys. Ask for a blog cover, a logo tweak, or a placeholder illustration, and the file lands directly in your project where the agent can read it and iterate.

Google Gemini image models (the Nano Banana family) and OpenAI GPT image models behind one interface. Configure one provider or both.

A terminal window emitting a gradient ribbon that resolves into three generated image thumbnails

This banner and the repository's social preview card were both generated by this server, with gemini-3.1-flash-image at 16:9 2K. Prompts are in assets/README.md.

Install

claude mcp add image-gen --scope user \
  --env GEMINI_API_KEY=your-gemini-key \
  --env OPENAI_API_KEY=your-openai-key \
  -- npx -y @nuver-labs/image-gen-mcp

Start a new Claude Code session to pick it up, then check claude mcp list.

Three things that trip people up:

  • At least one option must sit between the last --env and the server name. Above, --scope does that job. Put the name straight after an --env pair and the CLI reads it as another KEY=value.

  • -- before the command is mandatory. Without it the server's own arguments get parsed as Claude Code's.

  • Drop the --env line for any provider you do not use. You need at least one.

Get keys from Google AI Studio and the OpenAI platform.

Other clients

Same package everywhere. For .mcp.json (project scope, commit it) and Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "image-gen": {
      "command": "npx",
      "args": ["-y", "@nuver-labs/image-gen-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-key",
        "OPENAI_API_KEY": "your-openai-key"
      }
    }
  }
}

Claude Code also accepts a per-server "timeout": 600000, which Claude Desktop does not. Cursor uses the same shape in .cursor/mcp.json. On Windows, GUI hosts cannot always find npx, so use "command": "cmd" with "args": ["/c", "npx", "-y", "@nuver-labs/image-gen-mcp"].

Related MCP server: image-gen-mcp

Use it

Just ask, in plain language:

  • "Generate a 16:9 hero image of a lighthouse at dusk and save it to assets/hero.png"

  • "Take public/logo.png and give it a transparent background"

  • "Create 3 variations of a flat paper airplane icon, square, into design/drafts/"

The agent calls generate_image or edit_image with an absolute output_path inside your project, the file lands on disk, and the agent can then read the saved path to look at the result and refine it. If a call fails, ask it to run list_capabilities to see what is actually configured.

Tools

Tool

What it does

generate_image

Text prompt to one or more image files. Returns the absolute saved paths.

edit_image

Edit or combine existing images with a text instruction. Never overwrites the sources.

list_capabilities

Which providers are configured, default models, and the output directory rules.

generate_image

Argument

Type

Notes

prompt

string, required

Subject, style, composition, colors, any text to render

output_path

string

Absolute file path (.png/.jpg/.webp) or a directory. Given a directory, the filename is slugified from the prompt

provider

gemini | openai

Overrides the default provider

model

string

Gemini: gemini-3.1-flash-image (default), gemini-3.1-flash-lite-image, gemini-3-pro-image, gemini-2.5-flash-image. OpenAI: gpt-image-2 (default), gpt-image-1.5, gpt-image-1, gpt-image-1-mini

aspect_ratio

1:1 2:3 3:2 3:4 4:3 9:16 16:9 21:9

Exact on Gemini and gpt-image-2. Older OpenAI models approximate: landscape 1536x1024, portrait 1024x1536

n

1-4

Gemini generates sequentially, so n>1 is slower there

quality

low medium high auto

OpenAI only. low for cheap drafts

background

transparent opaque auto

OpenAI only. Ideal for logos and icons. Needs gpt-image-1.5 or older, so transparent on gpt-image-2 auto-switches to gpt-image-1.5 and says so in the result

image_size

1K 2K 4K

Gemini 3.x only

return_image

boolean

Also return the first image inline so the model can see it without a read. Costs context tokens

edit_image

Everything above, plus:

Argument

Type

Notes

source_paths

string[], required

1-16 absolute paths (.png/.jpg/.jpeg/.webp). The first is the edit target, the rest are references. Gemini works best with 1-3

input_fidelity

low | high

OpenAI only. high preserves faces, logos, and fine detail. Ignored on gpt-image-2, which is always high fidelity

When output_path is omitted, the result is saved next to the first source image.

list_capabilities

No arguments. Reports configured providers as booleans (never key values), the default provider and models, known model options, the output directory fallback chain, and any directory restriction in force.

Configuration

Variable

Default

Purpose

GEMINI_API_KEY

(unset)

Enables the Gemini provider

OPENAI_API_KEY

(unset)

Enables the OpenAI provider

IMAGE_GEN_MCP_DEFAULT_PROVIDER

key-based

gemini or openai. When unset: gemini if its key is set, else openai

IMAGE_GEN_MCP_GEMINI_MODEL

gemini-3.1-flash-image

Default Gemini model

IMAGE_GEN_MCP_OPENAI_MODEL

gpt-image-2

Default OpenAI model

IMAGE_GEN_MCP_OUTPUT_DIR

(unset)

Fallback output directory when a call passes no output_path

IMAGE_GEN_MCP_ALLOWED_DIRS

(unset)

Comma separated directories that all reads and writes are confined to. See Security

IMAGE_GEN_MCP_TIMEOUT_MS

180000

Per-request timeout to the provider API

IMAGE_GEN_MCP_LOG_FILE

~/.image-gen-mcp/images.jsonl

JSONL ledger path. Absolute path to relocate, none to disable the file

With no output_path, files go to the first of: IMAGE_GEN_MCP_OUTPUT_DIR, CLAUDE_PROJECT_DIR (set by Claude Code, points at the current project), the server working directory.

Security

This server runs locally with your full user privileges and is not sandboxed by the MCP client. Worth understanding before you grant it blanket tool approval.

What it can do. Writes image files to disk. Reads the image files you point edit_image at. Sends your prompt, and any edit_image source image, to the provider you selected. Makes billable API calls. That is the whole surface: three tools, no shell execution, no arbitrary URL fetching, no telemetry.

File access. The model chooses output_path and source_paths, and by default they are unrestricted, because that is what makes the tool useful: your agent saves into whichever project you are working in. Note that Claude Code's working-directory boundary does not extend to MCP servers, and Anthropic does not security-audit third-party MCP servers.

To draw a hard boundary, set IMAGE_GEN_MCP_ALLOWED_DIRS:

IMAGE_GEN_MCP_ALLOWED_DIRS=/Users/you/projects,/Users/you/Desktop

Every output path and every edit_image source must then resolve inside one of those roots. Paths are compared after realpath resolution, so a symlink pointing out of a root is refused, and containment uses path segments rather than a string prefix, so a sibling directory like /Users/you/projects-private does not slip through. If none of the configured entries exist, the server refuses all file access rather than silently running unrestricted.

API keys. Keys are read only from the environment, passed to the provider SDK constructors, and used nowhere else. They are never logged, never written to the ledger, and never returned by list_capabilities, which reports booleans.

The risk is where you put them, not what this server does with them. Keys inlined into ~/.claude.json or claude_desktop_config.json sit in plaintext, readable by any process running as you, and an agent asked to read its own config can print them into a transcript. Prefer exporting from a shell profile or a secret manager, chmod 600 the config files, and use a dedicated key with a spend limit rather than a shared production key.

Spend. There is no built-in rate limit or cap. An agent in a retry loop can generate a lot of images quickly. Set OpenAI hard spend limits and Google Cloud budget alerts.

Local log. The ledger at ~/.image-gen-mcp/images.jsonl contains a truncated copy of each prompt in plaintext and grows without bound. Disable it with IMAGE_GEN_MCP_LOG_FILE=none, and do not commit it.

Prompt injection. Tool results re-enter the model's context. Prefer per-call approval over blanket-allowing this server, and glance at the output path and any edit_image source path when approving. Pin a version and review the diff before upgrading.

Found a vulnerability? See SECURITY.md. Please do not open a public issue.

Logging

Every successful call records one structured JSON entry, two ways:

  • stderr, always: one [image-gen-mcp] image {...} line, visible in /mcp output and Claude Code logs.

  • JSONL ledger, on by default: the same JSON appended to ~/.image-gen-mcp/images.jsonl, one line per call. Ledger write failures never break a generation, they warn once on stderr.

Each entry captures the provider, model, requested size, elapsed seconds, a truncated prompt with its full character count, token usage when the provider reports it, and per-image details: saved path, byte size, human-readable size, mime type, and actual pixel dimensions.

tail -n 20 ~/.image-gen-mcp/images.jsonl
jq 'select(.usage) | .usage.totalTokens' ~/.image-gen-mcp/images.jsonl

Costs

Every call hits a paid API, typically cents per image, varying by provider, model, quality, and size. Cheap options for drafts: OpenAI quality: low (roughly $0.006 for a low-quality 1024x1024 on gpt-image-2) or gpt-image-1-mini, and Gemini gemini-3.1-flash-lite-image. Gemini's gemini-2.5-flash-image may have a free tier on unbilled keys, so IMAGE_GEN_MCP_GEMINI_MODEL=gemini-2.5-flash-image makes it the default.

Timeouts

Generation takes roughly 10 to 120 seconds depending on model and size. Claude Code's defaults are generous and this server sends progress notifications during long calls, so no tuning is normally needed. If you set a tight global MCP_TOOL_TIMEOUT, add a per-server "timeout": 600000 in .mcp.json.

Troubleshooting

  • Server logs go to stderr with an [image-gen-mcp] prefix. Claude Code surfaces them in /mcp output and its logs.

  • Registered but no tools: start a new session, then check claude mcp list and claude mcp get image-gen.

  • Provider 'x' is not configured: that key is missing from the MCP server environment. Re-register with the --env flag or edit your config.

  • Output is outside the allowed directories: IMAGE_GEN_MCP_ALLOWED_DIRS is set. Run list_capabilities to see the roots.

  • Response too large: return_image inlines a full image and can exceed the MCP output token limit (MAX_MCP_OUTPUT_TOKENS, default 25k). Leave it off and let the agent read the saved file.

  • Gemini refusal: the error includes the finish reason and any provider text. Rephrase the prompt.

Build from source

Requires Node 22+ and pnpm.

git clone https://github.com/nuver-labs/image-gen-mcp.git
cd image-gen-mcp
pnpm install
pnpm build

Then point your client at node /abs/path/to/image-gen-mcp/dist/index.js instead of npx -y @nuver-labs/image-gen-mcp.

pnpm test      # unit tests, no API keys needed
pnpm inspect   # list the tools over real MCP stdio

# Live tests. These cost real API credits.
GEMINI_API_KEY=... node dist/smoke.js --provider gemini
OPENAI_API_KEY=... node dist/smoke.js --provider openai
node dist/smoke.js --provider gemini --edit ./smoke-output/smoke-gen-gemini.png

Contributing

Bug reports, provider quirk fixes, and documentation improvements are welcome. See CONTRIBUTING.md. For anything larger, open an issue first.

Planned: OpenAI mask and inpainting support, migration off the legacy Gemini generateContent image path to the Interactions API, and more providers.

License

MIT


Built by Nuver Labs.

Available Tools

3 tools
edit_imageEdit imageA

Edit or combine existing image file(s) using a text instruction: modify elements, restyle, add or remove content, or merge references. Reads the source image(s) from disk, saves the result as a NEW file (never overwrites sources), and returns the absolute saved path(s).

ParametersJSON Schema
NameRequiredDescriptionDefault
nNoNumber of images, 1-4 (default 1). Gemini generates sequentially, so n>1 is slower there.
modelNoOverride the model. Gemini: gemini-3.1-flash-image (default), gemini-3.1-flash-lite-image, gemini-3-pro-image, gemini-2.5-flash-image. OpenAI: gpt-image-2 (default, best quality), gpt-image-1.5, gpt-image-1, gpt-image-1-mini. IMPORTANT: gpt-image-2 cannot do transparent backgrounds; pass gpt-image-1.5 when background transparent is needed.
promptYesThe edit instruction, e.g. "make the background transparent" or "restyle as a flat vector logo".
qualityNoOpenAI only, ignored by Gemini. Use low for cheap drafts.
providerNoOverride the default provider. Call list_capabilities to see what is configured.
backgroundNoOpenAI only, ignored by Gemini. transparent yields alpha PNG/WebP, ideal for logos and icons. Requires gpt-image-1.5 or older: gpt-image-2 does not support it, so transparent calls on gpt-image-2 auto-switch to gpt-image-1.5 (noted in the result). Prefer passing model gpt-image-1.5 explicitly when you need transparency.
image_sizeNoGemini 3.x models only (ignored by OpenAI; gemini-2.5-flash-image is fixed at 1024px). Default 1K.
output_pathNoAbsolute path strongly recommended. Either a full file path (.png/.jpg/.webp) or a directory (a slugified filename is derived from the prompt). If omitted: $IMAGE_GEN_MCP_OUTPUT_DIR, then $CLAUDE_PROJECT_DIR, then the server cwd. The server may be restricted to specific directories; call list_capabilities to see allowedDirs.
aspect_ratioNoGemini and OpenAI gpt-image-2 honor the ratio exactly. Older OpenAI models approximate: landscape -> 1536x1024, portrait -> 1024x1536, 1:1 -> 1024x1024.
return_imageNoDefault false. When true, also returns the FIRST image as an inline MCP image block so you can see it without a Read. Large images can exceed the MCP output token limit; for 2K/4K prefer Read on the saved path.
source_pathsYesAbsolute paths to existing input images (.png/.jpg/.jpeg/.webp). The first is the primary edit target; extras act as references. OpenAI accepts up to 16; Gemini works best with 1-3.
input_fidelityNoOpenAI only. high preserves faces, logos, and fine details from the input more faithfully. Ignored on gpt-image-2, which always processes inputs at high fidelity.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds behavior beyond the annotations: "saves the result as a NEW file (never overwrites sources)" and "returns the absolute saved path(s)." These safety and outcome details are valuable context that annotations (readOnlyHint=false, destructiveHint=false) do not provide. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences: first states the core purpose and allowed operations, second explains input/output behavior, third states the return value. Every sentence earns its place, with no redundancy or filler. It is front-loaded with the most important information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter tool with no output schema, the description covers the essential context: what it does, source handling, non-destructive output, and return value. The rich parameter details are already in the schema, so the description is complete without being verbose. Slight gap: it does not mention provider-specific variations, but those are documented in the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already fully documents all 12 parameters. The description itself does not elaborate on any parameter semantics, but the baseline 3 is appropriate since the structured data carries the burden and does it well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: "Edit or combine existing image file(s) using a text instruction," and lists concrete operations (modify, restyle, add/remove content, merge references). This clearly distinguishes it from the sibling generate_image tool, which creates new images rather than editing existing ones.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes it clear the tool is for existing image files ("Reads the source image(s) from disk"), implying the alternative generate_image for new images. However, it does not explicitly state when not to use this tool or name the sibling alternatives, leaving a small gap in explicit guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generate_imageGenerate imageA

Generate one or more images from a text prompt using Gemini or OpenAI image models and save them to disk. Returns the absolute saved file path(s) plus provider/model metadata. Strongly prefer passing an absolute output_path inside the current project so the file lands where you can use it. Each image costs real API credits.

ParametersJSON Schema
NameRequiredDescriptionDefault
nNoNumber of images, 1-4 (default 1). Gemini generates sequentially, so n>1 is slower there.
modelNoOverride the model. Gemini: gemini-3.1-flash-image (default), gemini-3.1-flash-lite-image, gemini-3-pro-image, gemini-2.5-flash-image. OpenAI: gpt-image-2 (default, best quality), gpt-image-1.5, gpt-image-1, gpt-image-1-mini. IMPORTANT: gpt-image-2 cannot do transparent backgrounds; pass gpt-image-1.5 when background transparent is needed.
promptYesWhat to generate. Be specific: subject, style, composition, colors, any text to render.
qualityNoOpenAI only, ignored by Gemini. Use low for cheap drafts.
providerNoOverride the default provider. Call list_capabilities to see what is configured.
backgroundNoOpenAI only, ignored by Gemini. transparent yields alpha PNG/WebP, ideal for logos and icons. Requires gpt-image-1.5 or older: gpt-image-2 does not support it, so transparent calls on gpt-image-2 auto-switch to gpt-image-1.5 (noted in the result). Prefer passing model gpt-image-1.5 explicitly when you need transparency.
image_sizeNoGemini 3.x models only (ignored by OpenAI; gemini-2.5-flash-image is fixed at 1024px). Default 1K.
output_pathNoAbsolute path strongly recommended. Either a full file path (.png/.jpg/.webp) or a directory (a slugified filename is derived from the prompt). If omitted: $IMAGE_GEN_MCP_OUTPUT_DIR, then $CLAUDE_PROJECT_DIR, then the server cwd. The server may be restricted to specific directories; call list_capabilities to see allowedDirs.
aspect_ratioNoGemini and OpenAI gpt-image-2 honor the ratio exactly. Older OpenAI models approximate: landscape -> 1536x1024, portrait -> 1024x1536, 1:1 -> 1024x1024.
return_imageNoDefault false. When true, also returns the FIRST image as an inline MCP image block so you can see it without a Read. Large images can exceed the MCP output token limit; for 2K/4K prefer Read on the saved path.

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses several behaviors not visible in annotations: real API credit costs, sequential generation slowdown on Gemini for n>1, automatic switch from gpt-image-2 to gpt-image-1.5 for transparent backgrounds, model-specific image size handling, and MCP output token limits for return_image. This goes well beyond the sparse annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences, each carrying essential info: core function, return value, output_path preference, and cost warning. It is front-loaded with the primary purpose and avoids filler while remaining comprehensive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description explains the return format (absolute paths + provider/model metadata). It covers cost, output path fallback chain, allowed directories via list_capabilities, transparency caveats, and return_image token limits — a thorough treatment for a 10-param tool with no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 10 parameters already have detailed descriptions in the JSON schema (100% coverage), so the description adds little per-parameter semantics. The only extra guidance is preferring an absolute output_path and noting cost implications, which doesn't elevate beyond the schema-driven baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Generate one or more images from a text prompt using Gemini or OpenAI image models and save them to disk.' This clearly distinguishes it from sibling edit_image (which edits existing images) and names the underlying providers and model families.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage cues: strongly prefer an absolute output_path, call list_capabilities to see configured providers/allowedDirs, and use low quality for cheap drafts. It doesn't explicitly state when to choose generate_image over edit_image, so it lacks a full when-not-to-use contrast.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_capabilitiesList image provider capabilitiesA
Read-onlyIdempotent

Report which image providers (gemini, openai) are configured in this server, the default provider and models, known model options, the output directory fallback, and any directory restriction in force. Call this first if unsure what is available or why a call failed.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds value by detailing the exact contents of the report (providers, default provider/models, known options, output directory fallback, directory restrictions), which goes beyond the annotations and clarifies expected behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, two sentences, with the core purpose front-loaded and a usage hint appended. Every word earns its place, with no fluff or repetition of structured annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, no-parameter listing tool, the description fully explains what the tool reports and when to use it. No output schema exists, but the description compensates by listing the kinds of information returned. Overall, it is complete for its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no parameters (schema is an empty object), so the description does not need to explain parameter meanings. The baseline for 0 params is 4, and the description appropriately avoids adding irrelevant parameter details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function as reporting image provider capabilities, enumerating specific details (providers, defaults, model options, output directory fallback, restrictions). It distinguishes itself from sibling tools (generate_image, edit_image) by being a read-only inspection tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance on when to use the tool: 'Call this first if unsure what is available or why a call failed.' This is helpful, though it does not explicitly mention alternatives or when not to use it, relying on sibling names for differentiation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct operation: generate creates new images from text, edit modifies existing images, and list_capabilities reports configuration. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a clear verb_noun pattern: generate_image, edit_image, list_capabilities. This is consistent and predictable.

Tool Count5/5

With 3 tools, the server is well-scoped for its purpose. Each tool covers a necessary function without unnecessary bloat, fitting the typical 3-15 tool range.

Completeness4/5

The server covers the core lifecycle for image generation and editing, plus a capabilities introspection tool. Minor gaps like listing or deleting generated images are not essential to its stated purpose.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuver-labs/image-gen-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server