Back to Home
dariuszkowalski-com icon

zai-mcp-proxy-server

Verified Safe

by dariuszkowalski-com

Overview

Provides an MCP proxy server for Z.AI Web Search Prime API, enabling integration with Forge as a standard MCP server.

Installation

Run Command
node zai-mcp-proxy.js --api-key "YOUR_ZAI_API_KEY"

Environment Variables

  • ZAI_API_KEY

Security Notes

The server uses HTTPS for communication, validates all input parameters with Zod, and handles API keys via environment variables or command-line arguments (not hardcoded). Error handling and timeouts are implemented. There are no direct uses of `eval` or other highly dangerous functions with untrusted input. The server specifically handles double-escaped JSON by unescaping before parsing, which is a safe approach. Minor risk: API key passed via command line arguments can be visible in process listings, though environment variables are also supported and preferred for secrets.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-12-03

Tags

MCPProxyWeb SearchNode.jsZ.AI