MCP servers · Z.ai (GLM) · MCP server + skill
Connect Claude Code to Z.ai (GLM)
One line gives Claude Code your Z.ai (GLM) account as tools: 3 endpoints, chat, models, generate image, called with your own connection. No key in the prompt, a receipt for every call, revoke Claude Code's access alone any time.
Three steps
- Create a free 0n3 account and connect Z.ai (GLM). Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Claude Code. Claude in your Terminal. Paste one line, and Claude can use every app you added.
- Ask Claude Code: whoami. Then: "Chat completion in Z.ai (GLM)".
Paste this in Terminal and press Enter
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Claude Code and fills it in.
What Claude Code can then do in Z.ai (GLM)
Chat · Chat completions1
Chat completion
POST /chat/completionsModels · List available models1
List models
GET /modelsGenerate image · Image generation1
Create an image
POST /images/generationsZ.ai (GLM) in other AI clients
Claude (desktop & claude.ai) + Z.ai (GLM)connectorChatGPT + Z.ai (GLM)connector · GPT actionGrok Bot (xAI) + Z.ai (GLM)custom connectorCodex CLI + Z.ai (GLM)MCP serverGemini CLI + Z.ai (GLM)MCP serverCursor + Z.ai (GLM)MCP serverVS Code (Copilot) + Z.ai (GLM)MCP serverWindsurf + Z.ai (GLM)MCP server
