bauerelizabeth07139/image-gen-mcp ↗★ 0

dsh-image-gen-mcp

DeepSeek Harness plugin: image generation through a configurable, provider-agnostic backend. It mounts the bundled stdio MCP server behind an NDJSON bridge, exposing mcp__image_generation__image_generate and mcp__image_generation__image_config_status, and registers the bundled image-generation skill. 适合需要让智能体调用外部API生成图片的用户,需配置Key和Base URL。

パッケージ
dsh-image-gen-mcp
互換性
未検証
Harness ピア範囲
>=0.1.5-rc.1 <0.2.0-0 || >=0.2.0-rc.0 <0.3.0-0
Cordis ピア範囲
>=4.0.2
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/08

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/image-gen-mcp

ドキュメント

README 全文を読む ↗

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.