Compatible with Raycast MCP extension, enabling quick commands and automation for Zulip interactions directly from the Raycast interface.
Exposes Zulip REST API capabilities, allowing AI assistants to interact with Zulip workspaces through message operations (sending, retrieving, editing), channel management, user operations, and handling scheduled messages and drafts.
Zulip MCP Server
A Model Context Protocol (MCP) server that exposes Zulip REST API capabilities as tools for LLMs. This server allows AI assistants to interact with your Zulip workspace programmatically.
Features
🔄 Resources (Contextual Data)
- User Directory: Browse organization members with roles and status
- Channel Directory: Explore available channels and permissions
- Message Formatting Guide: Complete Zulip markdown syntax reference
- Organization Info: Server settings, policies, and custom emoji
- User Groups: Available groups for mentions and permissions
🛠️ Tools (19 Available Actions)
Message Operations
send-message
- Send to channels or direct messagesget-messages
- Retrieve with advanced filtering and searchupload-file
- Share files and imagesedit-message
- Modify content or move topicsdelete-message
- Remove messages (admin permissions required)get-message-read-receipts
- Check who read messagesadd-emoji-reaction
- React with Unicode or custom emoji
Scheduled Messages & Drafts
create-scheduled-message
- Schedule future messagesedit-scheduled-message
- Modify scheduled messagesget-drafts
- Retrieve saved draftsedit-draft
- Update draft content
Channel Management
get-subscribed-channels
- List user's channel subscriptionsget-channel-id
- Get channel ID by nameget-channel-by-id
- Detailed channel informationget-topics-in-channel
- Browse recent topics
User Operations
get-user-by-email
- Find users by emailget-users
- List organization membersupdate-status
- Set status message and availabilityget-user-groups
- List available user groups
Installation & Setup
Prerequisites
- Node.js 18+ with npm
- TypeScript 5+
- Access to a Zulip instance (e.g., https://your-organization.zulipchat.com)
- Zulip API credentials (bot token or API key)
Quick Start
- Clone and install dependencies:
- Configure environment variables:
- Build and run:
Environment Configuration
Create a .env
file with your Zulip credentials:
Getting Zulip API Credentials
- For Bot Access (Recommended):
- Go to your Zulip organization settings
- Navigate to "Bots" section
- Create a new bot or use existing one
- Copy the bot email and API key
- For Personal Access:
- Go to Personal Settings → Account & Privacy
- Find "API key" section
- Generate or reveal your API key
Claude Desktop Integration
To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop config file:
Option 1: Using Environment Variables (Recommended)
Add to your Claude Desktop configuration:
Option 2: Using .env File
If you prefer using a .env
file, ensure it's in the project directory and use:
Claude Desktop Config Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor Integration
To use this MCP server with Cursor IDE, add the following to your Cursor MCP settings:
Cursor MCP Configuration
Add to Cursor's MCP settings file (.cursor-mcp/config.json
in your workspace or global settings):
Cursor MCP Config Location:
- Workspace:
.cursor-mcp/config.json
in your project root - Global: Platform-specific Cursor settings directory
Raycast MCP Extension
To use this MCP server with Raycast, configure it in the MCP extension settings:
Raycast MCP Configuration
Add to Raycast MCP extension configuration:
Raycast Setup Steps:
- Install the Raycast MCP extension
- Open Raycast preferences → Extensions → MCP
- Add new server configuration
- Paste the JSON configuration above
- Update paths and credentials accordingly
Raycast Usage:
- Use
⌘ + Space
to open Raycast - Search for "Zulip" commands
- Execute MCP tools directly from Raycast interface
Supported MCP Clients
This server is compatible with any MCP-compliant client. Here are the verified integrations:
Platform | Config Type | Status | Usage |
---|---|---|---|
Claude Desktop | JSON config | ✅ Verified | AI conversations with Zulip integration |
Cursor IDE | Workspace/Global config | ✅ Verified | Code editor with Zulip notifications |
Raycast | Extension config | ✅ Verified | Quick commands and automation |
Other MCP Clients | Standard MCP protocol | 🔄 Compatible | Any MCP-compliant application |
Universal MCP Command:
Development
Scripts
Project Structure
Testing
Test the server using MCP Inspector:
Usage Examples
Sending Messages
Getting Messages
Channel Management
Markdown Formatting Support
The server includes a comprehensive formatting guide resource. Zulip supports:
- Standard Markdown: Bold, italic, code, links, lists
- Mentions:
@**Full Name**
(notify),@_**Name**_
(silent) - Channel Links:
#**channel-name**
- Code Blocks: With syntax highlighting
- Math: LaTeX expressions with
$$math$$
- Spoilers:
||hidden content||
- Custom Emoji: Organization-specific emoji
Error Handling
The server provides comprehensive error handling:
- Network connectivity issues
- Authentication failures
- Permission errors
- Rate limiting
- Invalid parameters
- Zulip API errors
All errors include helpful messages for debugging.
Contributing
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Ensure TypeScript compilation passes
- Submit a pull request
Support
For issues and questions:
- Check Zulip API documentation: https://zulip.com/api/
- Review MCP specification: https://modelcontextprotocol.io/
- Open GitHub issues for bugs or feature requests
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that enables AI assistants to interact with Zulip workspaces by exposing REST API capabilities as tools for message operations, channel management, and user interactions.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Azure DevOps resources including projects, work items, repositories, pull requests, branches, and pipelines through a standardized protocol.Last updated -151,077224TypeScriptMIT License
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -2Python
Appwrite MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.Last updated -8440PythonMIT License- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact with Zulip workspaces, supporting capabilities such as posting messages, listing channels, sending direct messages, and accessing conversation history.Last updated -JavaScriptApache 2.0