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。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/image-gen-mcpドキュメント
README 全文を読む ↗Configuration
| Key | Environment variable | Default | Meaning |
|---|---|---|---|
baseUrl | IMAGE_GEN_BASE_URL | (none — required) | backend base URL, without /v1 |
apiKey | IMAGE_GEN_API_KEY | (none — required) | credential for that backend |
model | IMAGE_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 |
provider | IMAGE_GEN_PROVIDER | generic | generic (URL response) or openai (base64 response) |
timeoutMs | IMAGE_GEN_TIMEOUT_MS | 30000 | the server's own HTTP budget |
toolCallTimeoutMs | — | 120000 | DSH'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.