How to integrate Zulip MCP with OpenCode

How to integrate Zulip MCP with OpenCode This guide explains how to connect Zulip MCP to OpenCode using Composio Connect, which simplifies OAuth, API changes, and reliability concerns. There are two ways to set this up: Via Composio Connect MCP Via the Composio CLI

Zulip logoZulip
Basic

Zulip is a chat platform for distributed teams that blends real-time chat with email-style threading. It keeps conversations organized, making team communication clearer and more productive.

111 Tools

How to integrate Zulip MCP with OpenCode

This guide explains how to connect Zulip MCP to OpenCode using Composio Connect, which simplifies OAuth, API changes, and reliability concerns.

There are two ways to set this up:

Also integrate Zulip with

Why use Composio?

Composio provides a single MCP server or CLI tool that exposes a set of meta-tools, allowing you to:

  • Connect to 1,000+ apps with on-demand tool loading, so you do not fill your LLM context window with unnecessary tool definitions.
  • Use programmatic tool calling through a remote Bash tool, letting LLMs write their own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Handle large tool responses outside the LLM context to keep conversations lean.

Connect Zulip with OpenCode

Option 1: Using Composio CLI

1. Install Composio CLI

Install the Composio CLI, authenticate, and initialize your project:

bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login

During login, you will be redirected to the sign-in page. Finish the flow and you are all set.

Composio CLI authorization screen

2. Authorize Zulip

Once the CLI is installed, it is essentially done. Give OpenCode access to your apps with these steps:

  1. Launch OpenCode.
  2. Prompt it to "Authenticate with Zulip Composio".
  3. Complete the authentication and authorization flow, and your Zulip integration is all set.
  4. Start asking anything you want.

Option 2: Using Composio MCP

You can also connect Zulip to OpenCode by adding Composio as an MCP server through the OpenCode CLI.

1. Add the Composio MCP server

bash
opencode mcp add

This launches an interactive prompt.

2. Fill in the fields

FieldValue
Namecomposio
Typeremote
URLhttps://connect.composio.dev/mcp
Require OAuthYes
Have client IDNo
OpenCode MCP server interactive prompt for Composio

Alternatively, you can skip the interactive prompt and paste the configuration directly into your OpenCode config file.

Open your global OpenCode config:

bash
open ~/.config/opencode/opencode.json

Add this under the mcp key and save the file.

bash
{
  "mcp": {
    "composio": {
      "type": "remote",
      "url": "https://connect.composio.dev/mcp",
      "enabled": true
    }
  }
}

3. Authenticate

Authenticate the Composio MCP server you just added:

bash
opencode mcp auth composio

This opens a browser session. Authorize Composio and you are done.

Composio browser authorization for OpenCode MCP

4. Verify installation

bash
opencode mcp list

5. Connect Zulip with OpenCode

Now, in the chat, ask the agent to connect to Zulip or give it any Zulip-related task.

For example, ask it to:

  • "Post daily standup summary to #team stream"
  • "List unread messages from #support stream"
  • "Reply to the latest thread in #engineering"

It will prompt you to authenticate and authorize access to Zulip.

That is it. Composio tools are now available in OpenCode, and your Zulip account is ready to use.

Way Forward

Now that Zulip is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

TOOLS

Supported Tools

Every Zulip action and event your agent gets out of the box.

Add Alert Words

Tool to add alert words to the current user's configuration.

Add APNs Device Token

Tool to add an APNs (Apple Push Notification service) device token to Zulip.

Add Default Stream

Tool to add a channel as a default stream in Zulip.

Add Linkifier

Tool to add a linkifier to a Zulip realm.

Add Navigation View

Tool to add a navigation view in Zulip.

Add Reaction

Tool to add an emoji reaction to a Zulip message.

Archive Channel

Tool to archive a channel in Zulip.

Check Messages Match Narrow

Tool to check if specific messages match a narrow filter.

Create BigBlueButton video call

