Atlas / MCP servers / fengin / Image-Gen

Image-GenSAFE

mcp/fengin/image-gen

一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
2 2r · 0w · 0d
Transport
—
License
MIT
Stars
229
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://mseep.ai/app/fengin-image-gen-server)

[](https://smithery.ai/server/@fengin/image-gen-server)

基于即梦AI的图像生成服务,专门设计用于与Cursor IDE集成。它接收来自Cursor的文本描述,生成相应的图像,并提供图片下载和保存功能。

此插件的开发过程可以看我的网站:开发一个MCP Server与Cursor集成,给Cursor插上翅膀!

更多AI知识,见AI全书(https://aibook.ren)

特性

  • 与Cursor IDE完美集成
  • 支持文本到图像的生成
  • 自动保存生成的图像
  • 支持自定义保存路径
  • 一次生成四张图,供更多选择

安装

Installing via Smithery

To install Image-Gen-Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @fengin/image-gen-server --client claude
  1. 环境准备,MCP比较新的东西,依赖环境版本都比较新
  2. python 3.10+
  • 安装npm
  • 安装nodejs(实测v15 v16都不行,开发环境验证v20可以,其他未验证)
  • 安装 pip install uv
  • 如果要调试,还需要安装这个:npm install -g @modelcontextprotocol/[email protected]
  • 克隆项目
git clone https://github.com/fengin/image-gen-server.git
cd image-gen-server
  1. 安装依赖
pip install -r requirements.txt
pip install uv
  1. 设置即梦Token和图片默认保存地址

修改server.py文件里面这两个配置

# API配置
JIMENG_API_TOKEN = "057f7addf85dxxxxxxxxxxxxx" # 你登录即梦获得的session_id,支持多个,在后面用逗号分隔   
IMG_SAVA_FOLDER = "D:/code/image-gen-server/images" # 图片默认保存路径

Cursor集成

  1. 打开Cursor设置
  • 点击左下角的设置图标
  • 选择 Features > MCP Servers
  • 点击 "Add new MCP server"
  1. 填写服务器配置
  • Name: image-gen-server(或其他你喜欢的名称)
  • Type: command
  • Command:
Read from source at commit e7a40348eef1OBSERVED · 2026-10-06
02

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
generate_imageread根据文本描述生成图片
use_descriptionread列出所有可用的工具及其参数
03

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
proxy/jimeng/utils.py:66
return hashlib.md5(text.encode('utf-8')).hexdigest()
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
proxy/jimeng/requirements.txt
requests
Why it matters. 1 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
aiohttp, aiofiles, requests, psutil, brotlipy
Why it matters. 5 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha e7a40348eef1full audit observations/trust-audit/mcp-server/fengin__image-gen.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06e7a40348eef1SAFEB89first audit
05

Questions

What is the Image-Gen MCP server?

一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口

What tools does Image-Gen expose?

2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Image-Gen 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-Gen need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (e7a40348eef1), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement