Model Context Protocol (MCP)
Early Access
Try our newest feature! Only available through reach out. Contact us to join the early access program and get priority support.
Unizo offers an MCP server that integrates communication platforms with any LLM provider supporting the MCP protocol. This enables your AI agent to send messages, manage channels, and automate communication workflows across Slack, Microsoft Teams, Discord, and other messaging platforms via a single MCP server.
Supported Tools & Use Cases
The following tools are available in the Communication MCP Server:
Tool Name | Description |
---|---|
list_channels | Browse and search channels across communication platforms |
send_message | Send messages to channels or direct messages with rich formatting |
create_channel | Create new channels or conversation spaces |
list_messages | Retrieve and search message history |
manage_members | Add or remove members from channels |
schedule_message | Schedule messages for future delivery |
list_channels
Browse and search channels across communication platforms
Parameters:
integration
: Target communication platform integration (required)channel_type
: Filter by channel type (public, private, direct)name_pattern
: Search channels by name patterninclude_archived
: Include archived channelsmember_id
: Filter channels by member presencepage
: Pagination controllimit
: Number of results per page
send_message
Send messages to channels or direct messages with rich formatting
Parameters:
integration
: Target communication platform integration (required)channel_id
: Destination channel or user ID (required)text
: Message content (required)format
: Message format (plain, markdown, rich)attachments
: Files or documents to attachmentions
: Users or groups to mentionthread_id
: Reply to specific threadpriority
: Message priority indicator
create_channel
Create new channels or conversation spaces
Parameters:
integration
: Target communication platform integration (required)name
: Channel name (required)description
: Channel purpose and descriptionis_private
: Create private vs public channelmembers
: Initial members to addtopic
: Channel topic or purposeretention_policy
: Message retention settings
list_messages
Retrieve and search message history
Parameters:
integration
: Target communication platform integration (required)channel_id
: Channel to search (required)search_query
: Text search within messagestime_range
: Time period to searchsender_id
: Filter by message senderhas_attachments
: Filter messages with attachmentslimit
: Maximum messages to return
manage_members
Add or remove members from channels
Parameters:
integration
: Target communication platform integration (required)channel_id
: Target channel (required)action
: Operation type (add, remove, update_role)members
: List of member IDs (required)role
: Member role (admin, member, viewer)notification
: Notify members of changes
schedule_message
Schedule messages for future delivery
Parameters:
integration
: Target communication platform integration (required)channel_id
: Destination channel (required)text
: Message content (required)send_at
: Scheduled send time (required)timezone
: Timezone for schedulingrepeat
: Recurrence pattern (once, daily, weekly)mentions
: Users to mention in scheduled message
Installation
Prerequisites
- A Unizo API key
- An active Communications integration (Slack, Google Chat, Microsoft Teams)
- Node.js v20 or higher
MCP Configuration
Here is an example configuration for setting up the Unizo SCM MCP server:
{
"mcpServers": {
"unizo-comms": {
"command": "npx",
"args": [
"mcp-remote",
"http://api.unizo.ai/mcp/comms",
"--allow-http",
"--header",
"apikey:${UNIZO_API_KEY}"
],
"env": {
"UNIZO_API_KEY": "your_api_key"
}
}
}
}
Client Setup
For detailed setup instructions with specific AI clients:
Environment Variables
The following environment variables are required:
UNIZO_API_KEY
: Your Unizo API key Your Unizo API key
Error Handling
All tools return errors in a consistent format:
{
"error": {
"code": "CHANNEL_NOT_FOUND",
"message": "Channel 'team-updates' not found"
}
}
Common error codes:
INTEGRATION_NOT_FOUND
: Invalid communication platform integration IDCHANNEL_NOT_FOUND
: Channel does not exist or access is deniedUSER_NOT_FOUND
: User is not found or inaccessibleMESSAGE_FAILED
: Message could not be deliveredRATE_LIMIT_EXCEEDED
: Too many requests sent to the APIUNAUTHORIZED
: Invalid credentials or insufficient permissions