---
title: "Z.ai integrations and MCP server - APIANT.ai"
description: "Connect Z.ai to any other app, or use it from your AI client over MCP. Z.ai (Zhipu) GLM large language models: chat completions, image and video generation..."
canonical: "https://apiant.ai/connections/z-ai"
---

# Z.ai integrations

Connect Z.ai to any other app, or use it from your AI client over MCP. Z.ai (Zhipu) GLM large language models: chat completions, image and video generation, transcription, OCR layout parsing, web search and web reading.

Connects with an API key [z.ai](https://z.ai/)

**9** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want to automate with Z.ai?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Grok

Open grok.com/connectors, choose New Connector, then Custom, and paste the address. Grok signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Popular

## Z.ai with the apps people pair it with most

- [ **HubSpot to Z.ai** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-z-ai)
- [ **Salesforce to Z.ai** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-z-ai)
- [ **Slack to Z.ai** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/slack-to-z-ai)
- [ **Google Sheets to Z.ai** Google Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.](https://apiant.ai/connect/google-sheets-to-z-ai)
- [ **Gmail to Z.ai** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-z-ai)
- [ **Google Calendar to Z.ai** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-z-ai)
- [ **Google Drive to Z.ai** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/google-drive-to-z-ai)
- [ **Mailchimp to Z.ai** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/mailchimp-to-z-ai)

Pair it

## Connect Z.ai with another app

- [ **HubSpot to Z.ai**](https://apiant.ai/connect/hubspot-to-z-ai)
- [ **Salesforce to Z.ai**](https://apiant.ai/connect/salesforce-to-z-ai)
- [ **Slack to Z.ai**](https://apiant.ai/connect/slack-to-z-ai)
- [ **Google Sheets to Z.ai**](https://apiant.ai/connect/google-sheets-to-z-ai)
- [ **Gmail to Z.ai**](https://apiant.ai/connect/gmail-to-z-ai)
- [ **Google Calendar to Z.ai**](https://apiant.ai/connect/google-calendar-to-z-ai)
- [ **Google Drive to Z.ai**](https://apiant.ai/connect/google-drive-to-z-ai)
- [ **Mailchimp to Z.ai**](https://apiant.ai/connect/mailchimp-to-z-ai)
- [ **Stripe to Z.ai**](https://apiant.ai/connect/stripe-to-z-ai)
- [ **Shopify to Z.ai**](https://apiant.ai/connect/shopify-to-z-ai)
- [ **QuickBooks Online to Z.ai**](https://apiant.ai/connect/quickbooks-online-to-z-ai)
- [ **Pipedrive to Z.ai**](https://apiant.ai/connect/pipedrive-to-z-ai)
- [ **ActiveCampaign to Z.ai**](https://apiant.ai/connect/activecampaign-to-z-ai)
- [ **Notion to Z.ai**](https://apiant.ai/connect/notion-to-z-ai)
- [ **Airtable to Z.ai**](https://apiant.ai/connect/airtable-to-z-ai)
- [ **Trello to Z.ai**](https://apiant.ai/connect/trello-to-z-ai)
- [ **Asana to Z.ai**](https://apiant.ai/connect/asana-to-z-ai)
- [ **JIRA to Z.ai**](https://apiant.ai/connect/jira-to-z-ai)
- [ **ClickUp to Z.ai**](https://apiant.ai/connect/clickup-to-z-ai)
- [ **Zoom to Z.ai**](https://apiant.ai/connect/zoom-to-z-ai)
- [ **Discord to Z.ai**](https://apiant.ai/connect/discord-to-z-ai)
- [ **Twilio to Z.ai**](https://apiant.ai/connect/twilio-to-z-ai)
- [ **SendGrid to Z.ai**](https://apiant.ai/connect/sendgrid-to-z-ai)
- [ **Outlook to Z.ai**](https://apiant.ai/connect/outlook-to-z-ai)
- [ **Intercom to Z.ai**](https://apiant.ai/connect/intercom-to-z-ai)
- [ **Freshdesk to Z.ai**](https://apiant.ai/connect/freshdesk-to-z-ai)
- [ **Klaviyo to Z.ai**](https://apiant.ai/connect/klaviyo-to-z-ai)
- [ **Brevo to Z.ai**](https://apiant.ai/connect/brevo-to-z-ai)
- [ **Typeform to Z.ai**](https://apiant.ai/connect/typeform-to-z-ai)
- [ **Jotform to Z.ai**](https://apiant.ai/connect/jotform-to-z-ai)
- [ **Calendly to Z.ai**](https://apiant.ai/connect/calendly-to-z-ai)
- [ **PandaDoc to Z.ai**](https://apiant.ai/connect/pandadoc-to-z-ai)
- [ **Webflow to Z.ai**](https://apiant.ai/connect/webflow-to-z-ai)
- [ **Wix to Z.ai**](https://apiant.ai/connect/wix-to-z-ai)
- [ **Instagram to Z.ai**](https://apiant.ai/connect/instagram-to-z-ai)
- [ **OpenAI to Z.ai**](https://apiant.ai/connect/openai-to-z-ai)
- [ **OneDrive to Z.ai**](https://apiant.ai/connect/onedrive-to-z-ai)
- [ **Google Docs to Z.ai**](https://apiant.ai/connect/google-docs-to-z-ai)
- [ **Ontraport to Z.ai**](https://apiant.ai/connect/ontraport-to-z-ai)
- [ **Freshworks CRM to Z.ai**](https://apiant.ai/connect/freshworks-crm-to-z-ai)
- [ **GoHighLevel to Z.ai**](https://apiant.ai/connect/gohighlevel-to-z-ai)
- [ **Capsule CRM to Z.ai**](https://apiant.ai/connect/capsule-crm-to-z-ai)
- [ **Copper to Z.ai**](https://apiant.ai/connect/copper-to-z-ai)
- [ **Streak to Z.ai**](https://apiant.ai/connect/streak-to-z-ai)
- [ **NetHunt CRM to Z.ai**](https://apiant.ai/connect/nethunt-crm-to-z-ai)
- [ **MINDBODY to Z.ai**](https://apiant.ai/connect/mindbody-to-z-ai)
- [ **PostgreSQL to Z.ai**](https://apiant.ai/connect/postgresql-to-z-ai)
- [ **MySQL to Z.ai**](https://apiant.ai/connect/mysql-to-z-ai)
- [ **Vercel to Z.ai**](https://apiant.ai/connect/vercel-to-z-ai)
- [ **PagerDuty to Z.ai**](https://apiant.ai/connect/pagerduty-to-z-ai)
- [ **Gravity Forms to Z.ai**](https://apiant.ai/connect/gravity-forms-to-z-ai)
- [ **HubSpot Enterprise to Z.ai**](https://apiant.ai/connect/hubspot-enterprise-to-z-ai)
- [ **Google Forms to Z.ai**](https://apiant.ai/connect/google-forms-to-z-ai)
- [ **Facebook Lead Ads to Z.ai**](https://apiant.ai/connect/facebook-lead-ads-to-z-ai)
- [ **monday.com to Z.ai**](https://apiant.ai/connect/monday-com-to-z-ai)
- [ **Google Ads to Z.ai**](https://apiant.ai/connect/google-ads-to-z-ai)
- [ **Google Tasks to Z.ai**](https://apiant.ai/connect/google-tasks-to-z-ai)
- [ **Telegram to Z.ai**](https://apiant.ai/connect/telegram-to-z-ai)
- [ **MailerLite to Z.ai**](https://apiant.ai/connect/mailerlite-to-z-ai)
- [ **Google Contacts to Z.ai**](https://apiant.ai/connect/google-contacts-to-z-ai)

What your agent can do with Z.ai

## Triggers and actions 9 actions

- Action

**Count Tokens**

Counts how many tokens a prompt uses for a given GLM model, without generating a reply.

- Action

**Create Chat Completion**

Sends a prompt (with an optional system instruction) to a Z.ai GLM model and returns the model's reply and token usage.

- Action

**Generate Image**

Generates an image from a text prompt with a GLM-Image model and returns the image URL.

- Action

**Generate Image (Async)**

Starts a GLM-Image generation task and returns its task id; fetch the image later with Get Async Result.

- Action

**Generate Video (Async)**

Starts a CogVideoX video generation task from a text prompt and/or an image and returns its task id; fetch the video later with Get Async Result.

- Action

**Get Async Result**

Returns the status of an asynchronous image or video generation task and, once finished, the generated file URLs.

- Action

**Parse Document Layout**

Runs GLM-OCR on an image or PDF and returns its text as Markdown, with page layout details.

- Action

**Read Web Page**

Fetches a web page and returns its title, description and main content as Markdown or text.

- Action

**Web Search**

Searches the web with Z.ai's search engine and returns result titles, links and summaries suited for AI use.

## Related apps

- [ **AI Horde** AI Horde is a crowdsourced distributed cluster for AI image and text generation.](https://apiant.ai/connections/ai-horde)
- [ **AI Model Watch** Daily-updated prices, context windows & deprecation/EOL dates for 190+ AI/LLM models, sourced from official...](https://apiant.ai/connections/ai-model-watch)
- [ **Aion Labs** Aion Labs AI models through an OpenAI-compatible API: chat completions, responses and model discovery.](https://apiant.ai/connections/aion-labs)
- [ **Airweave** Open-source context retrieval layer that syncs and indexes data from apps/databases for AI agent search.](https://apiant.ai/connections/airweave)
- [ **Anthropic** Anthropic builds Claude, a family of large language models.](https://apiant.ai/connections/anthropic)
- [ **Apipie Ai** Unified API aggregator giving access to hundreds of AI models for LLM, image, vision, and voice tasks.](https://apiant.ai/connections/apipie-ai)
- [ **Baseten** Run open-source LLMs on Baseten Model APIs: OpenAI-compatible chat completions and responses.](https://apiant.ai/connections/baseten)
- [ **BigML to Z.ai** BigML is a machine learning platform for building, evaluating, and running predictive models.](https://apiant.ai/connect/bigml-to-z-ai)

[More in AI](https://apiant.ai/apps/ai)

Reviews

## What our customers say

Questions

## Z.ai, answered

###

### Is there a Z.ai MCP server?

APIANT's MCP server at https://mcp.apiant.ai works with Z.ai. Add that address to any AI client that takes a remote MCP server and sign in once in your browser. Your client can then run Z.ai actions on demand, or have APIANT build, test and run automations that use Z.ai. Nothing to install.

###

### What can your agent do in Z.ai?

Any of Z.ai's 9 actions, including Create Chat Completion, Count Tokens, Generate Image and Generate Image (Async). Your agent maps the data both ways and tests every scenario before it ships.

###

### Can I use Z.ai directly from Claude, ChatGPT or Cursor?

Yes. Connect your AI client to APIANT once and it works with Z.ai two ways. Ask it to do something in Z.ai once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running on its own. A one-off action uses your plan's tasks the same way an automation step does.

###

### Do I need to write code against the Z.ai API?

No. APIANT connects to the Z.ai API for you, with your Z.ai API key. Describe what you want in plain language and your agent builds it on the Z.ai triggers and actions in the catalog. If you need an endpoint that is not there yet, your agent reads the Z.ai API documentation and adds it.

###

### Which apps can Z.ai connect to?

Any app in the catalog; the list on this page pairs Z.ai with each of them. If the other app is missing, point your agent at its API documentation and it builds the connector.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
