Send, read, edit and react to Zulip messages, and manage channels, topics, subscriptions and users on a Zulip Cloud organization.
Zulip ships in the w6w first-party pack. It declares 25 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.zulipZulip is open-source team chat organised around channels and topics. This app sends channel and direct messages, reads message history with narrow filters, edits, moves, deletes and flags messages, adds and removes emoji reactions, lists, creates, updates and archives channels, lists a channel’s topics and subscribers, manages the caller’s subscriptions, and looks up users. It targets Zulip Cloud organizations (.zulipchat.com) and authenticates as a user or bot with its email and API key.
Three routes to the same 25 actions. The Workflow tab is generated from Zulip's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
add-reaction Add an emoji reaction as the connected user (POST /messages/{message_id}/reactions).
archive-stream Archive a channel (DELETE /streams/{stream_id}); its messages stay readable. Needs channel-administration permission.
create-channel Create a channel and optionally subscribe users (POST /channels/create, Zulip 11.0+; Zulip Cloud runs it). Needs permission to create channels.
delete-message Permanently delete a message (DELETE /messages/{message_id}). Needs the organization's message-deletion permission.
delete-topic Delete every message in a topic (POST /streams/{stream_id}/delete_topic). Administrators only. Deletion runs in batches: when `complete` is false, run it again.
get-message Fetch one message, with its raw Markdown source in `raw_content` (GET /messages/{message_id}).
get-messages Fetch messages around an anchor, optionally filtered by a narrow or by channel/topic shortcuts, or fetch specific message IDs (GET /messages). Page backwards by passing the oldest returned id as the anchor.
get-own-user Fetch the profile of the user or bot the connection signs in as (GET /users/me). It does not include the API key.
get-stream-topics List the topics in a channel the user can access, with each one's latest message id (GET /users/me/{stream_id}/topics).
get-streams List the channels the user can see (GET /streams). Zulip calls them streams in the API.
get-subscribers List the user IDs subscribed to a channel (GET /streams/{stream_id}/members).
get-subscriptions List the channels the connected user is subscribed to (GET /users/me/subscriptions).
mark-stream-as-read Mark every message in a channel as read (POST /mark_stream_as_read).
mark-topic-as-read Mark every message in one topic as read (POST /mark_topic_as_read).
remove-reaction Remove an emoji reaction as the connected user (DELETE /messages/{message_id}/reactions).
send-message Send a message to a channel topic or as a direct message (POST /messages).
subscribe Subscribe the connected user (or others) to channels, creating any that do not exist (POST /users/me/subscriptions).
unsubscribe Unsubscribe the connected user (or others) from channels by name (DELETE /users/me/subscriptions).
update-message Edit a message's content, rename its topic or move it to another channel (PATCH /messages/{message_id}). Subject to the organization's edit and move time limits and permissions.
update-message-flags Add or remove a personal flag (read, starred, collapsed, hide_link_previews) on a list of messages (POST /messages/flags).
update-stream Rename a channel, change its description or privacy (PATCH /streams/{stream_id}). Needs channel-administration permission.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Zulip's real ids.
{
"manifestVersion": "2",
"name": "zulip-example",
"steps": [
{
"id": "add-reaction",
"uses": {
"app": "io.w6w.zulip",
"action": "add-reaction",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"message_id": "<message_id>",
"emoji_name": "<emoji_name>"
}
}
]
}add-reaction create-channel get-message get-messages get-own-user +20 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Zulip, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Zulip. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "add-reaction",
payload: {
message_id: "<value>",
emoji_name: "<value>",
// emoji_code: "<value>",
// reaction_type: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action add-reaction --payload '{"message_id":"<value>","emoji_name":"<value>"}' Give an AI agent Zulip — without giving it Zulip's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.zulip#add-reaction",
"input": {
"message_id": "<message_id>",
"emoji_name": "<emoji_name>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Zulip connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Zulip's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Zulip itself is MIT, and the runtime that executes it is source-available (FSL).
Zulip declares its own checks, so its health is a property of the app rather than something the host guesses at.
The "Zulip Cloud" component of status.zulip.com decides; supporting components are shown as detail.
Unauthenticated GET of this organization's /api/v1/server_settings. Credential validity is the `auth:basic` check's job.
Requests remaining, read off the X-RateLimit-* headers of a GET /users/me.