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 peer 범위
>=0.1.5-rc.1 <0.2.0-0 || >=0.2.0-rc.0 <0.3.0-0
Cordis peer 범위
>=4.0.2
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 8.

설치

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

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.