70
/ 100
1 month ago
glama

gemini-diagram-mcp

MCP server for generating diagrams, charts, and visualizations using Gemini image generation on Vertex AI. Supports auto-detection of diagram types, multiple style modes, and iterative refinement.

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
⚠️
Known vulnerabilities in dependencies: 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 6 credentials: GOOGLE_API_KEY, GOOGLE_CLOUD_API_KEY, MCP_ALLOW_QUERY_TOKEN, MCP_AUTH_TOKEN, MCP_BEARER_TOKEN, VERTEX_AI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 high

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

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.0.0GHSA-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.
configALLOWED_HOSTSComma-separated allowed host headers
🔐 secretGOOGLE_API_KEYVERTEX_AI_API_KEY (preferred) or / GOOGLE_CLOUD_API_KEY
🔐 secretGOOGLE_CLOUD_API_KEYVERTEX_AI_API_KEY (preferred) or GOOGLE_API_KEY /
configGOOGLE_GENAI_USE_VERTEXAItrue is enforced by the server
configHOST0.0.0.0 HTTP server bind host
configINLINE_IMAGES0 Include base64 image data in tool responses
🔐 secretMCP_ALLOW_QUERY_TOKEN?token=... is disabled by default in oidc mode; set =1 to allow it (not recommended)
configMCP_AUTH_MODEStatic token (default): =token + MCP_AUTH_TOKEN (or MCP_AUTH_TOKENS)
🔐 secretMCP_AUTH_TOKENStatic token (default): MCP_AUTH_MODE=token + (or MCP_AUTH_TOKENS)
configMCP_AUTH_TOKENSStatic token (default): MCP_AUTH_MODE=token + MCP_AUTH_TOKEN (or )
🔐 secretMCP_BEARER_TOKEN(required; OIDC access token or static token)
configMCP_MAX_SESSIONS100 Maximum concurrent sessions
configMCP_REMOTE_URL(default: http://localhost:3000/mcp)
configMCP_SESSION_TIMEOUT_MIN30 Session timeout in minutes
configOIDC_AUDIENCEOIDC JWT (recommended for multi-user): MCP_AUTH_MODE=oidc + OIDC_ISSUER (+ recommended)
configOIDC_ISSUEROIDC JWT (recommended for multi-user): MCP_AUTH_MODE=oidc + (+ OIDC_AUDIENCE recommended)
configOIDC_JWKS_URI=https://issuer.example.com/.../jwks.json
configOUTPUT_DIR./data/out Output directory for generated images
configPORT3000 HTTP server bind port
configPUBLIC_BASE_URL
🔐 secretVERTEX_AI_API_KEY(preferred) or GOOGLE_API_KEY / GOOGLE_CLOUD_API_KEY
configVERTEX_AI_IMAGE_MODELgemini-3-pro-image-preview by default (see [Supported Models](#supported-models))
// 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 6 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/arunsanna-gemini-diagram-mcp-1wezc1)](https://m8ven.ai/mcp/arunsanna-gemini-diagram-mcp-1wezc1)
commit: a7cf743234049af9f8464ff2aedcfe7505251c62
code hash: 138b99cc544902c2ecb673f4c49d80d6a98a195271d74d979746ee8871254c2f
verified: 6/24/2026, 10:19:44 AM
view raw JSON →