mattermost-mcp
Provides comprehensive integration with Mattermost, enabling message management, channel operations, user and team management, file operations, and advanced search across the Mattermost workspace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mattermost-mcpget the latest messages from the announcements channel"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mattermost MCP
A Model Context Protocol (MCP) server for comprehensive Mattermost integration. This tool provides AI agents and automation systems with full access to Mattermost's capabilities beyond basic messaging.
Features
Core Capabilities
Message Management: Search, retrieve, and analyze message history
Channel Operations: Create, manage, and monitor channels
User & Team Management: Access user profiles, team structures, and presence
File Operations: Upload, download, and manage file attachments
Advanced Search: Find conversations, users, and content across your workspace
Designed For
Autonomous AI agents requiring Mattermost context and control
Automation developers building Mattermost integrations
Teams creating custom workflow tools
Research applications analyzing communication patterns
Related MCP server: Slack MCP Server
Quick Start
Installation
pip install mattermost-mcpConfiguration
Create a configuration file or set environment variables:
export MATTERMOST_URL="https://your-mattermost.example.com"
export MATTERMOST_TOKEN="your-bot-token"
export MATTERMOST_TEAM_ID="your-team-id" # optionalUsage with Claude Desktop
Add to your Claude Desktop MCP configuration:
{
"mcpServers": {
"mattermost": {
"command": "python",
"args": ["-m", "mattermost_mcp"],
"env": {
"MATTERMOST_URL": "https://your-mattermost.example.com",
"MATTERMOST_TOKEN": "your-bot-token"
}
}
}
}Available Tools
Channel Management
list_channels- Get all accessible channelscreate_channel- Create new channelsget_channel_info- Get detailed channel informationadd_user_to_channel- Manage channel membershipset_channel_header- Update channel descriptions
Message Operations
search_messages- Search message history with filtersget_channel_messages- Retrieve recent messages from channelssend_message- Send messages to channelsupdate_message- Edit existing messagespin_message- Pin important messages
User & Team Operations
list_team_members- Get team member directoryget_user_profile- Access detailed user informationget_user_presence- Check online/offline statuslist_teams- Get team structure information
File Management
upload_file- Upload files to channelsdownload_file- Download shared fileslist_files- Get file listings for channelsget_file_info- Access file metadata
Advanced Features
get_analytics- Channel and user activity analyticssearch_users- Find users by name, email, or criteriaget_channel_stats- Message counts, activity metrics
API Reference
[Detailed API documentation coming soon]
Contributing
Fork the repository
Create a feature branch
Add tests for new functionality
Submit a pull request
License
MIT License - see LICENSE file for details.
Related Projects
Claude-Mattermost Bridge - Real-time message relay between Claude and Mattermost
Support
GitHub Issues for bug reports and feature requests
Mattermost API documentation for API reference
MCP specification for protocol details
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xcud/mattermost-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server