DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Image Gen Mcp — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
I

dsh-image-gen-mcp

Image Gen Mcp

DeepSeek Harness 插件:通过可配置且与提供商无关的后端生成图像。它将捆绑的 stdio MCP 服务器挂载到 NDJSON 桥接层后,通过 mcp__image_generation__image_generate 和 mcp__image_generation__image_config_status 提供功能,并注册捆绑的图像生成技能。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:bauerelizabeth07139/image-gen-mcp#54e1b6f3dac4f2f55d3a4034716171669977d6fa
README兼容性版本

兼容性与来源证明

Image Gen Mcp 以 dsh-image-gen-mcp 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/4

版本

0.1.0stable
2026/10/4

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/8
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Modlens@liustack/modlens面向仅支持文本的 LLM 的插件视觉能力,由免费的 Antigravity CLI 提供支持Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Vision Routerdsh-vision-router为仅支持文本的 DeepSeek Harness agents 提供视觉能力:内置免费视觉链路和像素级工具。除非配置为严格仅限本地使用,否则远程视觉提供商(包括默认的免费回退服务)会接收图像内容。Vision Toolkit@anionex/dsh-vision-toolkit面向 Harness 原生集成的 DeepSeek 与 agent-vision-toolkit:图像问答、OCR、定位、UI 还原、像素差异、Artifacts 和 Web UI。

README

image-gen-mcp

Configurable, provider-agnostic image generation, as a DeepSeek Harness plugin. Point it at any OpenAI-compatible /v1/images/generations endpoint and the model gains image_generate and image_config_status — plus a bundled skill that tells it when to use them.

A Codex plugin that exposes image generation tools through MCP with a configurable base URL and API key.

Install

DeepSeek Harness Desktop — open Plugins in the sidebar, choose Add plugin, and enter:

https://github.com/bauerelizabeth07139/image-gen-mcp

Then switch the new dsh-image-gen-mcp bundle on, and give it a backend (see Configuration — without a base URL and key the plugin deliberately mounts nothing and says so).

dsh CLI — install it into the profile you actually boot:

dsh plugin --profile web add bauerelizabeth07139/image-gen-mcp

No git on the machine? pnpm resolves a git shorthand with git ls-remote, which fails with 'git' is not recognized when git is missing. Use the tarball instead — that path is plain HTTPS:

dsh plugin --profile web add https://codeload.github.com/bauerelizabeth07139/image-gen-mcp/tar.gz/master

The same address works in the Desktop Add plugin dialog. Replace master with a commit SHA to pin an exact revision (/tar.gz/<sha>).

Uninstall with dsh plugin --profile web remove dsh-image-gen-mcp.

Requirements

  • Node.js ≥ 22 — the harness itself; the server is plain Node with no npm dependencies, so there is nothing to install.
  • A backend: a base URL that answers POST {baseUrl}/v1/images/generations and an API key for it. The base URL must not include /v1.

Tools

ToolWhat it does
mcp__image_generation__image_generateGenerates an image from a prompt. Parameters: prompt (required), model, size, n.
mcp__image_generation__image_config_statusReports whether the base URL and key are configured — ask this first when a generation fails for configuration reasons.

Bundled skill

skills/image-generation/SKILL.md is registered by the plugin, so the model knows the workflow: check image_config_status, generate with image_generate, return the artifact or an actionable error. It is adapted from the repository's original Codex skill — same workflow, harness tool names, plus a note about base64 payloads.

Configuration

KeyEnvironment variableDefaultMeaning
baseUrlIMAGE_GEN_BASE_URL(none — required)backend base URL, without /v1
apiKeyIMAGE_GEN_API_KEY(none — required)credential for that backend
modelIMAGE_GEN_DEFAULT_MODEL(empty)default model; the server picks dall-e-3 in openai mode and gpt-image-1 in generic mode when this is empty
providerIMAGE_GEN_PROVIDERgenericgeneric (URL response) or openai (base64 response)
timeoutMsIMAGE_GEN_TIMEOUT_MS30000the server's own HTTP budget
toolCallTimeoutMs—120000DSH's per-call budget
env—{}raw environment passthrough

Example loader row:

- id: dsh-image-gen-mcp
  name: 'dsh-image-gen-mcp'
  config:
    baseUrl: 'https://api.example.com'
    apiKey: 'sk-...'
    model: 'gpt-image-1'
    provider: 'generic'

The credential is forwarded explicitly: the harness scrubs credential-shaped variables (KEY, TOKEN, SECRET, PASSWORD) out of the environment a child would inherit, so an exported IMAGE_GEN_API_KEY is read at load time and written into the child's environment by the plugin.

Why this plugin ships a bridge

The server frames its stdio transport the LSP way — Content-Length: <n> followed by a blank line — while the MCP client inside DeepSeek Harness reads newline-delimited JSON. Mounted directly, the handshake would simply time out. bridge.mjs translates in both directions: NDJSON in from the harness, Content-Length frames to the server, and the reverse on the way back. Message bodies are reframed byte for byte, never re-parsed.

How it is mounted

index.js registers the skill, then mounts scripts/server.mjs through the bridge over stdio with failOnStartupError: true. If baseUrl or apiKey is missing it logs a warning and mounts nothing — a server that exits at startup would otherwise fail the whole bundle load — while still registering the skill, so the model can tell the user exactly what to configure.

Development

npm test

Four suites, all Harness-free: the manifest and card metadata (test/plugin.test.mjs), the bridge's framing and round trip (test/bridge.test.mjs), the stdio mount and credential forwarding (test/mount.test.mjs), and the bundled skill's registration (test/skill.test.mjs). The repository's own Python validators still work: python scripts/validate_plugin.py ., python scripts/test_server.py, python tests/test_provider_modes.py.

Repository layout

PathPurpose
index.jsthe DSH plugin: skill provider + stdio mount
bridge.mjsNDJSON ↔ Content-Length translation
cordis.patch.ymlthe loader row that activates the plugin
skills/image-generation/the bundled skill, adapted from the original
locale/{en,zh}.json, assets/icon.svgcard title, description and artwork
scripts/server.mjsthe MCP server, unchanged
scripts/server.py, scripts/test_server.pythe original Python HTTP debug server and its test, unchanged
scripts/validate_plugin.py, tests/the original Codex-plugin validators and tests, unchanged
.mcp.json, .codex-plugin/the original Codex plugin manifest, unchanged
README.opencode.mdthe repository's original README, verbatim

Other hosts (unchanged)

{
  "mcpServers": {
    "image-generation": {
      "command": "node",
      "args": ["scripts/server.mjs"],
      "env": {
        "IMAGE_GEN_BASE_URL": "${IMAGE_GEN_BASE_URL}",
        "IMAGE_GEN_API_KEY": "${IMAGE_GEN_API_KEY}"
      }
    }
  }
}

Two caveats carried over from the original setup: the relative scripts/server.mjs needs the repository root as the working directory, and a host that frames with newline-delimited JSON (like DSH) needs the bridge: node bridge.mjs -- node scripts/server.mjs.

License

MIT — the repository's own licence file, unchanged.