Mattermost MCP Server
Provides tools for interacting with Mattermost, including channel management, messaging, search, direct messages, user management, file handling, reactions, and team information.
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 MCP ServerPost 'Standup at 10am' in #general"
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 Server
MCP-сервер для Mattermost. 19 инструментов: каналы, сообщения, поиск, ЛС, юзеры, файлы, реакции.
Установка
Скопируй и вставь в Claude Code / Cursor:
Настрой мне Mattermost MCP по этой инструкции: https://raw.githubusercontent.com/runotwo/mattermost-mcp/main/SETUP.mdАгент спросит креды, добавит конфиг и проверит, что всё работает.
Related MCP server: discord-mcp
Ручная настройка
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 |
| обе | URL сервера |
| A | Personal Access Token |
| B | Логин |
| B | Пароль |
| 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 testThis 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/runotwo/mattermost-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server