33
/ 100
1 month ago
glama

z_ai_image_gen_mcp

MCP server for generating images and videos using Z.AI models (GLM-Image, CogView-4, CogVideoX-3, Vidu Q1, etc.) with support for synchronous and asynchronous generation, downloads, and multiple input modes.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Tool descriptions don’t match what handlers do
1 tool describes read intent but its handler mutates — download_image (line 370: fs.mkdir(path.dirname(filePath), { recursive: true }))
🚨
Known vulnerabilities in dependencies: 1 critical, 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 1 credential: ZAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies1 critical3 high

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

criticalvitest@4.0.18GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

high@modelcontextprotocol/sdk@1.10.2GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.10.2GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.10.2GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configMCP_HF_WORK_DIR
configZAI_API_BASE_URLAPI base URL https://api.z.ai/api
🔐 secretZAI_API_KEYexport =your_api_key_here
configZAI_DEFAULT_MODELDefault model glm-image
configZAI_DEFAULT_SIZEDefault image size 1280x1280
configZAI_MAX_RETRIESMax retry attempts 3
configZAI_REQUEST_TIMEOUTRequest timeout (ms) 60000
configZAI_RETRY_DELAYInitial retry delay (ms) 1000
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 10 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/georgh93-z-ai-image-gen-mcp-1mghgc)](https://m8ven.ai/mcp/georgh93-z-ai-image-gen-mcp-1mghgc)
commit: 0bcb6003a818aaed09984235fa6092e9511e8486
code hash: 9ba2cd899d0498161e53747aafa1a5997c61a5f46146a206c942ca9f656c0e5f
verified: 6/24/2026, 9:50:20 AM
view raw JSON →