Tool to create a BigBlueButton video call in Zulip.

Create Channel

Tool to create a new channel in Zulip.

Create Channel Folder

Tool to create a new channel folder in Zulip.

Create custom profile field

Tool to create a custom profile field in Zulip.

Create Drafts

Tool to create one or more draft messages in Zulip.

Create reusable invitation link

Tool to create a reusable invitation link for the Zulip organization.

Create Message Reminder

Tool to create a message reminder in Zulip.

Create Saved Snippet

Tool to create a saved snippet in Zulip.

Create Scheduled Message

Tool to create a scheduled message in Zulip.

Delete Draft

Tool to delete a draft in Zulip.

Delete Message

Tool to delete a message in Zulip.

Delete Event Queue

Tool to delete an event queue previously registered via POST /api/v1/register.

Delete Reminder

Tool to delete a reminder from Zulip.

Delete Saved Snippet

Tool to delete a saved snippet by its ID.

Delete Scheduled Message

Tool to delete a scheduled message in Zulip.

Delete Topic

Tool to delete a topic from a Zulip channel/stream.

Edit Draft

Tool to edit an existing draft message in Zulip.

Edit Navigation View

Tool to update a navigation view in Zulip.

Edit Saved Snippet

Tool to edit a saved snippet by updating its title and/or content.

Export Realm

Tool to create a Zulip realm data export.

Get alert words

Tool to retrieve all configured alert words for the authenticated user.

Get Another User Presence

Tool to get the presence status for a specific user in Zulip.

Get Attachments

Tool to retrieve metadata on files uploaded by the requesting user.

Get Channel Folders

Tool to retrieve all channel folders in the organization, sorted by display order.

Get custom emoji

Tool to retrieve all custom emoji configured in the Zulip realm.

Get custom profile fields

Tool to get all custom profile fields configured for the Zulip realm.

Get drafts

Tool to fetch all drafts for the authenticated user.

Get Events

Tool to get events from a Zulip event queue.

Get file temporary URL

Tool to get a public temporary URL for an uploaded file in Zulip.

Get realm icon

Tool to retrieve the URL of the Zulip realm's icon.

Get all invitations

Tool to retrieve all unexpired invitations for the Zulip organization.

Get user group membership status

Tool to check if a user is a member of a specific user group.

Get linkifiers

Tool to retrieve all configured linkifiers in the Zulip realm.

Get message

Tool to fetch a single message by ID from Zulip.

Get Message History

Tool to fetch the complete edit history of a Zulip message.

Get Messages

Tool to fetch messages from Zulip.

Get Navigation Views

Tool to fetch all navigation views for the authenticated user.

Get own user

Tool to retrieve the profile information for the authenticated user.

Get Read Receipts

Tool to retrieve read receipts for a message in Zulip.

Get realm export consents

Tool to retrieve data export consent state for users in a realm.

Get all data exports

Tool to retrieve all data exports for the Zulip organization.

Get Realm Presence

Tool to get the presence status for all users in the Zulip realm.

Get reminders

Tool to fetch all undelivered reminders for the authenticated user.

Get Saved Snippets

Tool to fetch all saved snippets for the authenticated user.

Get Scheduled Messages

Tool to fetch all scheduled messages for the authenticated user.

Get server settings

Tool to retrieve server configuration and available authentication methods.

Get Channel by ID

Tool to get detailed information about a Zulip channel by its ID.

Get channel email address

Tool to retrieve the email address for a Zulip channel.

Get Channel ID

Tool to get a channel's unique ID by its name.

Get All Channels

Tool to retrieve all channels (streams) in Zulip that match specified filters.

Get stream topics

Tool to retrieve all topics in a Zulip channel.

Get Channel Subscribers

Tool to get all subscribers of a Zulip channel.

Get Subscriptions

Tool to retrieve all channels (streams) the authenticated user is subscribed to.

Get subscription status

Tool to check whether a specific user is subscribed to a particular channel (stream).

