mattermost-mcp

mattermost-mcp

Enables AI agents to interact with Mattermost workspaces for messaging, channel management, user operations, and file handling via the Model Context Protocol.

Category
Visit Server

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 channels
  • create_channel - Create new channels
  • get_channel_info - Get detailed channel information
  • add_user_to_channel - Manage channel membership
  • set_channel_header - Update channel descriptions

Message Operations

  • search_messages - Search message history with filters
  • get_channel_messages - Retrieve recent messages from channels
  • send_message - Send messages to channels
  • update_message - Edit existing messages
  • pin_message - Pin important messages

User & Team Operations

  • list_team_members - Get team member directory
  • get_user_profile - Access detailed user information
  • get_user_presence - Check online/offline status
  • list_teams - Get team structure information

File Management

  • upload_file - Upload files to channels
  • download_file - Download shared files
  • list_files - Get file listings for channels
  • get_file_info - Access file metadata

Advanced Features

  • get_analytics - Channel and user activity analytics
  • search_users - Find users by name, email, or criteria
  • get_channel_stats - Message counts, activity metrics

API Reference

[Detailed API documentation coming soon]

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Submit a pull request

License

MIT License - see LICENSE file for details.

Related Projects

Support

  • GitHub Issues for bug reports and feature requests
  • Mattermost API documentation for API reference
  • MCP specification for protocol details

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured