Image GenerationSAFE
This MCP server provides image generation capabilities using the Replicate Flux model.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://smithery.ai/server/@GongRzhe/Image-Generation-MCP-Server)
This MCP server provides image generation capabilities using the Replicate Flux model.
Installation
Installing via Smithery
To install Image Generation MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GongRzhe/Image-Generation-MCP-Server --client claude
Option 1: NPX Method (No Local Setup Required)
You can use the package directly from npm without installing it locally:
# No installation needed - npx will handle it
Option 2: Local Installation
If you prefer a local installation:
# Global installation npm install -g @gongrzhe/image-gen-server # Or local installation npm install @gongrzhe/image-gen-server
Setup
Configure Claude Desktop
Edit your Claude Desktop configuration file:
- On MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
Option 1: NPX Configuration (Recommended)
This method runs the server directly from npm without needing local files:
{
"mcpServers": {
"image-gen": {
"command": "npx",
"args": ["@gongrzhe/image-gen-server"],
"env": {
"REPLICATE_API_TOKEN": "your-replicate-api-token",
"MODEL": "alternative-model-name"
},
"disabled": false,
"autoApprove": []
}
}
}Option 2: Local Installation Configuration
If you installed the package locally:
{
"mcpServers": {
"image-gen": {
"command": "node",
"args": ["/path/to/image-gen-server/build/index.js"],
"env": {
"REPLICATE_API_TOKEN": "your-replicate-api-token",
"MODEL": "alternative-model9bee5cf94750OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add image-gen-server --env REPLICATE_API_TOKEN=${REPLICATE_API_TOKEN} -- npx -y @gongrzhe/[email protected]{
"mcpServers": {
"image-gen-server": {
"command": "npx",
"args": [
"-y",
"@gongrzhe/[email protected]"
],
"env": {
"REPLICATE_API_TOKEN": "${REPLICATE_API_TOKEN}"
}
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
generate_image | read | Generate an image using the Flux model |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
@modelcontextprotocol/sdk, @types/node, axios, typescript
Gates applied: no_behavioural_pass.
9bee5cf94750full audit observations/trust-audit/mcp-server/gongrzhe__image-generation.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 9bee5cf94750 | SAFE | B | 89 | first audit |
Questions
What is the Image Generation MCP server?
This MCP server provides image generation capabilities using the Replicate Flux model.
What tools does Image Generation expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Image Generation safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Image Generation need?
It reads REPLICATE_API_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Image Generation run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @gongrzhe/image-gen-server at 1.0.1.
How current is this page?
The grade is for one exact copy of the source (9bee5cf94750), read on 2026-10-08. The repository is watched and re-audited when it changes.