Atlas / MCP servers / pvev / Mattermost

MattermostSAFE

mcp/pvev/mattermost

Mattermost MCP server to enable Claude to interact with Mattermost Workspaces

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
9 6r · 3w · 0d
Transport
stdio
License
—
Stars
43
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

MCP Server for the Mattermost API, enabling Claude and other MCP clients to interact with Mattermost workspaces.

Features

This MCP server provides tools for interacting with Mattermost, including:

Topic Monitoring

The server includes a topic monitoring system that can:

  • Monitor specified channels for messages containing topics of interest
  • Run on a configurable schedule (using cron syntax)
  • Send notifications when relevant topics are discussed
  • Mention you in a specified channel when topics are found

Channel Tools

  • mattermost_list_channels: List public channels in the workspace
  • mattermost_get_channel_history: Get recent messages from a channel

Message Tools

  • 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

Monitoring Tools

  • mattermost_run_monitoring: Trigger the topic monitoring process immediately

User Tools

  • mattermost_get_users: Get a list of users in the workspace
  • mattermost_get_user_profile: Get detailed profile information for a user

Setup

  1. Clone this repository:
git clone https://github.com/yourusername/mattermost-mcp.git
cd mattermost-mcp
  1. Install dependencies:
npm install
  1. Configure the server:

The repository includes a config.json file with placeholder values. For your actual configuration, create a config.local.json file (which is gitignored) with your real credentials:

{
"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
}
}

This approach keeps you

Read from source at commit 991c20637b28OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mattermost-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mattermost-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (9)

6 read · 3 write · 0 destructive.

ToolRiskDescription
mattermost_add_reactionwriteAdd a reaction emoji to a message
mattermost_get_channel_historyreadGet recent messages from a Mattermost channel
mattermost_get_thread_repliesreadGet all replies in a message thread
mattermost_get_user_profilereadGet detailed profile information for a specific user
mattermost_get_usersreadGet a list of users in the Mattermost workspace with pagination
mattermost_list_channelsreadList public channels in the Mattermost workspace with pagination
mattermost_post_messagewritePost a new message to a Mattermost channel
mattermost_reply_to_threadreadReply to a specific message thread in Mattermost
mattermost_run_monitoringwriteRun the topic monitoring process immediately
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, node-cron, node-fetch, @types/node, @types/node-cron, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-08 · audit v0.4.1 · source sha 991c20637b28full audit observations/trust-audit/mcp-server/pvev__mattermost.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08991c20637b28SAFEB89first audit
06

Questions

What is the Mattermost MCP server?

Mattermost MCP server to enable Claude to interact with Mattermost Workspaces

What tools does Mattermost expose?

9 in total: 6 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Mattermost safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Mattermost need?

No credential environment variables were found in its source, so it appears to need none.

How does Mattermost run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mattermost-mcp at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (991c20637b28), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement