Mattermost MCP Server
MCP server for Mattermost with 19 tools to manage channels, messages, search, direct messages, users, files, and reactions.
README
Mattermost MCP Server
MCP-сервер для Mattermost. 19 инструментов: каналы, сообщения, поиск, ЛС, юзеры, файлы, реакции.
Установка
Скопируй и вставь в Claude Code / Cursor:
Настрой мне Mattermost MCP по этой инструкции: https://raw.githubusercontent.com/runotwo/mattermost-mcp/main/SETUP.md
Агент спросит креды, добавит конфиг и проверит, что всё работает.
Ручная настройка
Option A: Personal Access Token (рекомендуется)
{
"mcpServers": {
"mattermost": {
"command": "npx",
"args": ["-y", "github:runotwo/mattermost-mcp"],
"env": {
"MM_URL": "https://your-mattermost.example.com",
"MM_TOKEN": "your_personal_access_token"
}
}
}
}
Option B: Username + Password + TOTP
{
"mcpServers": {
"mattermost": {
"command": "npx",
"args": ["-y", "github:runotwo/mattermost-mcp"],
"env": {
"MM_URL": "https://your-mattermost.example.com",
"MM_USERNAME": "your_username",
"MM_PASSWORD": "your_password",
"MM_TOTP_SECRET": "YOUR_BASE32_TOTP_SECRET"
}
}
}
}
MM_TOTP_SECRET не нужен если MFA выключена. MM_TOKEN приоритетнее.
Как получить креды
Personal Access Token
- Mattermost → Аватарка → Profile → Security
- Personal Access Tokens → Create Token → скопировать
TOTP-секрет (если потерян)
- Profile → Security → Remove MFA (ввести текущий код)
- Add MFA заново → скопировать строку под QR-кодом
- Пересканировать QR в Google Authenticator
Переменные окружения
| Variable | Auth | Description |
|---|---|---|
MM_URL |
обе | URL сервера |
MM_TOKEN |
A | Personal Access Token |
MM_USERNAME |
B | Логин |
MM_PASSWORD |
B | Пароль |
MM_TOTP_SECRET |
B* | TOTP-секрет (*опционален) |
Инструменты (19)
Каналы: list_channels, list_my_channels, get_channel_info, get_channel_history, post_message, reply_to_message Сообщения: search_messages, get_thread Юзеры: list_users, get_user_info, get_user_status ЛС: list_direct_channels, get_direct_messages, send_direct_message Разное: add_reaction, get_file_info, download_file, list_teams, get_team_info
Development
git clone https://github.com/runotwo/mattermost-mcp.git
cd mattermost-mcp && npm install
cp .env.example .env
npm test
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.