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.

에이전트 강화
게시자의 자체 명령입니다. PlugMCP 엔드포인트가 아닙니다.
Host a copy with our keys and logs.
npx -y [email protected]Claude Code에는 로컬 명령용 설치 링크가 없습니다. 아래 명령을 복사해 터미널에서 실행합니다.
claude mcp add pi-zai-mcp -- npx -y pi-zai-mcp@0.2.14터미널에서 실행합니다.
{ "mcpServers": { "pi-zai-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
원격 URL인가요, 내 컴퓨터에서 실행하는 명령인가요? 두 설치 방식의 차이
PlugMCP에서 실행
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.
실행게시자 제공
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]" ] } }}도구
아직 도구 목록이 없습니다. 원격 서버는 첫 상태 확인 후에 도구 목록이 생깁니다.
FAQ
이 페이지에서 Cursor, Claude Desktop, Claude Code 또는 VS Code용 stdio 설정을 복사합니다. PlugMCP 프록시가 아니라 게시자의 설치 방식을 사용합니다.
이 레코드에는 필수 환경 변수가 등록되어 있지 않습니다.
Pi Zai은(는) stdio를 통해 로컬에서 실행됩니다.
마지막 확인: 2026-11-14. Unofficial pi package that exposes Z.ai MCP server tools for web search, URL reading, repository reading, and vision workflows.