mattermost-mcp
Enables AI agents to interact with Mattermost workspaces for messaging, channel management, user operations, and file handling via the Model Context Protocol.
README
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
Quick Start
Installation
pip install mattermost-mcp
Configuration
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" # optional
Usage 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
- Mattermost API Documentation
Support
- GitHub Issues for bug reports and feature requests
- Mattermost API documentation for API reference
- MCP specification for protocol details
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.