Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Mattermost Host MCP server

by jagan-shanmugam/mattermost-mcp-hostMIT licenceAudited 8 Oct 2026 · source 2d4fd778af51

PyPI mattermost-mcp-hoststdio★ 34
✕BLOCKGrade D · 69/100 · 8 Oct 2026 · 2d4fd77

Is it safe? No — BLOCK, grade D (69/100). It exposes 10 tools: 7 read, 3 write and 0 destructive. The audit recorded 6 findings (0 critical, 1 high, 0 medium, 0 low). Maintainer's description: A Mattermost integration that connects to Model Context Protocol (MCP) servers, leveraging a LangGraph-based Agent.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Mattermost Host MCP server (jagan-shanmugam/mattermost-mcp-host)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/jagan-shanmugam/mattermost-host

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at src/mattermost_mcp_host/agent/tools.py:19. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score69/100✕BLOCK D
0 critical1 high0 medium0 low5 info

6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (6)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/mattermost_mcp_host/agent/tools.py:19
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
result = eval(expression, {"__builtins__": {}}, {"abs": abs, "round": round, "max": max, "min": min})
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
INFOInventory / provenanceinv.oversize · demo/demo-1.gif
F-13 Inventory / provenanceCWE-1104Layer L0
demo/demo-1.gif
Why
35554088 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · demo/demo-2.gif
F-13 Inventory / provenanceCWE-1104Layer L0
demo/demo-2.gif
Why
12081292 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · demo/demo-3.gif
F-13 Inventory / provenanceCWE-1104Layer L0
demo/demo-3.gif
Why
9204181 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · README.md:145
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Save the access token in the .env file
Why
asks the agent to read credentials
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:58
F-08 Supply chainCWE-829 · CWE-1357Layer L2
# curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

10 declared in source · 0 destructive

7 read3 write0 destructive
ToolWhat it doesRisk
add-reactionAdd a reaction emoji to a postwrite
create-project-channelCreate a new channel for a projectwrite
post-messagePost a message to a Mattermost channelwrite
chatChat with Ollama modelread
echoEcho a messageread
generateGenerate text using Ollamaread
list_modelsList all available models from Ollamaread
pin-important-messagePin an important message in a channelread
reverseReverse a messageread
search-postsSearch for posts with specific keywordsread

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 2d4fd778af51

Questions about Mattermost Host MCP server

What is the Mattermost Host MCP server?
A Mattermost integration that connects to Model Context Protocol (MCP) servers, leveraging a LangGraph-based Agent.
What tools does Mattermost Host expose?
10 in total: 7 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Mattermost Host safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Mattermost Host need?
It reads AZURE_OPENAI_API_KEY and MATTERMOST_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Mattermost Host run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mattermost-mcp-host.
How current is this page?
The grade is for one exact copy of the source (2d4fd778af51), read on 2026-10-08. The repository is watched and re-audited when it changes.
I already installed Mattermost Host. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.