MCP server for Mattermost - 48 tools for channels, messaging, users, webhooks, and more
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mattermost": {
"env": {
"MATTERMOST_HOST": "https://mattermost.example.com",
"MATTERMOST_TEAM": "general",
"MATTERMOST_TOKEN": "your-token-here"
},
"command": "mattermost-mcp-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server for Mattermost, enabling AI assistants to interact with your Mattermost workspace. This server provides tools for sending messages, managing channels, searching users, and handling file uploads/downloads.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API
PubNub Model Context Protocol MCP Server for Cursor and Claude
MCP Security Weekly
Get CVE alerts and security updates for Mattermost Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for Mattermost, enabling AI assistants to interact with your Mattermost workspace. This server provides tools for sending messages, managing channels, searching users, and handling file uploads/downloads.
go install github.com/karti-ai/mattermost-mcp-server@latest
Download the latest binary from the releases page:
curl -L -o mattermost-mcp-server https://github.com/karti-ai/mattermost-mcp-server/releases/latest/download/mattermost-mcp-server-linux-amd64
chmod +x mattermost-mcp-server
git clone https://github.com/karti-ai/mattermost-mcp-server.git
cd mattermost-mcp-server
go build -ldflags "-s -w" -o mattermost-mcp-server .
| Variable | Description | Required |
|---|---|---|
MATTERMOST_HOST | Mattermost server URL (e.g., https://mattermost.example.com) | Yes |
MATTERMOST_TOKEN | Access token (bot, PAT, or user) | Yes* |
MATTERMOST_BOT_TOKEN | Bot token (alternative to TOKEN) | Yes* |
MATTERMOST_PAT | Personal Access Token (alternative to TOKEN) | Yes* |
MATTERMOST_TEAM | Default team name | No |
*At least one token type is required.
| Flag | Short | Description |
|---|---|---|
-host | -H | Mattermost server URL |
-token | -t | Mattermost access token |
-bot-token | Mattermost bot token | |
-pat | Mattermost personal access token | |
-team | Mattermost team name | |
-debug | -d | Enable debug logging |
-insecure | Allow insecure TLS connections | |
-read-only | -r | Enable read-only mode |
-version | -v | Show version and exit |
# Mattermost Configuration
MATTERMOST_HOST=https://mattermost.company.com
MATTERMOST_TOKEN=your-bot-token-here
MATTERMOST_TEAM=general
# Optional: Enable debug logging
# DEBUG=true
The server exposes 27 tools grouped by category:
| Tool | Description |
|---|---|
mattermost_list_teams | List all teams the bot has access to |
| Tool | Description |
|---|---|
mattermost_list_channels | List all accessible channels in a team |
mattermost_get_channel_by_name | Get a channel by name in a team |
mattermost_get_channel_info | Get detailed channel info with member count |
mattermost_list_channel_members | List all members of a channel |
mattermost_mark_channel_read | Mark a channel as read (clear unread) |
| Tool | Description |
|---|---|
mattermost_create_channel | Create a new public or private channel |
mattermost_invite_to_channel | Invite a user to a channel |
mattermost_leave_channel | Leave a channel |
mattermost_delete_channel | Delete/archive a channel |
| Tool | Description |
|---|---|
mattermost_send_message | Send a message (supports thread replies) |
mattermost_edit_message | Edit an existing message |
mattermost_delete_message | Delete a message |
| `mattermost_get_channel_message |