
An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

An MCP server for the Mattermost API that lets MCP clients read and post in Mattermost workspaces.
Mattermost MCP Server is cataloged as an MCP server attributed to conarti. An MCP server for the Mattermost API that lets MCP clients read and post in Mattermost workspaces. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Mattermost MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 822192790033 · Fetched 2026-11-13 12:21:44 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
MCP Server for the Mattermost API, enabling Claude and other MCP clients to interact with Mattermost workspaces.
npx @conarti/mattermost-mcp --help
MATTERMOST_URL=https://your-mattermost.com/api/v4 \
MATTERMOST_TOKEN=your-token \
MATTERMOST_TEAM_ID=your-team-id \
npx @conarti/mattermost-mcp
npx @conarti/mattermost-mcp \
--url https://your-mattermost.com/api/v4 \
--token your-token \
--team-id your-team-id
npx @conarti/mattermost-mcp
npm install -g @conarti/mattermost-mcp
mattermost-mcp --help
git clone https://github.com/conarti/mattermost-mcp.git
cd mattermost-mcp
npm install
npm run build
npm start
MATTERMOST_TOKEN is optional. Without a token the server signs in to Mattermost through a visible Chromium window and keeps the session token for you. With MATTERMOST_TOKEN set, the server works as before (static mode): no browser window, no Chromium download, and ~/.config/mattermost-mcp is not created.
MATTERMOST_URL and MATTERMOST_TEAM_ID only, without a token (see Claude Code Integration and opencode below).While the call waits, the server sends progress notifications every 10 seconds, so clients that show MCP progress display the current step. The window opens only from a tool call: never at server startup and never from background monitoring.
No manual installation is needed.
~/.config/mattermost-mcp/browsers. The client shows the progress as Downloading Chromium for Mattermost sign-in: 40% of 182.1 MiB, and for the small ffmpeg archive that follows as Downloading Chromium for Mattermost sign-in: FFmpeg 50% of 1 MiB.HTTPS_PROXY, HTTP_PROXY, NO_PROXY, PLAYWRIGHT_DOWNLOAD_HOST or PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT in the env of the MCP server entry.~/Library/Caches/ms-playwright on macOS) is not used: Playwright installations in other projects remove builds that no project references.install-deps command is needed, see Browser sign-in problems.PLAYWRIGHT_DOWNLOAD_HOST on https:// and do not disable TLS certificate checks for the download (for example with NODE_TLS_REJECT_UNAUTHORIZED=0): the downloaded Chromium later holds your Mattermost session.Everything lives in ~/.config/mattermost-mcp/ (permissions 0700):
browsers/: Chromium builds for the sign-in window.profile/: the Chromium profile with the Mattermost session. It is as sensitive as the token because cookies in it are not encrypted. Exclude it from dotfiles sync and backups.token: the session token (permissions 0600), bound to the server address.login.lock and login.lock.break: short-lived lock files that let several server processes share one sign-in window.tmp/: temporary files of the Chromium download, removed after the installation.The server refuses to use the directory if ~/.config or your home directory belongs to another user or is writable by group or others without the sticky bit, see [STATE_DIRECTORY_UNSAFE] in Browser sign-in problems.
MATTERMOST_MCP_DISABLE_CHROMIUM_SANDBOX=1 in the env of the MCP server entry only if the sandbox is unavailable on your system ([BROWSER_SANDBOX_UNAVAILABLE]). The server then logs a warning each time it opens the window.https:// address in MATTERMOST_URL. With http:// and a host other than localhost, 127.0.0.1 or [::1], the server logs a warning at startup: the password typed into the sign-in window and the session token are sent without encryption.Remove only the session (the next tool call opens the sign-in window again):
rm -rf ~/.config/mattermost-mcp/profile ~/.config/mattermost-mcp/token
Remove everything, including Chromium (it is downloaded again on the next sign-in):
rm -rf ~/.config/mattermost-mcp
Both commands are safe while the sign-in window is open.
Claude Code, opencode and other clients on the same machine share one token file and one sign-in window. If several clients need sign-in at the same time, only one window opens, and all waiting calls continue after you sign in.
Background topic monitoring never opens the window. When the server starts without a saved session:
monitoring.userId or monitoring.notificationChannelId is not set, the monitor cannot look them up, and its schedule does not start. Call mattermost_run_monitoring: it signs in if needed, starts the schedule and runs monitoring once. Signing in through another tool does not start the schedule, so call mattermost_run_monitoring afterwards or restart the server.[AUTHENTICATION_REQUIRED] in the logs.Example of an opencode entry without a token:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mattermost": {
"type": "local",
"command": ["npx", "-y", "@conarti/mattermost-mcp@latest"],
"environment": {
"MATTERMOST_URL": "https://your-mattermost.com/api/v4",
"MATTERMOST_TEAM_ID": "your-team-id"
},
"timeout": 360000
}
},
"experimental": {
"mcp_timeout": 360000
}
}
The first tool call can take several minutes: the Chromium download and then up to 5 minutes of sign-in. Progress notifications every 10 seconds keep the call alive in clients that pass a progressToken and reset their timeout on progress.
mcp.mattermost.timeout and experimental.mcp_timeout to 360000 (6 minutes) as in the example above. Some opencode versions apply a hard request timeout that progress notifications do not extend.progressToken can cancel the first call during the Chromium download. The download then stops and starts from the beginning on the next call. Raise the client timeout, or run the manual installation command from Browser sign-in problems once./api/v4, a trailing slash and the letter case of the host do not matter.MATTERMOST_URL values sign in at the same time, the waiting call gets LOGIN_NOT_COMPLETED, and the window for the second server opens only when you call the tool again. Its token replaces the token of the first server, and the first server opens the window again on its next call.DEBUG=pw:* for the server: Playwright debug output prints cookies.The server supports multiple configuration methods with the following priority (highest to lowest):
--url, --token, --team-id)MATTERMOST_URL, MATTERMOST_TOKEN, MATTERMOST_TEAM_ID)| Argument | Description |
|---|---|
--url <url> | Mattermost API URL (e.g., https://mattermost.example.com/api/v4) |
--token <token> | Mattermost personal access token |
--team-id <id> | Mattermost team ID |
--run-monitoring | Run topic monitoring immediately on startup |
--exit-after-monitoring | Exit after running monitoring (use with --run-monitoring) |
--help | Show help message |
| Variable | Description |
|---|---|
MATTERMOST_URL | Mattermost API URL |
MATTERMOST_TOKEN | Mattermost personal access token (optional: without it the server uses browser sign-in) |
MATTERMOST_TEAM_ID | Mattermost team ID |
HTTPS_PROXY, HTTP_PROXY, NO_PROXY | Proxy for the automatic Chromium download in browser sign-in |
PLAYWRIGHT_DOWNLOAD_HOST, PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT | Mirror and connection timeout for the automatic Chromium download |
Create config.local.json (gitignored) or use config.json:
{
"mattermostUrl": "https://your-mattermost-instance.com/api/v4",
"token": "your-personal-access-token",
"teamId": "your-team-id",
"monitoring": {
"enabled": false,
"schedule": "*/15 * * * *",
"channels": ["town-square", "off-topic"],
"topics": ["tv series", "champions league"],
"messageLimit": 50
}
}
Add to your Claude Code MCP settings (~/.claude/claude_desktop_config.json or via claude mcp add):
{
"mcpServers": {
"mattermost": {
"command": "npx",
"args": ["-y", "@conarti/mattermost-mcp@latest"],
"env": {
"MATTERMOST_URL": "https://your-mattermost.com/api/v4",
"MATTERMOST_TOKEN": "your-token",
"MATTERMOST_TEAM_ID": "your-team-id"
}
}
}
}
Or using a config file:
{
"mcpServers": {
"mattermost": {
"command": "node",
"args": ["/path/to/mattermost-mcp/build/index.js"]
}
}
}
Or without a token, with browser sign-in:
{
"mcpServers": {
"mattermost": {
"command": "npx",
"args": ["-y", "@conarti/mattermost-mcp@latest"],
"env": {
"MATTERMOST_URL": "https://your-mattermost.com/api/v4",
"MATTERMOST_TEAM_ID": "your-team-id"
}
}
}
}
The first tool call opens the sign-in window and, on the first sign-in, downloads Chromium.
| Tool | Description |
|---|---|
mattermost_list_channels | List channels in the workspace (public, private, and DMs) |
mattermost_get_channel_history | Get messages from a channel with filtering options |
mattermost_list_channels Optionslimit (default: 100): Maximum number of channels to returnpage (default: 0): Page number for paginationinclude_private (default: false): If true, returns all channels including private channels and direct messages (DMs)mattermost_get_channel_history Optionschannel_id (required): The ID of the channellimit: Number of messages to retrieve. If not specified or 0, returns ALL messagespage (default: 0): Page number for pagination (only used when limit > 0)since_date: ISO 8601 date to get messages after (e.g., "2025-01-15")before_date: ISO 8601 date to get messages before. Use with since_date for date rangesbefore_post_id: Get messages before this post ID (cursor pagination)after_post_id: Get messages after this post ID (cursor pagination)Examples:
// Get ALL messages from a channel
{ "channel_id": "abc123" }
// Get last 50 messages
{ "channel_id": "abc123", "limit": 50 }
// Get all messages from December 18, 2025
{ "channel_id": "abc123", "since_date": "2025-12-18", "before_date": "2025-12-19" }
// Get messages from a specific date onwards
{ "channel_id": "abc123", "since_date": "2025-12-15" }
| Tool | Description |
|---|---|
mattermost_post_message | Post a new message to a channel |
mattermost_reply_to_thread | Reply to a specific message thread |
mattermost_add_reaction | Add an emoji reaction to a message |
mattermost_get_thread_replies | Get all replies in a thread |
mattermost_get_post | Get a single message by ID (text, author, channel, creation and edit time, thread root, attachments) |
mattermost_edit_post | Replace the text of an existing message and return id, message and edit_at |
Posts with attachments in mattermost_get_channel_history and mattermost_get_thread_replies (including root_post) include file_ids and files (id, name, extension, size, mime_type, and width/height for images). Posts without attachments have neither field.
mattermost_edit_post takes post_id and message. Mattermost marks an edited post as "Edited" for everyone in the channel. Only the post author or a user with permission to edit others' posts can edit it: a 403 returns the server text with that hint, and other errors (for example 400 when the edit time limit has passed) return the server text as is. Both tools reject a post_id that is not a 26-character Mattermost id before sending any request.
| Tool | Description |
|---|---|
mattermost_get_file_info | Get metadata of an attached file (name, extension, size, MIME type, image size, post ID) |
mattermost_download_file | Download an attached file to the local disk and return its absolute path and metadata |
mattermost_download_file Optionsfile_id (required): The ID of the file, from file_ids or files of a postoutput_path: Where to save the file
mattermost-mcp/{file_id}_{name}/ or \: the file is saved inside it with its original name, missing directories are created~ expands to your home directory (~user is not expanded), relative paths are resolved from the server working directoryinline (default: false): Also return the image as MCP image content. Only image/png, image/jpeg, image/gif and image/webp up to 1 MB are returned inline; otherwise the response has inline_skipped_reasonExamples:
{ "file_id": "abcdefghijklmnopqrstuvwxyz" }~/Downloads and show a small image inline: { "file_id": "abcdefghijklmnopqrstuvwxyz", "output_path": "~/Downloads/", "inline": true }| Tool | Description |
|---|---|
mattermost_get_users | Get a list of users in the workspace |
mattermost_get_user_profile | Get detailed profile information for a user |
| Tool | Description |
|---|---|
mattermost_run_monitoring | Trigger topic monitoring immediately |
The server includes a topic monitoring system that can:
{
"monitoring": {
"enabled": true,
"schedule": "*/15 * * * *",
"channels": ["general", "random"],
"topics": ["important", "urgent"],
"messageLimit": 50,
"notificationChannelId": "optional-channel-id",
"userId": "optional-user-id"
}
}
# Run monitoring and continue server
mattermost-mcp --run-monitoring
# Run monitoring and exit (useful for cron jobs)
mattermost-mcp --run-monitoring --exit-after-monitoring
Your Mattermost API URL is typically: https://your-mattermost-domain.com/api/v4
teams/ — the ID is in the URLOr use the Mattermost API:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://your-mattermost.com/api/v4/teams
Missing required configuration:
- mattermostUrl (--url or MATTERMOST_URL)
- teamId (--team-id or MATTERMOST_TEAM_ID)
Make sure you've provided the Mattermost URL and team ID via CLI arguments, environment variables, or config file. The token is not required: without it the server uses browser sign-in.
Verify that:
To sign in as another user in browser sign-in, reset the session and call a tool again.
Error messages start with a code in brackets.
[BROWSER_INSTALLATION_FAILED]: the automatic Chromium download failed. The error contains the reason, for example a proxy or network error. Fix the reason and call the tool again. As a fallback, install Chromium manually once:
PLAYWRIGHT_BROWSERS_PATH=~/.config/mattermost-mcp/browsers npx playwright@1.63.0 install chromium --no-shell
When you run this command manually, a framed WARNING: It looks like you are running 'npx playwright install' without first installing your project's dependencies is expected and can be ignored.
If the error mentions an active __dirlock, another Chromium installation is still running, for example started by another client: wait for it and call the tool again. If no installation is running, the file stayed after a crash, and you can remove it with the command from the error text.
[BROWSER_SYSTEM_DEPENDENCIES_MISSING] (Linux): Chromium was downloaded but cannot start without system libraries. Install them once:
sudo npx playwright@1.63.0 install-deps chromium
[BROWSER_SANDBOX_UNAVAILABLE] (Linux): Chromium cannot start its sandbox, for example because unprivileged user namespaces are disabled or the server runs in a container without them. Enable the sandbox for your user if you can. Only if that is not possible, set MATTERMOST_MCP_DISABLE_CHROMIUM_SANDBOX=1 in the env of the MCP server entry and call the tool again.
[LOGIN_WINDOW_CLOSED], [LOGIN_TIMEOUT], [LOGIN_NOT_COMPLETED]: the window was closed, sign-in took longer than 5 minutes, or sign-in in another client ended without a session. Call the tool again to open the window.
[LOGIN_PROFILE_BUSY]: another Chromium window uses the sign-in profile. Close the other Mattermost sign-in window and call the tool again.
[AUTHENTICATION_REQUIRED] in monitoring logs: background monitoring does not open the sign-in window. Call any Mattermost tool to sign in.
[STATE_DIRECTORY_UNSAFE]: ~/.config/mattermost-mcp or one of its subdirectories is a symbolic link, is not a directory or belongs to another user, or ~/.config or your home directory belongs to another user or is writable by group or others. Fix it as the error text says (for example chmod go-w ~/.config) and call the tool again.
[REQUEST_CANCELLED]: the client cancelled the call, for example by its timeout, while the sign-in window was open. The request was not sent, so nothing was posted twice. Sign-in continues in the window, call the tool again after signing in.
MIT License
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Mattermost MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mattermost-mcp-conarti)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.
Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

A Telegram CLI with background sync that can run an optional MCP server for a personal account using MTProto, not the bot API.