MetorialDocs

Set up Zulip in Metorial for Claude, ChatGPT and Cursor

Share Zulip with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 25 tools (11 read-only).

To give your team Zulip in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Zulip integration in a Metorial portal, and each person connects with an API key. Agents can send, search, retrieve, edit, and delete Zulip messages. The integration has 25 tools, 11 read-only, 12 write and 2 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Zulip in a portal and how each person connects
  • What Zulip asks for when you connect, and where to find it
  • How to keep the 11 read-only tools and reject the other 14

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyCustom credentialsserverUrl, email and apiKey

API Key

To connect, a person enters these values:

  • serverUrl: The base URL of your Zulip server (e.g., https://your-org.zulipchat.com for Zulip Cloud, or your self-hosted domain)
  • email: Your Zulip email address
  • apiKey: Your Zulip API key (found in Personal settings > Account & privacy > API Key)

Admin: share Zulip in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Zulip. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Zulip.

Choose who gets it

Add the access groups that should see Zulip. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Zulip integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search zulip

Employee: connect Zulip

In the portal

Open Zulip in the catalog

Sign in to your portal and open Zulip. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (serverUrl, email and apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search zulip
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Zulip connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list zulip
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as get_user and list_files, and lose the 12 write tools, such as upload_file or send_message, and the 2 destructive tools, such as delete_message or archive_channel.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list zulip
metorial tools <integration-id>
metorial call <integration-id> get_user -d '{}'

metorial tools lists the 25 tools, minus any you rejected. get_user takes no input. It gets detailed profile information for a specific user by their user ID or email address.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • get_channel_topics: List all topics in a Zulip channel, ordered by most recent activity. Needs channelId.
  • get_channel: Get the metadata and permissions of an accessible Zulip channel.
  • get_message: Fetch one accessible Zulip message by ID, including reactions and message flags.
  • list_subscriptions: List channels the authenticated user subscribes to, including personal mute, notification, and display settings.
  • get_server_settings: Get the connected Zulip server version, API feature level, organization identity, and supported authentication methods.
  • list_files: List files uploaded by the authenticated user, including file paths, sizes, and messages that reference them.
  • list_users: List accessible users in the Zulip organization, including their roles, status, and profile information.
  • list_channels: List all channels (streams) visible to the authenticated user.
  • get_user_presence: Check the online/offline/idle presence status of a specific user or all users in the organization.
  • get_messages: Retrieve messages from Zulip using flexible filtering.
  • get_user: Get detailed profile information for a specific user by their user ID or email address.

Write tools (12)

  • create_or_subscribe_channel: Subscribe to a Zulip channel by name, creating it if it does not exist and permissions allow.
  • send_invitation: Invite new users to the Zulip organization by email. Needs type and channelIds.
  • manage_reactions: Add or remove emoji reactions on a Zulip message. Needs messageId, emojiName and action.
  • create_channel: DEPRECATED — use `create_or_subscribe_channel` instead. Needs name.
  • manage_message_flags: Add or remove personal flags on messages, such as marking messages as read, starred, or collapsed. Needs messageIds, action and flag.
  • upload_file: Upload a file to Zulip and get its provider URL.
  • manage_subscriptions: Subscribe or unsubscribe users to/from Zulip channels. Needs action and channelNames.
  • update_message: Edit the content or topic of an existing Zulip message. Needs messageId.
  • manage_user_groups: Create, update, or manage membership of user groups. Needs action.
  • set_user_status: Set the authenticated user's status, including status text and emoji.
  • send_message: Send a message to a Zulip channel (with a topic) or as a direct message to one or more users. Needs type, to and content.
  • update_channel: Update a Zulip channel's properties such as name, description, or privacy settings. Needs channelId.

Destructive tools (2)

  • archive_channel: Archive (deactivate) a Zulip channel. Needs channelId.
  • delete_message: Permanently delete a Zulip message. Needs messageId.

Triggers

Zulip has 4 triggers, which fire on events in Zulip:

  • inbound_webhook
  • message_events: Triggers when new messages are sent in Zulip channels or as direct messages.
  • reaction_events: Triggers when emoji reactions are added to or removed from messages.
  • channel_events: Triggers when channels are created, updated, or archived in Zulip.

Next steps