pi-zai-mcp
pi-zai-mcp gives Pi four Z.AI tools: web search, page reader, public repository reader, and image/video analysis. Mitch Fultz maintains this unofficial Z.AI integration.

Power your agent
Yayıncının kendi komutu. PlugMCP uç noktası değildir.
Host a copy with our keys and logs.
npx -y [email protected]Claude Code'un yerel komutlar için kurulum bağlantısı yok. Aşağıdaki komutu kopyalayın ve bir terminalde çalıştırın.
claude mcp add pi-zai-mcp -- npx -y pi-zai-mcp@0.2.14Bir terminalde çalıştırın.
{ "mcpServers": { "pi-zai-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
Uzak URL mi, yoksa makinenizde bir komut mu? İki kurulum arasındaki fark
PlugMCP’de çalıştır
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
BaşlatYayıncıdan
pi-zai-mcp gives Pi four Z.AI tools: web search, page reader, public repository reader, and image/video analysis. Mitch Fultz maintains this unofficial Z.AI integration.

Unofficial pi package that exposes Z.ai MCP server tools for web search, URL reading, repository reading, and vision workflows.
Use Pi 1.0.0 or later. You need Node.js 22.19 or newer and a Z.AI API key with a compatible GLM Coding Plan.
pi install npm:pi-zai-mcp
export Z_AI_API_KEY="your_z_ai_api_key"
pi
You can also use a key stored through Pi's /login command. The extension accepts ZAI_API_KEY and ZAI_CODING_CN_API_KEY. Environment variables take precedence over stored keys. Global keys use Z.AI; the China alias, zai-coding-cn login and BigModel provider aliases use the separate BigModel services.
In Pi, enter:
Use z_ai_search to find the latest Node.js release notes.
Run /zai-mcp-status to check each service. Before first use, status is lazy_not_connected_until_first_use; it also distinguishes connecting, failed and disconnected services. Dropped or expired connections reconnect on the next explicit call, never by replaying the failed request. Each service connects lazily. Pi startup makes no paid tool calls.
See other install options for a temporary session or a GitHub install.
See GLM model setup to configure the coding model.
Run pi config to enable or disable each tool. Keep extensions/zai-mcp-status.ts enabled for /zai-mcp-status.
Pi shows progress and compact results. Press Ctrl+O to expand a result. Large results and failure messages stop at 50 KB or 2,000 lines, plus a notice pointing to the full text in a private temporary file. Remove saved files when you no longer need them.
Vision needs a local file path or HTTP/HTTPS URL. Relative paths resolve against the current Pi session directory, including in SDK sessions. Local images must be JPG, JPEG or PNG and at most 5 MiB. UI comparisons need both reference and actual screenshots. Local videos must use MP4, MOV or M4V format and be at most 8 MiB.
Zread can reject repositories that Z.AI has not indexed. Real tool calls require network access and consume your plan allowance. Check Z.AI's usage policy for current pricing.
Vision defaults to glm-5.3-flash with a 131,072-token output ceiling and high reasoning effort (thinking remains enabled). Set Z_AI_VISION_REASONING_EFFORT to low, high, or max for Flash/FlashX; higher effort can increase response time and token use. Large outputs can increase cost; set Z_AI_VISION_MODEL_MAX_TOKENS to reduce the output ceiling.
If a call fails, run /zai-mcp-status. Check lastError, your API key, plan entitlement, and network connection. See the configuration reference for timeouts and vision settings.
Pi extensions run with your user permissions. Review the code before installation. These tools send requests and visual input to Z.AI.
The extension stores no credentials. It passes only the selected Z.AI key, safe platform variables, and allowed settings to the vision server. The effort adapter runs only in that isolated child and only changes the configured Flash/FlashX Chat Completions request.
The vision server logs prompts and image paths under ~/.zai by default. Its stderr is discarded to prevent undrained logging from blocking or filling memory; this does not disable vendor file logging. Set ZAI_MCP_LOG_PATH to a private or non-persisting destination when needed. Cancellation closes the local vision process, but cannot guarantee stopped remote computation or billing. Treat retrieved pages and repository text as untrusted content.
MIT — Mitch Fultz.
Unofficial pi package that exposes Z.ai MCP server tools for web search, URL reading, repository reading, and vision workflows.
{ "mcpServers": { "pi-zai-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Araçlar
Henüz araç listesi yok. Uzak sunucular ilk sağlık kontrolünden sonra bir liste alır.
SSS
Bu sayfadan Cursor, Claude Desktop, Claude Code veya VS Code için stdio yapılandırmasını kopyalayın. PlugMCP proxy'sini değil, yayıncının kurulumunu kullanır.
Bu kayıtta gerekli bir ortam değişkeni listelenmiyor.
Pi Zai yerel olarak stdio üzerinden çalışır.
Son kontrol: 2026-11-14. Unofficial pi package that exposes Z.ai MCP server tools for web search, URL reading, repository reading, and vision workflows.