Get user by email

Tool to fetch a user by email address from Zulip.

Get user channels

Tool to retrieve the list of channel IDs that a specific user is subscribed to.

Get user group members

Tool to retrieve all members of a specific user group.

Get user groups

Tool to retrieve all user groups in the Zulip organization.

Get user group subgroups

Tool to retrieve subgroups of a user group.

Get user status

Tool to retrieve the status currently set by a user in the Zulip organization.

Mark All Messages as Read

Tool to mark all messages as read for the authenticated user.

Mark Stream as Read

Tool to mark all messages in a Zulip channel as read.

Mark Topic as Read

Tool to mark all messages in a topic as read.

Mute Topic

Tool to mute or unmute a topic in a Zulip channel.

Reactivate User

Tool to reactivate a deactivated user in Zulip.

Register Push Device

Tool to register an E2EE (end-to-end encrypted) push device for mobile notifications.

Register Event Queue

Tool to register an event queue for receiving Zulip events.

Remove Alert Words

Tool to remove alert words from the current user's configuration.

Remove Attachment

Tool to delete an attachment in Zulip.

Remove Code Playground

Tool to remove a code playground from a Zulip realm.

Remove Default Stream

Tool to remove a channel from default streams in Zulip.

Remove FCM Token

Tool to remove an FCM registration token for Android push notifications.

Remove Linkifier

Tool to remove a linkifier from a Zulip realm.

Remove Navigation View

Tool to remove a navigation view in Zulip.

Remove Reaction

Tool to remove an emoji reaction from a Zulip message.

Render Message

Tool to render a message to HTML in Zulip.

Reorder Channel Folders

Tool to reorder channel folders in Zulip.

Reorder Custom Profile Fields

Tool to reorder custom profile fields in Zulip.

Reorder Linkifiers

Tool to reorder linkifiers in Zulip.

Revoke Email Invitation

Tool to revoke an email invitation in Zulip.

Revoke reusable invitation link

Tool to revoke a reusable invitation link for the Zulip organization.

Send Message

Tool to send a message in Zulip.

Send Test Notification

Tool to send a test notification to mobile device(s).

Set Typing Status

Tool to set typing status in Zulip.

Set Typing Status for Message Edit

Tool to set typing status when editing a message in Zulip.

Subscribe to Channel

Tool to subscribe users to one or more Zulip channels.

Test Welcome Bot Custom Message

Tool to test welcome bot custom message in Zulip.

Unsubscribe From Channel

Tool to unsubscribe from one or more channels (streams) in Zulip.

Update Channel Folder

Tool to update a channel folder in Zulip.

Update Linkifier

Tool to update a linkifier in a Zulip realm.

Update Message

Tool to edit a message in Zulip.

Update Message Flags

Tool to update personal message flags in Zulip.

Update Message Flags for Narrow

Tool to update personal message flags (e.

Update Realm User Settings Defaults

Tool to update realm-level defaults of user settings in Zulip.

Update Scheduled Message

Tool to edit a scheduled message in Zulip.

Update Settings

Tool to update user settings in Zulip.

Update Status

Tool to update your status in Zulip.

Update status for user

Tool to update the status for a specific user in the Zulip organization.

Update Channel

Tool to update a channel in Zulip.

Update Subscriptions

Tool to update channel subscriptions by subscribing to new channels or unsubscribing from existing ones.

Update Subscription Settings

Tool to update the user's personal settings for channels they are subscribed to.

Update user by email

Tool to update a user by email address in Zulip.

Update User Topic

Tool to update personal preferences for a topic in a Zulip channel.

FAQ

Frequently asked questions

With a standalone Zulip MCP server, the agents and LLMs can only access a fixed set of Zulip tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Zulip and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. OpenCode fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Zulip tools.

Yes, absolutely. You can configure which Zulip scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Zulip data and credentials are handled as safely as possible.

Start with Zulip.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Zulip tool your agent needs.Free to start.

Start building