ZulipChat MCP Server
Allows AI assistants to interact with Zulip workspaces, enabling messaging, search, user resolution, and agent session management.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ZulipChat MCP Server
Quick Start · Setup Wizard · Integrations · Two-Tier Tools · Contributing
Quick Start
uvx zulipchat-mcp --zulip-config-file ~/.zuliprcConfigure this command in your MCP client to let the assistant read and write Zulip messages with the configured account.
Need a zuliprc? Zulip Settings > Personal > Account & privacy > API key — download the file, save it as ~/.zuliprc.
Interactive onboarding:
uvx --from zulipchat-mcp zulipchat-mcp-setupRelated MCP server: zulip
What This Does
ZulipChat MCP bridges any MCP-compatible AI assistant (Claude Code, Gemini CLI, Cursor, Windsurf, etc.) to your Zulip workspace. The assistant can:
Send and read messages — stream messages, DMs, replies, reactions
Search conversation history — full-text search with filters for sender, stream, time range
Resolve people by name — verify a unique recipient before sending; ambiguous names need clarification
Switch identities — post as yourself or as a bot, in the same session
Monitor activity — search recent messages, get stream info, check who's online
Talk to local coding agents from Zulip through the
zulipchat-mcp-agentsbridge, which pairs one Zulip bot per agent with an ACP agent on your machine (Agent bots)Reuse dated snapshots — short-lived message caches and rate-aware request admission reduce repeated API reads
Load the Agent Skill — one packaged
zulipchatskill for messaging, reading and handing a conversation to an agent bot, available as a local file and an MCP ResourceExport agent packages — native host configuration and the skill, a Claude Code plugin, or an Agent Plugins 1.0.0 package
Agent setup
# Substitute another supported client as needed.
uvx --from zulipchat-mcp zulipchat-mcp-integrate export --client claude-code \
--output-dir /absolute/path/to/project \
--zulip-config-file /absolute/path/to/.zuliprc --extended-toolsExports support claude-code, codex, opencode, copilot, vscode,
antigravity-cli, clio-coder, and generic. Add --mode plugin for a package.
For several Zulip organizations, export once per organization with
--server-id zulipchat-<org>; exports merge into one host configuration.
Account state lives under ~/.local/state/zulipchat-mcp/. Host trust remains
explicit. See the capability matrix, the
per-host integration guides, and
agent bots.
For read-only access, add --tool-profile read-only: discovery and execution
both expose seven core reads or 21 extended reads. The default full profile
has 13 core tools and 45 extended. See API coverage and efficiency
for cache freshness, rate limits and the boundary between message transport and
host execution. Hosts were tested through exported configuration and
fake-credential checks, not live sessions.
Tool Set
13 core tools by default, 45 with --extended-tools. Hosts that search
tools lazily, such as Claude Code, pay almost nothing for the larger set.
Category | Core tools |
Messaging |
|
Reading |
|
Users |
|
Agent bots |
|
System |
|
Talk to your agent from Zulip
Your coding agents get Zulip accounts. DM "Claude" or "Codex" from your phone;
the agent runs on your machine, in your repositories, under its own permission
rules, and asks you in the chat (answer yes or no) before risky steps. The
zulipchat-mcp-agents bridge serves one Zulip Generic bot per agent that
speaks the Agent Client Protocol: Claude Code and Codex through their ACP
adapters, OpenCode, Goose, Gemini CLI, Clio Coder, or any other ACP agent.
uv tool install zulipchat-mcp
zulipchat-mcp-agents add claude # creates the bot with ~/.zuliprc
zulipchat-mcp-agents service install # runs now and at every loginOnly the bot's owner, and user IDs you list, are heard; anyone else gets no
reply. The bridge connects out to Zulip and opens no ports. Messages wait in a
queue on disk, so nothing you send is lost to a restart; agents start on the
first message and stop when idle, and each DM or topic resumes the same
session until you send /new. From a running agent,
teleport_chat(agent, message, session_id) hands the conversation to that bot.
See Agent bots, including what you are
trusting.
Extended Mode
Need scheduled messages, reminders, topic resolution, read receipts, event queues, or file uploads?
uvx zulipchat-mcp --zulip-config-file ~/.zuliprc --extended-toolsOr via environment variable:
ZULIPCHAT_EXTENDED_TOOLS=1 uvx zulipchat-mcp --zulip-config-file ~/.zuliprcExtended mode adds: cross_post_message, get_scheduled_messages, manage_scheduled_message, get_drafts, create_draft, edit_draft, delete_draft, register_events, get_events, listen_events, upload_file, manage_files, get_daily_summary, manage_user_mute, get_user, get_presence, get_user_groups, and more.
Installation
Full per-client setup guide: docs/integrations/README.md
Claude Code
claude mcp add zulipchat -- uvx zulipchat-mcp --zulip-config-file ~/.zuliprcWith dual identity (you + a bot):
claude mcp add zulipchat -- uvx zulipchat-mcp \
--zulip-config-file ~/.zuliprc \
--zulip-bot-config-file ~/.zuliprc-botOptional Claude package export for a project-local .mcp.json and the skill:
uvx --from zulipchat-mcp zulipchat-mcp-integrate export \
--client claude-code \
--mode standalone \
--output-dir . \
--zulip-config-file ~/.zuliprc \
--zulip-bot-config-file ~/.zuliprc-botGemini CLI
Add to ~/.gemini/settings.json under mcpServers:
{
"zulipchat": {
"command": "uvx",
"args": ["zulipchat-mcp", "--zulip-config-file", "/path/to/.zuliprc"]
}
}Claude Desktop / Cursor / Any MCP Client
Add to your MCP configuration:
{
"mcpServers": {
"zulipchat": {
"command": "uvx",
"args": ["zulipchat-mcp", "--zulip-config-file", "/path/to/.zuliprc"]
}
}
}Configuration Options
Option | Description |
| Path to your zuliprc file |
| Bot zuliprc for dual identity |
| Register all 45 tools instead of the 13-tool core set |
| Filter discovery and enforce read-only Zulip calls; default: |
| Write no files: keep read caches in memory (for sandboxes with no writable state directory) |
| Transport to serve on (default: |
| Bind host for HTTP transport (default: |
| Bind port for HTTP transport (default: |
| Bearer auth token for HTTP transport (or |
| Additional trusted HTTP hostname; repeat for multiple names |
| Additional trusted browser origin; repeat for multiple origins |
| Enable administrative tools (use with caution) |
| Enable debug logging |
Remote HTTP Transport
ZulipChat MCP supports stateless HTTP deployments under the MCP 2026-07-28 protocol:
# Run server over HTTP with bearer authentication
ZULIPCHAT_HTTP_AUTH_TOKEN=your-secret-token \
uvx zulipchat-mcp --zulip-config-file ~/.zuliprc --transport http --host 0.0.0.0 --port 8000 --allowed-host mcp.internalGenerate client integration snippets for remote HTTP connections:
uvx --from zulipchat-mcp zulipchat-mcp-integrate print --client claude-code --remote-url http://mcp.internal:8000/mcp --remote-token your-secret-tokenHTTP startup requires a bearer token for non-loopback binds and validates Host and Origin headers. Configure --allowed-host for the hostname used by clients or a reverse proxy; terminate TLS at the proxy for remote connections. A token grants access to the configured Zulip account: deploy a separate instance per trusted account, rather than sharing it across unrelated users.
HTTP tools reject server-local file paths and switch_identity. Upload text with file_content or binary bytes with file_content_base64; download without download_path to obtain a URL. Use stdio for local file operations and runtime identity switching. Attachment deletion requires --unsafe.
The server keeps no conversation state. Short-lived read caches live in an
account-scoped directory under ~/.local/state/zulipchat-mcp/accounts/, and
--ephemeral-state keeps them in memory. Background-task storage is local, so
route a task's follow-up requests to the instance that started it. Legacy HTTP
clients may also retain transport sessions.
More clients
Dedicated setup pages:
Dual Identity
Configure both a user and a bot zuliprc to let your assistant switch between identities mid-session:
uvx zulipchat-mcp \
--zulip-config-file ~/.zuliprc \
--zulip-bot-config-file ~/.zuliprc-botThe assistant posts as you by default. Pass as_bot=True to send_message to post one message as the bot, or call switch_identity to change the default. Agent bots for the bridge are separate Generic bots with their own zuliprc files.
Real-World Examples
"Catch me up on what happened in #engineering today"
→ Assistant calls search_messages with stream + time filter, summarizes the thread.
"Tell the team we're deploying at 3pm"
→ Assistant calls send_message to #engineering with the announcement.
"Who sent that message about the API migration?"
→ Assistant calls search_messages with keywords, returns sender and context.
"React with :thumbs_up: to Sarah's last message"
→ Assistant calls search_messages with sender="Sarah", then add_reaction.
"DM Jaime that the PR is ready"
→ Assistant calls send_message(type="direct", to="Jaime", ...). One call; an ambiguous name returns candidates and sends nothing.
"Continue this on Zulip, I'm heading out"
→ Assistant calls teleport_chat(agent="claude", message=..., session_id=...); the Claude bot DMs you and the bridge resumes the session when you reply.
Development
git clone https://github.com/akougkas/zulipchat-mcp.git
cd zulipchat-mcp
uv sync
uv run zulipchat-mcp --zulip-config-file ~/.zuliprcRun checks:
uv run pytest -q # full test suite, 60% coverage gate
uv run ruff check . # Linting
uv run mypy src # Type checkingFor packaging, dependency, FastMCP, or startup changes, run the release smoke:
uv build
scripts/pre_release_smoke.sh --version X.Y.Z --allow-dirtySee CONTRIBUTING.md for the full guide, and CLAUDE.md / AGENTS.md for AI agent instructions.
Architecture
src/zulipchat_mcp/
├── core/ # Client wrapper, identity, caching, security
├── tools/ # MCP tool implementations (two-tier registration)
├── services/ # The bot message queue the bridge drains
├── agents/ # zulipchat-mcp-agents bridge (agent bots over ACP)
├── utils/ # Logging, redaction, metrics
└── config.py # config loading (zuliprc + environment fallback)Built on FastMCP with async-first design and user/stream caching for fast fuzzy resolution. The bridge keeps its state in SQLite under ~/.local/state/zulipchat-mcp/agents/.
Privacy
No data collection — nothing leaves your machine except Zulip API calls
No telemetry — zero analytics, tracking, or usage reporting
Local execution — all processing happens on your hardware
Credentials stay local — API keys are never logged or transmitted beyond your Zulip server
Full policy: PRIVACY.md
License
MIT — See LICENSE
Links
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Chat with your Zihin.ai agents, list them and load platform skills from any MCP client.
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Related MCP Servers
- FlicenseAqualityAmaintenanceBridges AI assistants to a Telegram bot to enable two-way messaging, interactive confirmations, and live status updates. It supports automatic voice transcription via local Whisper models and provides secure, single-user communication for MCP-compatible hosts.46-
- AlicenseAqualityDmaintenanceRun AI agents in Zulip as @mentionable bots — or wire into any MCP client.2732Apache 2.0
- AlicenseNot gradedqualityDmaintenanceBridges Web of Things (WoT) devices to AI assistants via MCP, enabling discovery, monitoring, and control of IoT devices through natural language.10GPL 3.0
- FlicenseNot gradedqualityDmaintenanceBridge WhatsApp Business Cloud API to MCP-compatible clients, enabling AI assistants to read, search, and send WhatsApp messages.2-